nullcount / rain

Evaporate stagnant liquidity from source nodes and condensate to sinks. Make it rain.
MIT License
2 stars 5 forks source link

decode Muun invoices #35

Closed nullcount closed 1 year ago

nullcount commented 1 year ago

Even nodes with a direct channel with Muun node will pay a rooting fee when paying Muun wallet invoices.

Muun invoices have routing hints for possible private channels the node can use and their fees.

Before paying a Muun invoice in an automated way, we should decode the invoice verifying the fee is expected.

See https://lightingdecoder.com

nullcount commented 1 year ago

https://api.lightning.community/#decodepayreq