Thursday, December 26, 2024

Find out how to go about performing bill era / cost processing with lightning community?

I’m inquisitive about implementing a micro-transaction “paywall” that may permit nameless customers entry to an internet software 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 cost that may grant entry for that exact session.

My query is, what number of invoices can realistically be monitored with SubscribeSingleInvoice earlier than this might 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 like that might be a nasty scene… Although I’d 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 timeframe, they’re most 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 facet query is, to do that, is it actually essential to run a bitcoind backend? I used to be studying about neutrino, and noticed LND enables 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 potential to make use of neutrino for this in order that my app can have much less of a heavy infrastructure footprint?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles