Replying to Avatar jb55

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.

Avatar
Lostdog 1y ago

Sounds like that might fix Lightning's incoming liquidity requirement? (and horrible UX as a result)

Reply to this note

Please Login to reply.

Discussion

Avatar
jb55 1y ago

fix might be strong word here. This is quite complex on its own. Maybe though! Still wrapping my brain around how this would work.

Thread collapsed