Here’s a new design idea I’ve been working on for Cashu wallets to simplify multimint payments. Instead of manually entering amounts, users can set percentage allocations for each mint, and the wallet automatically manages future LN payments according to the allocation.

Users first set their target ratios for each mint, and the wallet then performs an initial multimint swap to balance the funds according to the distribution. Going forward, users won't have to enter manual payment amounts every time they make a payment.

From here on traditional LN payment UX takes over. The wallet handles all the payment calculations and adjustments in the background. What do you guys think?https://m.primal.net/JlaC.mp4

Reply to this note

Please Login to reply.

Discussion

Can't see on amethyst :(

TIL cashu has a discord

This looks really nice, hadn't thought about doing swaps like that. Would the process be automatically balancing between your chosen percentages on a regular basis (say, each time you make a deposit) or only when manually triggered?

My vision is to have this automatically happen every time you make a payment. So either ecash or lightning. Ecash tokens would be sent from your default / mint and then a mutlimint swap would be done in the background to balance everything.

That's cool 😎

Multi mints are nice 👍

One of the most powerful features imaginable.

Trying to grok multimint payments, mint funds allocations, and edge cases where a user wants to delete a mint that has already been assigned an allocation. To quote Satoshi, it's bloody hard, there's nothing to relate it to!

nostr:note1u7ea54en4ygetwua83fajpaz88kslcp0reyqfav27gc4dk7d34tqrstl87