Lightning Network client implementation for the Exact payment scheme.
Pays BOLT11 invoices using a Lightning node and returns the payment preimage as proof of payment.
Note: The scheme is 'exact' because Lightning payments are always for the exact invoice amount.
Creates a new LightningScheme instance.
The Lightning signer for client operations
Readonly
Creates a payment payload for the Lightning scheme.
The t402 protocol version
The payment requirements
Promise resolving to a payment payload
Lightning Network client implementation for the Exact payment scheme.
Pays BOLT11 invoices using a Lightning node and returns the payment preimage as proof of payment.
Note: The scheme is 'exact' because Lightning payments are always for the exact invoice amount.