<p>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.</p>

CC BY-SA 4.0
2022-01-14T15:55:08.027Z
Thanks to your answer, I found the following link which provides more information about how lightning invoices are generated: https://docs.lightning.engineering/the-lightning-network/lightning-overview/understanding-lightning-invoices and https://github.com/lightning/bolts/blob/master/11-payment-encoding.md
Tenders McChiken
CC BY-SA 4.0
2022-01-14T06:28:27.680Z
2022-01-14T06:28:27.680Z
ieatpizza
<p>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.</p>
<p>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.</p>
<p>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.</p>

<lightning-network><invoices><merchant-services>
Is it possible to generate a pool of lightning transaction invoices in advance?
Tenders McChiken
# Is it possible to generate a pool of lightning transaction invoices in advance?

(Asked by: username_0 on 2022-01-13)

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.

**Tags:** lightning-network, invoices, merchant-services


---

## 1 answers

### Answer by username_1 on 2022-01-14. Score: 1 | Accepted answer

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.

> **Comments:**
> **username_0**: Thanks to your answer, I found the following link which provides more information about how lightning invoices are generated: https://docs.lightning.engineering/the-lightning-network/lightning-overview/understanding-lightning-invoices and https://github.com/lightning/bolts/blob/master/11-payment-encoding.md  

---

