If I had some free time, I would build a service that facilitates atomic swaps of ecash from one mint to another. Something like a broker, let's call him Charlie.

- Users Alice use mint A, Bob uses mint B

- Bob wants to pay Alice but doesn't have ecash from mint A

- Bob discovers that Charlie holds a balance on mint A and mint B

- Charlie offers to swap from B to A for a 0.5% fee

- Bob agrees, atomically swaps coins from B for coins form A

- Bob sends Alice coins from A

Charlie obviously announces himself, the mints he supports, and his contractual conditions, on Nostr. That's also how Bob discovers him.

Reply to this note

Please Login to reply.

Discussion

Might be a good #NutNovember project idea

Sound complicated. Why don’t they all just use Bitcoin?

they already use Bitcoin and this is definitely less complicated.

Compared to LN where any user can send sats over any other channel it seems like a regression. Sounds like this case equates to many smaller networks that aren’t interoperable, and therefore need an intermediary swap between to be able to send sats amongst all users of various mints?

I say this as a non technical user who still does not quite understand the use case or need of ecash vs LN.

Except sending sats offline is pretty neat, but I can also do that with a bolt card for example.

Why the fuck would the fee be 0.5%? Try 0.05% for providing a next to costless and automated service but zero economic value.

Stop trying to rebuild an old economic extortion system.

The point is Charlie can choose the fee he wants to charge and Bob has a choice to pay the fee or use an alternative method.

When everyone has a choice the market will find the answer.

inb4 we create settlement networks 😂

any particular reason why they wouldn't use lightning? it would only make sense if this would be cheaper than LN since there is no real cost in updating the balances on each side

Yeah you can do it right now by Bob paying Alice a LN invoice.

I don't see the utility of such swap service.

The only use case I see is when both mints are in the same wallet (Alice only want to rebalance her mints) and you want to move funds from one mint to another, without a 3rd party.

yes that's what we already do this with lightning, doesn't need to be built :)

yes it would probably be cheaper and definitely faster and more robust, and doesn't require channels.

You want an ecash central bank