-
Notifications
You must be signed in to change notification settings - Fork 952
Description
Ideally, I would like clightning to have very simple watch tower capabilities.
The use case I have in mind has quite simple UX:
Merchant A knows Merchant B:
Merchant A share his watch tower endpoint (URI exposing a REST API made by BTCPAY) to Merchant B.
Merchant B can then configure his store to send watch information after every lightning payment received to the store. (Merchant B don't have to care to send watch information when he spends the money)
BTCPay would just relay this information to the underlying clightning instance.
Note that my case is quite simple: Merchant A knows Merchant B beforehand so no need of "discovery protocol". There is also no need of P2P level protocol at clightning level, as BTCPay is the one exposing the REST endpoints. Only things needed is a RPC method at clightning level to do this.