I think it would be nice if the "request-invoice" or "donations" plugin could act as a payRequests callback (see this diagram). This would make it possible to accept donations on a user@domain.tld lightning address with only c-lightning and no additional software.
It's a very minimal JSON-based protocol, wouldn't add much to the complexity. Basically: implementing step 5 and 6 of lnurl spec 06. In addition to an amount the callback can also get a comment parameter (see lnurl spec 12), it would be useful to store this with the invoice somehow.
(Possibly there is already a solution for this, but couldn't find anything in this repo in a quick search)
Edit: Might actually be better to add this to request-invoice? It seems it's already similar enough.
I think it would be nice if the "request-invoice" or "donations" plugin could act as a payRequests callback (see this diagram). This would make it possible to accept donations on a
user@domain.tld
lightning address with only c-lightning and no additional software.It's a very minimal JSON-based protocol, wouldn't add much to the complexity. Basically: implementing step 5 and 6 of lnurl spec 06. In addition to an
amount
the callback can also get acomment
parameter (see lnurl spec 12), it would be useful to store this with the invoice somehow.(Possibly there is already a solution for this, but couldn't find anything in this repo in a quick search)
Edit: Might actually be better to add this to request-invoice? It seems it's already similar enough.