Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Recurring Payments #447
Does a standard for recurring payments belong here?
I think lnd can be made to support recurring payments by issuing macaroons with permissions to spend in the future. I think we should avoid a dependency on macaroons for BOLTs if they aren't already.
Is there an existing work stream in this direction?
Recurring payments should work with discrete log payments (eg. scriptless scripts), and I've been toying with the idea of a bolt11 extension for 1.1. There are questions over whether we should allow specification of oracles for exchange volatility, but that may be trying to boil the ocean...
Adding this to the "someday" milestone since we need to first figure out a number of things. For once we need to agree on a format to specify recurring payment times.
Additional feedback from users is encouraged to better define the use-case and the requirements that this feature should consider.
referenced this issue
Aug 20, 2018
For https://satsbacker.com, a lightning subscription/donation service I'm working on, all I would need is a way to do recurring spontaneous payments. Perhaps a clightning/lnd plugin that does this automatically.
The initial bolt11 could include what data needs to be encrypted in each spontaneous payment (account id, etc), and how often it should be sent.
The node could execute this spontaneous payment automatically until cancelled.