This is huge and completely redefines the landscape on Cashu v fedimint All your eggs spread across many baskets that can be used in concert, or all your eggs in one big basket protected by multiple entities? In Cash, one mint rugging means you lose all that is on this mint, but only that. On Fedimint you lose nothing until a majority of guardians rug, in which case in you lose everything. Now that both approaches achieve the same level of practicality, the determing factor is your threat model. And that's great 🔥
calle's 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. 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 @npub1u07x...ez97.
View quoted note →

Replies (7)

Fantastic 😍
Fanis's avatar Fanis
This is huge and completely redefines the landscape on Cashu v fedimint All your eggs spread across many baskets that can be used in concert, or all your eggs in one big basket protected by multiple entities? In Cash, one mint rugging means you lose all that is on this mint, but only that. On Fedimint you lose nothing until a majority of guardians rug, in which case in you lose everything. Now that both approaches achieve the same level of practicality, the determing factor is your threat model. And that's great 🔥 View quoted note →
View quoted note →
Machu Pikacchu's avatar
Machu Pikacchu 7 months ago
Since Fedimint works with a single lightning gateway it has a single point of failure, so the Cashu model is might be strictly better? Unless there’s been progress on that front with Fedi?
Machu Pikacchu's avatar
Machu Pikacchu 7 months ago
To clarify, the gateway operator can unilaterally restrict flow of funds right? For example they could go offline or lose keys independent of what the guardians do. I haven’t kept up with progress on Fedi in a long time so I could be way off base; not trying to spread misinformation.
WaterBoy's avatar
WaterBoy 7 months ago
You can withdraw onchain from fedimints which is not supported in cashu I believe.
WaterBoy's avatar
WaterBoy 7 months ago
Also a federation can have multiple lightning gateways. Users select which gateway to use.
Machu Pikacchu's avatar
Machu Pikacchu 7 months ago
That’s good to know, thanks! So each guardian could run a gateway then? If one went down then the federation would be running fractional reserve until that gateway came back online?
WaterBoy's avatar
WaterBoy 7 months ago
The gateways are separate from guardians. I believe the guardians must approve the gateways for their federation but anyone can run a gateway. The gateways are coded in such a way where the guardians and users never have custodial risk with the gateway. I've learned a lot about fedimint from this guide: