Oddbean new post about | logout
 This plugin intercepts the CLN createinvoice RPC command and replaces the invoice with a cashu ecash mint invoice in case the inbound liquidity is too low to receive the payment directly.

Once enough satoshi are collected a lightning channel will be requested from a specified Lightning Service Provider (LSP).

This way new CLN users can instantly receive small payments, even if no funds to purchase a channel are available upfront. If inbound liquidity is depleted again and no automatic swapping mechanism is set-up the plugin will also help to automatically get new inbound channels from the LSP.