THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!

Replies (155)

Really cool. It makes sense that custodial Zapping is handled by seamless ecash services directly integrated in nostr clients. Of course the non custodial zapping is my favorite way to do this but the onboarding experience will be very cool with this system.
This makes all the difference!
PABLOF7z's avatar PABLOF7z
THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!
View quoted note →
Yeah I guess you can basically treat each zap (ecash token) as a nostr event propagated on some relays
Also what are your thoughts on malicious nostr apps that steal everything as soon as you login?
yes, they are compatible -- with this, if you try to zap someone that doesn't have a cashu wallet announced it will do a regular bolt11 zap from the cashu balance (how cool is that?!) yes, these are pubkey-locked cashu tokens, locked to the pubkey of the npub with a "02" prefix for parity so the proofs are actually unencrypted, anyone can verify them, but only the recipient can swap them
No, once it's in your wallet, it's there. Even if the relay disappears. Only payments you haven't received yet (while you were offline) can potentially disappear if all relays they are published to disappear.
Thank you, this is awesome. Now we only need proper private DMs and this thing is gonna be fire!!!
OT's avatar
OT 1 year ago
What's the capacity? Does that depend on the mint?
U's avatar
U 1 year ago
👏👏👏
Biggest issue we have with ecash now is that there are two competing standards with incompatible formats. I prefer fedimint because I want the money federated across mulitple juristictions, but I guess cashu is easier to intergrate.
👇👇👇💖WOW!😃👇👇👇
PABLOF7z's avatar PABLOF7z
THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!
View quoted note →
pay to public key hash is literally a protocol enforced thing, and only works because thousands of nodes have to agree the signature is valid it says right in the last sentence of the description of the protocol: `The spending condition is enforced by the mint.` it's not a blockchain protocol so the spend condition is entirely under the control of the mint, the issuer of the p2pk is trusting the mint to do this
Imagine trying to explain this to your average person not in nostr
PABLOF7z's avatar PABLOF7z
THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!
View quoted note →
This is a custodial solution. There is always a level of trust in a custodial system. This is an improvement to everyone using custodial WoS or Alby. If you want to maintain full custody run your own lightning node (and/or mint)
Other stuff keeps happening that is exceeding my expectations
PABLOF7z's avatar PABLOF7z
THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!
View quoted note →
Ok, this is cool and all, but if you allow me to be a skeptic for 1 second: didn't you just create the #Bitcoin / #Nostr equivalent of a social credit system?
PABLOF7z's avatar PABLOF7z
THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!
View quoted note →
Create a new npub? So much work 😩 Oi #nostr it's me again with a new #shitpost
PABLOF7z's avatar PABLOF7z
THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!
View quoted note →
yes. this is 100% by design and intentional for a sovereign mint operator. the cashu spec doesnt require backing by sats, nor does it require the operator to fullfill outbound payment requests
No, you opt-in. People can still send you ecash due to the mere fact that you have an npub, you can always choose to not redeem them
Okay now I see what you're saying. All of this is well above my head. While the overall concept of this is really cool to me I can now appreciate your POV
,,🤯
PABLOF7z's avatar PABLOF7z
THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!
View quoted note →
No, it shouldn’t; dm relays might guard REQs behind AUTH which you don’t want for public zaps; for private zaps you might, yeah
Yeah, it’s on my GitHub; still tightly coupled to the highlighter codebase but I’ll be extracting it today into a nicely packaged thing
DZC's avatar
DZC 1 year ago
Afaiu, cashu's architecture is closer to nostr: It's the user who decides which mints he wants to trust and store his sats on; there's no need for a federation of mints and trusting between them. Simpler indeed. We'll see how this space evolves.
DZC's avatar
DZC 1 year ago
Afaik: + Nostr relays are functioning just as 'storage'. + Nostr npubs are functioning as pubkeys to allow receiving encrypted ecash. + Nostr event are functioning both as sending ecash and publishing the zap (public payment proof) + Mints functions don't change at all.
Vast majority of Nostr users use custodial lightning. Today's custodial lightning offers no privacy and no censorship resistance. Cashu offers strong privacy and censorship resistance. For the minority of user who want to run their own lightning node, the option still exists. Cashu zaps address the reality that most do not. Maybe one day a fully non-custodial solution will exist with great UX, but it doesn't today.
Hynek's avatar
Hynek 1 year ago
It’s actually nice plausible deniability
Mind... blown 🤯
PABLOF7z's avatar PABLOF7z
THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!
View quoted note →
Couldn't be more bullish on #bitcoin and #nostr
PABLOF7z's avatar PABLOF7z
THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!
View quoted note →
I've been thinking about this ALL day! Crazy stoked! Will implement as soon as this ships.
how long till zap for illicit purchases? Probably until gov comes down on the heads of cashapp and venmo dealers (so says SWIM). nostr will be ready tho... anticipating a very wild ride, fast adoption. View quoted note →
Banks being required to be FDIC insured was a good thing actually
I reserve "shitcoin" for bad faith efforts, and I think cashu is a legitimate effort to solve a hard problem. Still, it has serious flaws.
Default avatar
Rand 1 year ago
disregard/dmyor t-y checking your links now/interesting pow Pablo
dwarner5522's avatar
dwarner5522 1 year ago
This isn't shitcoinery. It's a legit method to possibly evolve the ecosystem. With that said though, I agree that there needs to always be actual sats backing any ecash transaction. Also need redundancy in the ecash mints. Could there be a way maybe to require ecash mints be in clusters of 4. So that the (4) in the cluster are each clones of one another. With the sats being held in a multisig wallet, so that 2 of the 4 mint clones hold the same multisig key and the other 2 mint clones hold the other multisig key. I guess this would make it a separate layer 2 network completely separate from lightning though.
I'm solid in JS, and use Typescript on all my projects. I can get around in most languages though.
Pablo, I really to develop at the pace you do, I really find everything you do innovative... The difference is I want to focus on privacy and security.
When how to do this is clear to me by way of well written, easy to understand documentation, expressed in normie language that everyone (including those new to #nostr) can understand then I and I am sure others will look into/adopt it.
Crazy prospects...
PABLOF7z's avatar PABLOF7z
THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!
View quoted note →
This is a demo of an app where the balance from nostr zaps are somehow magically tied to my nsec using ecash. Until now I could add my nsec to different nostr apps but each one of them uses a different lightning wallet. This puts zap IN nostr
How can you be sure that the sats in your WoS or Alby wallet are real before you spend them? How can you be sure that you will be able to spend your BTC on a centralized exchange tomorrow? Same with mint, you are not sure, except you are not expected to keep any valuable amount on a mint, once you have 5000, 10000, 50'000sats on a mint, transfer it to Phoenix, Breez, Zeus or your full node with lightning, then when you have 100'000, 500'000, 1Msats on Lightning that you don't need for spending, swap it on-chain on a cold storage with key properly secured. It's just a matter of habits and education.
yes. it would require some form of zero knowledge proof or an equivalent of silent payments to make it impossible for the mint to see who the owner of a (pseudorandom) pubkey is.
Newton's avatar
Newton 1 year ago
Someone please explain this post by @PABLOF7z for a layman like me so I understand what I should do. I'm still a 'legay' Alby user. 😪 What to do with the new npub that Pablo mentions?
Newton's avatar
Newton 1 year ago
I could not see the attachment. Could you explain it for me?
MiddleWay's avatar
MiddleWay 1 year ago
Sure, I don't use custodial wallets except SN (to lightning address), and I auto withdraw to my node. But at least Wos, Alby, etc are large centralized entities. A mint can be spun up easily by anyone, and they are mostly anonymous.
Const means you can't replace the object pointer by anything else, but you can still modify the contents of the object.
I think at this point that we can stop using the argument of too big to fail, everyone use it so it's safe, they are large entities we can trust them (oops: MtGox, eBTC, FTX, Celsius, Credit Suisse bank!). Anyone can decide which mint use and trust for a few sats of change. Use mint of a dev you like, a big company or associations, someone met at a local meetup, a friends, family or your own. I respect that you want to stay as close as possible to the core Bitcoin experience and ecosystem, in the beggining Lightning was rejected as not real bitcoins, now only a few purist would argue that Lightning should not be used and everytjng must stay on-chain, maybe cashu will become part of the Bitcoin ecosystem and accepted by the majority for some use cases or maybe a better solution will be found on Lightning that avoid larger fee to manage liquidity before accepting your first 21 sats as zap without relying on a couple of big centralized entities.
The #Bitcoin discovery layer of #Nostr just got fully unlocked! 🥜👀
PABLOF7z's avatar PABLOF7z
THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!
View quoted note →
what about receiving? does it use some kind of cashu<->lightning address gateway for zaps by people who use a client that does not understand cashu zaps?
Not yet, but I will probably write one; the beauty is that it doesn’t need to take custody at any time; you respond to an LNURL request with the mint’s bolt11, so it’s extremely lightweight
tank's avatar
tank 1 year ago
Ah, so the lock is initiated by the mint, not on the user’s Cashu client? Cause I was wondering how to prevent double spending.
thx for the answer, but I see that kind of problematic in some cases. we all want nostr to grow, right? with that you will also get officials (politicians, CEOs etc.) on here that might be in a jurisdiction that doesn't allow them to take (let's call it) donations... just my thoughts on this
tank's avatar
tank 1 year ago
Ah, so there is an http request from the sender to the mint before the nut zap. It sounded like magic to zap the ecash via nostr w/o any roundtrips to the lightning node.
You can’t prevent someone from sending you a check in the mail; you can simply not claim it. People have been sending coinjoined bitcoins to states and legal entities for ever; there’s nothing they can do to avoid it, but they can ignore the money
That only works for unlocked tokens. You can zap someone an unlocked but encrypted token and that should work without talking to the mint. However, then it becomes less publicly verifiable.
tank's avatar
tank 1 year ago
Interesting. I was wondering why npub.cash doesn’t just send me an unlocked token via nostr DM when I receive a zap to my lightning address. I guess this is the UX that Pablo’s spec enables. But it also combines the Cashu wallet seed and the Nostr nsec as a single secret.
Yes and no. I haven't seen a cheque in my whole life. Just heard about them 😆 How long can you cash in a cheque? How long can you redeem your zaps? You have them, they are yours. You hold the only key to use them, and I don't think that it matters if you use them. I'm sure in some countries the possibility to redeem is also enough to make a taxable event out of it. Don't get me wrong, I love your work and I'm amazed by the speed you are coming up with new stuff.
I'm a bit lost 🙃 how does it work please ? Any videos or articles that you would recommend so that I can dig a bit please? 🙏
first, no, I don't care about politicians being on Nostr. second, there's no reason they could not come either, it's not illegal to receive money. and third, let's not be pussies. We live a cypherpunk dream, let's enjoy it and not limit ourselves.
npub.cash does not do this, because I did not get to implement it yet. Also it was always meant to be an API service that is more hidden from the user. Like giving a Lightning address to a Cashu wallet and claiming the nuts automatically
tank's avatar
tank 1 year ago
Makes sense. Just my 2 sats worth… as a developer I’m more likely to integrate an API that delights me as a user first.
tank's avatar
tank 1 year ago
I guess I’m defining API more broadly, as in “what UX does it enable”. Happy to connect to discuss in more depth if you’re open to it.
Se fossem carteiras de autocustódia, aí realmente seria muito massa. Do contrário, sendo carteiras custodiais, eles apenas estariam colocando-se em pé de igualdade com o Primal. De qualquer forma, mesmo neste último cenário, o Primal finalmente passaria a ter concorrentes à altura. Obrigada por me marcar, é sempre bom ficar por dentro das novidades que estão por vir. 😘
Brian's avatar
Brian 1 year ago
Msats are a few decades ahead of their time
first: you and a lot of others might not care about it, but if nostr is growing it will happen. second: in some jurisdictions and positions it might be. third: giving the choice to opt out is actually expanding the limits. but what do I know...
Not an app really. He's just demoing using his local workstation to showcase the core principles. The main thing to take away from this is that the dev work gone into this is pretty genius and done by one person. Has huge implications for Nostr going forward.
Is this possible from any clients today? Who supports ecash zaps? (cc @calle @PABLOF7z)
PABLOF7z's avatar PABLOF7z
THE MONEY IS IN THE NOSTR! 👉 Create a new npub AND DOING NOTHING ELSE, no WoS, no nostr-wallet-connect pairing,... NOTHING ☑️ receive zaps ☑️ send zaps ☑️ and most importantly ACCESS MY WALLET FROM ANY CLIENT ON ANY DEVICE these zaps are verifiable, way faster -- they are immediate (since the sending of the ecash is the zap, instead of waiting for a LN node to, maybe, publish a zap receipt) Just like our contact lists follows us around, just like our profile data and our shitposts pops up in any nostr application, now so does our sats. the money is in the nostr!
View quoted note →