Module offers

Source
Expand description

Implementation of Lightning Offers (BOLT 12).

Offers are a flexible protocol for Lightning payments.

Modules§

async_receive_offer_cache
Data structures and methods for caching offers that we interactively build with a static invoice server as an async recipient. The static invoice server will serve the resulting invoices to payers on our behalf when we’re offline.
flow
Provides data structures and functions for creating and managing Offers messages, facilitating communication, and handling BOLT12 messages and payments.
invoice
Data structures and encoding for invoice messages.
invoice_error
Data structures and encoding for invoice_error messages.
invoice_request
Data structures and encoding for invoice_request messages.
merkle
Tagged hashes for use in signature calculation and verification.
nonce
A number used only once.
offer
Data structures and encoding for offer messages.
parse
Parsing and formatting for bech32 message encoding.
refund
Data structures and encoding for refunds.
static_invoice
Data structures and encoding for static BOLT 12 invoices.