Learn how to go about performing bill era / fee processing with lightning community?

0
79


I’m inquisitive about implementing a micro-transaction “paywall” that may permit nameless customers entry to an online utility that I’m constructing. Every distinctive go to to the house web page of the applying would set off an api name that may generate an bill for that particular session and current the person with a QR code for them to make a fee that may grant entry for that specific session.

My query is, what number of invoices can realistically be monitored with SubscribeSingleInvoice earlier than this may be an issue? Like if 100,000 individuals concurrently visited the app, that might be 100,000 distinctive invoices generated and subscribed to… Which looks as if that may very well be a nasty scene… Although I might be setting these invoices to run out some-what shortly, like 5-10 minutes, assuming in the event that they have not paid inside that time-frame, they’re probably not going to be paying in any respect.

Are there any good tutorials to suggest for organising a paywall like this? I’ve been googling and googling and probably not discovering something helpful…… And the lightning documentation is a bit imprecise and missing specifics.

Additionally, a aspect query is, to do that, is it actually essential to run a bitcoind backend? I used to be studying about neutrino, and noticed LND helps you to use that as a backend.. Since I’m solely inquisitive about producing invoices and microt-ransactions and detecting once they have been paid, is it attainable to make use of neutrino for this in order that my app can have much less of a heavy infrastructure footprint?

LEAVE A REPLY

Please enter your comment!
Please enter your name here