pull down to refresh

Hey all! Anybody know of a way to dynamically generate BOLT-11 invoices?

LNURL. This is what lightning addresses are based on.

Or did you mean something else?

reply

Hmmm, oh yeah. So is there a way to do this with a fixed amount? I keep trying to create one that’s exactly 100 sats and then the next time I go to pay it, it treats it like it was a single invoice.

reply

Use AMP invoices if you run LND. So you can create a reusable invoice with a fix amount.

https://docs.lightning.engineering/lightning-network-tools/lnd/amp

Also as ek mentioned, you can use LNURL with a fix amount too. In LNbits create paylinks for that. You can use these extensions:

reply