No, the users themselves are unknown to the service. No need to exchange between them, you can swap the tokens with the mint anytime.

You either deal with change, you get some strange credits or you have overhead.

But you can also stream cashu tokens without change, that also works. But a bit of unnecessary overhead for the mint.

Reply to this note

Please Login to reply.

Discussion

That's fair, but it doesn't seem like a huge improvement with respect to the current situation where accounts are psuedonymous and cost nothing to create. And it does introduce new problems.

How would streaming work? Afaik the cost is known after the request is done

Websocket - pay for the next 100 tokens (send a prepared string), get next 100 tokens, pay for the next 100 tokens (send another prepared string), get next 100 tokens.

Or 10 or whatever.

But send and get change is basically acountless what you have. A little trust in the provider (same as with account model) and get refunded for not used credits.

Nothing to store at the server.