Ecash has different scaling properties than normal ledger-based payment systems. Let me explain how a single mint can support peak volumes of millions of transactions per second.

Imagine a VPN service where users mint ecash and pay-per-use instead of pay-by-account (privacy!).

User pays 10k sats to a mint and acquires 10,000 x 1 sat tokens locked to the VPN provider's pubkey. This might take a second or two.

Once locked, the user could stream these tokens to the VPN provider for every kb of data they use.

Once the the provider checks the incoming token's signature, they can be sure that it can't be double-spent! They can remain offline (no round trip with the mint) and do this thousands of times per second (CPU-bound).

End of week, the VPN provider unlocks the ecash and redeems.

Now, this was one user with one provider. The mint didn't even notice the payments. In theory, the same mint could do this for 100s of providers with 1000s of users.

All it does is sign tokens (lock) and redeem them later (unlock). It's not involved in the payments themselves.

Note that this works because the burden of validation is shifted from the server (mint) to the user (VPN provider) at time of payment.

Also, since eventually all tokens need to be minted and redeemed at some point, the above only holds for peak volumes and not for average tx/s.

Reply to this note

Please Login to reply.

Discussion

we need to decentralize this innovation fast and build in easy onion network routing

This is something I have been given it some thought for things like video encoding. Twitch for example has a huge cost problem in terms of bandwidth it could be interesting to see a p2p network of local encoders distribute video streams locally and get paid for it either by the users or twitch themselves. All paid for and settled behind the scenes with ecash.

Is it possible for someone to create an ecash that LOOKS like it is hash-locked when in reality the mint doesn't support this feature?

that looks like it yes, that is also why the spec says that you need to check what each mint supports

Indeed!

Sure, neat normos get 1% of that.

1% of them get financial / opsec gain.

And VPN ops all drains in vain.

Do The do ie UI and UX

This is the best use case for all lightning/Bitcoin gift cards.

The same *gift card* could be sent and “redeemed” as long as the issuer wants.

It’s like a bank note that can only be redeemed at that bank. Old state bank currencies were like this.