#invoice #lightning #lnp-bp #bitcoin #rgb

bin+lib lnpbp-invoice

LNP/BP universal invoices library implementing LNPBP-38 standard

9 unstable releases (4 breaking)

0.9.1 Mar 21, 2023
0.9.0 Feb 6, 2023
0.9.0-rc.1 Dec 27, 2022
0.8.0-rc.2 Dec 21, 2022
0.1.0 Mar 19, 2021

#11 in #invoice

48 downloads per month
Used in 2 crates

MIT license


LNP/BP Invoice Library

Library providing functionality for doing universal invoices covering Bitcoin, Lightning Network and RGB (on-chain and LN) according to LNPBP-38 standard. Supports address-, UTXO-, channel-, miniscript-descriptor- and PSBT-based invoices with such features as:

  • Paying arbitrary amounts (donations etc)
  • Recurrent payments
  • Per-item prices with multiple item orders
  • Expiration dates
  • Currency exchange rate requirements
  • Extended information about merchants, invoice details etc
  • Optional merchant signatures

Read more on this invoices in slides or watch YouTube recording of one of LNP/BP Association development calls discussing universal invoices.


~413K SLoC