Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 17
Generated: 02:39:09
Login to reply

Replies (17)

If wallets implement this, it is nearly unstoppable. The event stores the money itself! It only redeemable by the owner of the public key. But there is a lock time condition, as well: if the owner doesn’t claim the ecash, you can refund to yourself after a time. All of this happens without touching LN. Cashu is Wallet of Satoshi on STERROIDS.
2023-11-24 16:47:43 from 1 relay(s) ↑ Parent Reply
It took a bit to build but now all the pieces are there in the protocol: - P2PK that allows you to mint ecash that only the owner of an npub can spend [1] - DLEQ proofs that allow *anyone* to check if the ecash that is publicly posted is signed by the mint public keys [2] With this, we could do the following: - Alice posts something nice on nostr - Carol has a nostr client with Cashu support. Carol takes 100 sats of ecash and locks it with P2PK to Alice's npub. - Carol now has ecash locked to Alice and DLEQ proofs (it's all inside the ecash token). - Carol zaps Alices nostr post by simply replying with the ecash (using a special nutzap kind) - Alice sees that she received ecash that only she can spend. - Dave, another nostr user sees Alice's post and Carol's ecash. Dave checks with the DLEQ proof if the ecash is valid and the P2PK lock is indeed Alice's npub. If so, Dave's client displays "100 sats zapped from Alice to Carol" [1]: https://github.com/cashubtc/nuts/blob/main/11.md [2]: https://github.com/cashubtc/nuts/blob/main/12.md
2023-11-24 16:48:50 from 1 relay(s) ↑ Parent 5 replies ↓ Reply
Risk profile is roughly the same. With Cashu, you can have offline payments and superior privacy as you said, but also a totally open transparent standard developed in the open, interoperable mints, etc
2023-11-24 17:05:52 from 1 relay(s) ↑ Parent Reply
You have to handle - cryptography - communication with a central server - UI - ... vs user choses any external app he likes. The latter is clearly simpler. A protocol to ask external wallet for cashu-zaps could partially solve it but there's still the added complexity of parsing and validating new kinds of events.
2023-11-25 14:46:31 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
Yes, that. To succeed we need to keep theAPI accessible. Having great libraries can help but only TypeScript is not going to cut it. I suspect we'll need more of the performance focused languages as nostr is very heavy.
2023-11-27 08:49:42 from 1 relay(s) ↑ Parent Reply