Replying to Avatar calle

Holy shit it's working! Paid a 100k sats Lightning invoice from two different Cashu mints at the same time.

Enter atomic multinut payments.

https://video.nostr.build/935d5c453c00ae7498be116b9c4d4b358d326854fd7cf19ebfa782f69a575a6c.mp4

All Cashu wallets let you use multiple mints. To reduce rug risk, we encourage users to leave only small amounts on each mint. This introduces a big UX challenge which forces users to distribute funds on different mints in a smart way. It's particularly problematic when you're trying to pay a bigger Lightning invoice from your small balances. Who has time for that?

The Lightning protocol allows nodes to split a single payment HTLC into multiple parts to increase the chance of reaching the destination, called Multi-Path Payments (MPP). Typically, that's done from one sender to one receiver. What if... you can just break the rules?

A multinut payment originates from multiple Lightning nodes to pay a single invoice, atomically. Even if none of your mint balances can cover an invoice, as long as your total balance is large enough, you can pay the invoice.

I don't think anyone was crazy enough to do this before. Pretty sure what you see here is the first invoice being paid using a CLN and an LND node at the same time. Amazing work by the team, special thanks to nostr:nprofile1qqsw8lr88lzln8x92ng073m4v72kglf9edhxvk8eztg3ftny98f46dgpz4mhxue69uhkummnw3ezummcw3ezuer9wchsz9mhwden5te0wfjkccte9ehx7um5wghxyctwvshsz9mhwden5te0wfjkccte9ec8y6tdv9kzumn9wshsk9y93w.

https://video.nostr.build/b9e330fbe21a772c0525ae2fceedaa99a90b8512a501c1f1d3263eac1d55219a.mp4

I need an ELI5, anyone ?

Reply to this note

Please Login to reply.

Discussion

Sure, ecash was meant to be used in small payments or for small amounts usually to be used without fees at the sacrifice of you needing a custodial for your balance (the mint) thus it is recommended to have small balances on these mints.

Lighting on itself was meant to be non-custodial therefore incentivizing a higher capacity for sats on it, it has small fees, but comes with the headache of managing and rebalancing channels.

So what its shown here is that if you have balance split among multiple mints, you can use this balance from them to pay a single invoice in lightning, thus reducing the risk of being rugged by the total amount by a single mint custodian, and not having to manage a lighting node to make big and fast payments.

ohhh nice, this is a big improvement then. Thank you for your explanation kind sir.