mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-08 08:26:17 +00:00
Update 13_4_Paying_a_Invoice.md
This commit is contained in:
parent
971eb28bc8
commit
eaed136c67
@ -6,7 +6,7 @@
|
||||
|
||||
Almost all payments made on the Lightning Network require an invoice, which is nothing more than a request for payment made by the recipient of the money and sent by different means to the user who will pay. The format for a Lightning invoice uses bech32 encoding, which is already used for Bitcoin Segregated Witness and all payment requests are single use.
|
||||
|
||||
Invoices have two parts:
|
||||
An invoice is made up of two parts, one is human readable and other is
|
||||
|
||||
- Human readable part: `ln` + (`lnbc` for Bitcoin mainnet, `lntb` for Bitcoin testnet, and `lnbcrt` for Bitcoin regtest) + data amount
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user