What is Nostr?
tank / Tankred Hase
npub1xyd…n6n2
2025-01-15 10:20:16

tank on Nostr: I’ve been considering integrating Cashu or Fedimint to support <1000 sat payments ...

I’ve been considering integrating Cashu or Fedimint to support <1000 sat payments in StashPay. But where I get stuck is that it would probably require displaying two balances. Not only do Liquid and Ecash have different trust/auditability properties. I’m not sure there is a good solution to managing dust amounts in both an ecash mint and a Liquid wallet. The resulting UX would likely be worse.

A solution to integrate all of these into a single mobile app might be to integration each into a bluewallet card. Then allow users to do zaps with their ecash wallet that connects to a lightning address. Medium sized lightning payments (over 10k sats) could be done from their Liquid wallet to save on fees. Then an on-chain wallet could be used for savings. Blue already has many great options like multi-sig. All these wallets could be connected internally via submarine swaps to manage balances in each.
Yeah, both have their strengths. ecash is better for smaller payments like zaps.

Lightning/liquid swaps are cheap enough for medium sized payments though. I’ve had lower fees with Boltz swaps for payments over 10k sats than fedimint.
Author Public Key
npub1xyd5ja34s4nk0l6urnh69wx9ep6uuxz2ujrkm2f8n6pfhgqa6y5s2xn6n2