1

When dealing with normal on-chain transactions, we can generate a large number of bitcoin addresses that can then be stored separately and used to receive payments at a later date.

I am aware that a lightning node must be reachable when a sender wants send a payment. I am also aware that reusing a lightning transaction compromises both older and newer transactions.

That said, I would still like to know if it is technically possible to generate a large pool of lightning invoices (to store on a server) in the same way normal bitcoin addresses can be generated.

1

No; unlike a Bitcoin address, Lightning invoices have a built-in timestamp and an expiration time. They also have information, such as the amount of Bitcoin (and sometimes routing information), that changes in an unpredictable fashion.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.