Love working with you Egge, it's an honour and privilege. Wishing you and yours a very happy new year π»
Merry Christmas Eve. May you find peace and joy, wherever you are and whatever you are doing.
Not really a pivot, just leaning into the βosβ of Nostrβ¦ Notes βand Other Stuffβ transmitted by relays.
Notes is the familiar hook, and decentralized social media is a vital piece of the puzzle.
But just being a twitter clone is leaving the bulk of Nostrβs unique superpowers hidden.
Exactly right. I tried to express that sentiment to fiatjaf earlier this year.
βClonesβ rarely win over the original. But Nostr wins because it is the social / identity / marketplace layer for Bitcoin... and a decentralised communications layer for countless other apps.
nostr:note1y3urgt2c4yuwnx2u80my9uuu0x4u9eyhstvycscxn7trgrcnfvtq2arfr3
You can read the draft specification for NUT-26 here:
https://github.com/cashubtc/nuts/pull/300
You can also play with P2BK (though don't be reckless).
P2BK Lock Tokens with Cashu NutLock:
https://nostrly.com/cashu-nutlock/
P2BK Unlock Tokens with Cashu Witness:
https://nostrly.com/cashu-witness/
or Cashu Redeem:
The beauty of P2BK is that it provides perfect privacy. Alice and Bob do not need to communicate at all to set it up - all Alice needs is Bob's public key.
The ecash is locked to totally unique blinded public key(s), keeping the receiver's identity private from anyone who views the ecash. This means tokens can be published securely in public.
The sender's identity is also protected, because Alice uses an ephemeral keypair to create the shared secret, and throws it away afterwards. All Bob needs is the ephemeral Public Key!

Now Bob can use the magic of ECDH... he takes his private key (p) and the ephemeral public key that Alice sent with the ecash (E), and he can calculate the SAME shared secret!
He can now use that shared secret to derive a private key to unlock the ecash.

Having calculated the shared secret and blinded the public keys using it, she then send Bob the ecash token, including the ephemeral PUBLIC KEY (E) that she created.

She then calculates a "shared secret" by point-multiplying her ephemeral private key (e) with Bob's public key (P). This gives a shared point (known as "Z").
Here's the magic... this shared point (Z) is the SAME as if she had multiplied her private key (e), Bob's private key (p) and the cryptographic Generator point (G).
But she calculated it using Bob's PUBLIC key.

She then generates a random, temporary keypair (Public Key: E, Private Key: e) known as her "ephemeral key pair".

To start with, Alice obtains Bob's public key (eg from his Nostr profile)...

The magic of ECDH is possible because a person's Public key (eg: NPUB) is their Private key multiplied by the curve base point G.
It's a calculation that simple to do, but pretty much impossible to reverse engineer.
In other words, you can easily calculate a public key (P) given its private key (p), but crucially, you can't calculate a private key from the public key!

Pay to Blinded Key (P2BK) uses Elliptic Curve Diffie-Hellman (ECDH) to establish a shared secret key over a public or insecure channel.
Here's how it works... in layman's terms.

The solution is to "blind" the public keys cryptographically, in a way that only the sender and receiver can reverse.

This makes it easy to link Proofs together, and removes privacy - especially if the Proof is linked to a long-lived public key, such as a Nostr NPUB.

"Pay to Public Key" (P2PK) is the standard way of locking ecash to one or more public keys.
The problem, however, is that these keys are visible in the ecash Proof by design.

Introducing "Pay to Blinded Key" (P2BK) for Cashu - an exciting privacy upgrade for creating P2PK locked proofs.
It's currently a draft specification - likely "NUT-26".
Here's a quick explainer thread π§΅

Like this one for nostr:nprofile1qqsr7acdvhf6we9fch94qwhpy0nza36e3tgrtkpku25ppuu80f69kfqpzdmhxue69uhhwmm59e6hg7r09ehkuef0qyd8wumn8ghj7urewfsk66ty9enxjct5dfskvtnrdakj7wnzptz π₯σ σ σ £σ σ ₯σ ²σ σ ’σ Άσ €σ σ ³σ Ίσ σ σ Έσ σ §σ σ ͺσ σ ¦σ Όσ ’σ ‘σ σ σ σ σ ₯σ σ σ σ ₯σ σ σ Ίσ σ σ Έσ ½σ ₯σ σ ’σ Άσ ͺσ σ ³σ ©σ ³σ σ σ σ σ σ ’σ σ ₯σ σ σ σ σ σ ’σ Άσ σ σ σ σ ²σ σ σ Άσ σ σ ±σ ²σ σ ²σ σ ΄σ §σ σ σ Άσ ·σ σ σ ³σ ΄σ σ ·σ Άσ σ ΅σ ·σ Άσ ͺσ σ σ ΅σ σ σ ©σ Ίσ σ ½σ σ ²σ Όσ Ήσ σ ¨σ §σ Ήσ σ ₯σ ¦σ σ σ Ύσ σ Ήσ σ σ σ σ σ ΅σ ‘σ ½σ ·σ σ ₯σ Ύσ σ Άσ σ ½σ σ σ €σ σ ’σ ½σ σ ½σ σ σ σ σ σ σ §σ σ σ σ ©σ σ σ σ £σ σ σ ½σ ’σ σ ͺσ σ σ Ύσ σ σ σ Ύσ σ σ σ σ σ σ §σ Ώσ σ σ σ σ ͺσ σ ’σ Ύσ σ ±σ ͺσ Ώσ ΄σ Ήσ ͺσ Ύσ ΄σ σ ‘σ Ύσ σ σ ₯σ Ύσ σ σ σ σ ©σ Ήσ £σ Ήσ σ σ σ σ ·σ ΅σ σ Ώσ σ Ήσ §σ ½σ σ Ύσ σ Ύσ ͺσ σ §σ σ ΄σ σ ‘σ σ ΄σ Ύσ σ Ύσ ͺσ σ σ σ σ σ σ Ύσ σ Ύσ σ Ύσ σ ±σ ͺσ σ σ σ ¨σ ½σ σ Ύσ σ Ύσ σ Ίσ σ σ ͺσ σ ‘σ Ώσ σ σ σ σ ΄σ ±σ ͺσ Ύσ σ σ €σ ½σ ͺσ σ σ ½σ σ ΅σ €σ ½σ σ ²σ σ ½σ ͺσ σ £σ Ύσ ’σ ΅σ £σ Ύσ ΄σ σ σ ½σ σ σ σ Όσ ³σ Ίσ σ σ σ σ ͺσ Ήσ σ σ σ σ ©σ Ίσ £σ σ ’σ Ύσ ’σ σ ·σ σ €σ σ σ Ήσ £σ Ήσ σ ΅σ £σ Ύσ σ ΅σ ₯σ Ύσ σ σ ¨σ Ύσ ΄σ ±σ σ σ σ ¨σ σ Ήσ σ Ίσ σ σ σ σ ₯σ σ ³σ Ήσ £σ Ήσ σ ±σ ©σ σ ’σ σ σ ½σ ·σ σ σ Ύσ ·σ σ §σ σ ΄σ σ σ σ ΄σ σ σ Ώσ σ σ £σ σ σ Άσ σ Ώσ ΄σ σ σ ½σ ͺσ ½σ §σ σ σ σ σ Ύσ σ σ σ Ύσ ͺσ σ ©σ σ ’σ ½σ €σ σ σ ±σ ’σ Ύσ σ σ £σ ½σ σ ²σ σ Ώσ ΄σ σ σ σ σ ²σ σ σ σ σ ¨σ σ ͺσ σ σ ½σ σ σ σ ½σ σ Ίσ σ σ σ ‘σ σ σ σ Ύσ σ Ήσ σ Ύσ ³σ €σ σ ₯σ σ §σ σ Ίσ Ύσ ΅σ ¨σ ¦σ σ ’σ σ σ σ »σ σ ͺσ »σ Έσ ©σ σ ±σ σ σ ΅σ »σ ¦σ σ ₯σ ’σ σ σ ΅σ »σ ‘σ σ £σ σ σ σ Άσ σ σ ’σ Άσ σ σ ³σ ΄σ Ήσ ¨σ σ σ ¨σ σ Ήσ ·σ σ Άσ ͺσ σ ©σ ©σ ͺσ Ύσ £σ σ ©σ £σ σ £σ ·σ Ύσ ₯σ Ίσ σ σ Ήσ Ώσ ‘σ §σ §σ §σ σ σ σ ₯σ ͺσ Ύσ σ Ύσ σ Άσ ͺσ σ ³σ ²σ ²σ σ σ σ σ €σ Όσ Ώσ σ σ σ ©σ ͺσ σ ©σ σ σ σ σ σ §σ §σ σ Ύσ ΄σ σ σ σ ¨σ ©σ σ ½σ Έσ Ήσ Ώσ £σ σ £σ σ ΄σ σ Όσ σ Άσ ©σ σ ³σ ³σ σ ’σ ¦σ »σ Όσ ₯σ σ ₯σ σ σ σ ·σ σ σ σ σ Ήσ ͺσ ¨σ ½σ σ σ ½σ Έσ σ ͺσ £σ ’σ σ Ύσ σ σ Ίσ ₯σ £σ σ σ σ σ ³σ ¨σ Ύσ σ σ σ σ σ σ σ σ £σ σ ²σ Άσ Άσ £σ σ σ ΄σ Ίσ σ σ ©σ Ήσ £σ σ ©σ Ίσ ₯σ σ ’σ ₯σ σ σ σ Ήσ ¦σ Ήσ σ ²σ σ Ύσ ΄σ ΅σ σ Ύσ σ ½σ €σ Ώσ ·σ Ήσ §σ σ σ σ ₯σ Ύσ ͺσ σ €σ Ύσ σ ½σ ͺσ Ύσ σ Ήσ ’σ ½σ σ σ ‘σ Ύσ ΄σ σ §σ ½σ ͺσ σ σ σ σ σ ₯σ ½σ ’σ ½σ ¨σ σ ’σ Άσ σ σ ·σ σ ₯σ ½σ σ Ίσ σ ½σ ’σ ΅σ σ Ύσ σ σ §σ ½σ ͺσ ²σ σ Ύσ σ ΅σ §σ ½σ σ ΅σ €σ ½σ ͺσ ±σ σ Όσ ³σ Ίσ σ σ σ σ σ Ήσ σ σ σ ½σ ΄σ Ήσ ͺσ σ σ σ £σ ½σ ·σ σ ’σ Ύσ σ σ ͺσ σ σ σ ’σ Ύσ ·σ ΅σ ₯σ σ ͺσ σ σ σ σ σ §σ ½σ ’σ Άσ σ ½σ σ Ήσ ͺσ σ σ σ ©σ σ σ ½σ £σ Ύσ σ σ €σ σ σ σ §σ ½σ ͺσ σ σ Ώσ ΄σ ½σ ’σ σ σ Ίσ σ Ώσ ΄σ ΅σ §σ σ σ ½σ €σ Ύσ ͺσ σ σ Ύσ ͺσ σ ‘σ σ σ Ήσ σ Ήσ σ §σ σ σ ·σ Άσ σ σ ©σ Ήσ ¦σ σ ‘σ £σ σ σ ·σ ©σ σ σ £σ σ σ σ σ σ σ Όσ ³σ Ήσ ¨σ Ύσ ͺσ σ ¨σ Ώσ σ σ ‘σ ½σ σ σ §σ Ήσ σ σ £σ σ ©σ Ίσ ©σ σ σ σ ‘σ σ σ σ σ Όσ ³σ Ήσ §σ ½σ σ Ύσ σ σ ͺσ ²σ σ Ύσ ΄σ σ σ ½σ ·σ σ ’σ Ύσ ·σ σ ’σ σ ΄σ σ σ Ύσ ’σ ΅σ ¨σ σ ͺσ σ σ σ ͺσ ½σ ͺσ ½σ ·σ σ ‘σ Ύσ ΄σ σ £σ σ σ σ ‘σ ½σ σ Ύσ σ Ώσ ·σ Ήσ §σ Ύσ σ σ σ Ύσ ͺσ Ήσ §σ σ σ σ £σ Ύσ ·σ ΅σ §σ σ σ σ σ ½σ σ ½σ ‘σ Ύσ ΄σ ΅σ ’σ σ ΄σ Ήσ σ σ σ ‘σ ©σ σ σ Άσ σ σ ³σ ΅σ ΄σ Ίσ σ €σ σ £σ σ §σ σ Ήσ €σ ³σ ½σ ©σ ΄σ ·σ ©σ σ σ σ σ σ σ Άσ σ Ώσ ΅σ σ σ ’σ σ σ §σ ΅σ ·σ ₯σ σ ·σ ²σ €σ ‘σ ©σ €σ σ σ σ »σ Ύσ σ σ σ σ σ ©σ ‘σ σ σ »σ €σ Άσ σ ©σ σ ’σ σ ½σ σ £σ σ σ Ίσ σ σ ₯σ σ σ ¨σ Άσ ΄σ §σ Ώσ σ σ σ ¨σ ΄σ ¦σ ©σ σ ·σ σ ₯σ §σ σ Όσ Άσ σ σ ‘σ σ σ σ ΅σ σ σ £σ σ ₯σ ₯σ σ ±σ ¦σ ‘σ σ ₯σ §σ σ §σ σ σ σ Ίσ ³σ ½σ Ίσ σ ±σ ₯σ ‘σ Άσ σ ¨σ σ σ ¨σ σ §σ £σ σ ¨σ »σ £σ £σ σ σ σ σ σ σ £σ σ σ σ σ €σ Όσ ΅σ ‘σ σ Ίσ ‘σ σ Ύσ σ ½σ σ ’σ σ »σ ’σ σ £σ σ σ ΄σ σ ͺσ σ σ ½σ σ ’σ ²σ £σ σ σ ±σ ͺσ σ ₯σ »σ ₯σ σ σ σ ΅σ ²σ σ σ Ύσ ₯σ ±σ σ σ σ Ήσ σ ±σ ©σ σ ΅σ £σ σ Όσ Έσ £σ σ σ σ ©σ ₯σ σ ’σ σ σ Ώσ σ Ήσ σ σ ’σ σ §σ σ ͺσ σ σ Ύσ ͺσ σ ‘σ σ σ Ήσ §σ σ ’σ σ σ σ σ σ §σ Ύσ σ Ήσ σ σ ͺσ σ ’σ Ώσ ΄σ σ ©σ ½σ ͺσ σ σ Ύσ σ σ σ ½σ σ σ ͺσ Ύσ σ ½σ £σ Ύσ σ ΅σ ’σ Ύσ σ Ίσ σ ½σ ΄σ σ σ σ σ σ ‘σ σ σ ΅σ ₯σ σ σ σ ‘σ σ σ σ ‘σ σ σ σ €σ Ήσ σ §σ σ σ ·σ Άσ σ σ σ Ήσ ¦σ Ήσ σ ±σ ©σ ½σ ’σ σ £σ Ύσ ͺσ ²σ σ Ύσ σ σ σ ½σ ’σ ΅σ £σ Ύσ σ σ σ Ώσ σ ½σ ‘σ σ ’σ Ήσ ‘σ ½σ ΄σ Ύσ σ σ σ ΅σ ©σ ½σ ’σ σ ’σ ½σ σ σ σ Ύσ ͺσ σ ₯σ Ώσ ·σ Άσ σ ½σ ΄σ ½σ ‘σ σ ΄σ σ ͺσ Ύσ σ σ ©σ σ σ σ ¨σ ½σ ·σ σ ͺσ Ώσ ΄σ σ £σ σ σ σ σ Ύσ σ Ήσ ©σ Ύσ ³σ Ήσ £σ Ήσ σ σ σ σ £σ ½σ σ Ώσ σ €σ σ Ήσ σ ¨σ ¦σ σ ’σ €σ σ σ σ ‘σ σ Ήσ σ §σ σ ½σ σ σ ’σ ½σ σ σ ‘σ Ύσ σ ΅σ σ ½σ ³σ Ίσ σ Όσ Άσ £σ σ σ σ σ σ σ σ ₯σ σ Ήσ σ §σ σ ½σ ΄σ Ίσ σ σ σ ½σ §σ σ σ σ σ σ ΄σ ²σ σ Ύσ σ σ σ Ύσ σ σ ₯σ σ ΄σ σ σ ½σ σ ½σ €σ Ύσ ·σ ½σ ͺσ ½σ ͺσ ²σ σ Ύσ σ σ ’σ Ύσ ’σ σ £σ Ύσ σ Ίσ σ σ ͺσ σ σ ½σ ΄σ σ ‘σ σ σ σ ©σ ½σ ·σ σ €σ Ύσ ͺσ σ σ ½σ ·σ Ίσ σ σ ΄σ Άσ σ Ύσ σ σ ¨σ Ύσ σ σ ©σ Ήσ σ ‘σ σ σ σ ‘σ σ σ ‘σ σ σ ±σ §σ σ σ σ σ σ ’σ σ §σ σ €σ σ Ύσ σ σ Ώσ σ σ σ Έσ σ Ήσ σ σ ²σ σ ¦σ σ σ ’σ σ £σ ͺσ £σ σ ₯σ ©σ ₯σ ½σ σ £σ σ σ σ σ σ σ σ σ σ σ Ήσ ½σ ’σ σ Ήσ ©σ ©σ σ σ §σ σ σ σ σ §σ Άσ σ Άσ σ §σ σ σ ½σ ₯σ ·σ ΄σ ͺσ ’σ σ ΄σ ¦σ σ ©σ Άσ ₯σ σ σ ³σ σ ₯σ σ σ σ ‘σ σ σ Ύσ σ Ήσ ³σ Έσ £σ ’σ σ σ ±σ σ σ σ ΅σ σ σ ²σ σ ±σ Ύσ σ ©σ σ ₯σ σ σ σ Όσ ͺσ σ σ σ ¨σ σ ¦σ σ ₯σ ΄σ σ σ ½σ σ σ σ ©σ σ σ σ Ίσ σ Ήσ Ήσ £σ ©σ ¦σ σ σ Άσ σ ₯σ σ σ ‘σ σ ½σ ¦σ ₯σ σ σ ¨σ σ Ήσ ³σ ²σ Ώσ ‘σ σ Ίσ ²σ σ ‘σ σ σ σ σ ¨σ σ ©σ σ ½σ σ σ σ €
Maybe obedience is the wrong word, but it certainly implies in unequal relationship, like leader/follower, shepherd/sheep, guru/disciple
Subscribe implies payment. Follow implies obedience. Surely we can do better?
Orbit?
Tune In?
β¦
Start here: https://cashu.space
If you have specific questions afterwards, please ask!
Cashu-TS Version 3.0.0
We're excited to announce version 3.0.0 of cashu-ts! This release brings significant improvements to the API design, making it more intuitive and powerful. While this version includes breaking changes, we've streamlined the developer experience and added new features that make working with Cashu easier than ever.
Highlights
- Simplified Class Names & Initialization
- Introducing WalletOps - a beautiful, chainable API for wallet operations:
const { keep, send } = await wallet.ops
.send(amount, proofs)
.asP2PK({ pubkey: bytesToHex(pubKeyBob) })
.includeFees(true)
.run();
- Simplified Exports
- Better Organization
- Enhanced Authentication
- API Cleanup
- Developer Experience and Type Safety
Please see the full migration guide for detailed instructions on upgrading your code: https://github.com/cashubtc/cashu-ts/blob/v3.0.0/migration-3.0.0.md
Thanks to all contributors who made this release possible! Special thanks to nostr:nprofile1qy2hwumn8ghj7etyv4hzumn0wd68ytnvv9hxgqgdwaehxw309ahx7uewd3hkcqpqemq0gngdvntdn4apepxrxr65vln49nytqe0hyr58fg9768z5zmfqsd2lex who led the redesign effort and showed incredible dedication in building this release!
This weekend I shall mostly be taking in the sea airβ¦ and some sunshine ( hopefully π€)

It is an open-source Chaumian ecash protocol built for Bitcoin.
Go down the rabbit hole here: https://cashu.space/
π― agree - the more Iime I spend working on Cashu, the more time I want to spend working on Cashu
Do you have an account? Ie have you registered a name at:
Well that was fast...
Doing my bit (chat)β¦ but being esrly
Is pretty lonely

Orwellian tyranny always starts βfor your childrenβs safetyβ.

Nice!
You can only redeen in the mint you got it from... or you can melt your token and transfer it elsewhere (eg via bolt11 to a lightning address / invoice).
Maybe.... RN, the treasury companies are trojan horsing bitcoin adoption into the traditional banking model. Shenanigans are inevitable in the transition away from central banking as we scale to accomodate 8 billion people. But slowly slowly catchee monkey.
LN is part of it (and a rail that Cashu uses too). Cashu mints are like banks. They accept collateral (Bitcoin) and issue tokens (vouchers / βbank notesβ) for that collateral.
They βcouldβ conceivably be fractional, and as Hal rightly said, people may trust/value tokens from one mint less than another.


