lightning community – Reusing LN invoices or producing them for another person


I’m engaged on an LN App that may be considered comparable as an tackle e-book, the place folks can save one thing (I am coming to that in a sec) related to their deal with and others can lookup an individual in that tackle e-book and ship them sats over Lightning.

Now I’m questioning find out how to implement that. In an on-chain App I might simply retailer BTC addresses and generate QR codes containing these addresses to show to tippers.

On the earth of Lightning although, afaik there is no such thing as a such factor as a receiving tackle and to obtain, the recipient has to create a recent and time-constrained bill each time, is that this right? Or does (as a substitute for invoices) a factor as a ‘receiving tackle’ exist?

I additionally considered having customers generate an bill as soon as and save & show that again and again, however they’re solely usable a single time, right?

So is there presently any option to implement what I’m making an attempt to do or is it not possible because of the nature of how LN invoices and transactions work?

I wish to guarantee that I understood all the things accurately, and in that case my fallback concept can be: If my server receives a tip request, it can notify the receiver e.g. by way of a messenger or so, have them ship again a LN bill after which ahead that to the tipper to pay. This is able to be my fallback concept in case the receiver mainly has to provoke the method of truly being tipped each time.

Supply hyperlink

Leave a reply