npubcash-cli does not need to know your private key. It authenticates using NIP-98, a local web server and NIP-07...
NIP-07 signing extensions work everywhere!
Egge
egge@npub.cash
npub1mhcr...c226
Building https://npub.cash 🥜 Working on awesome nostr, cashu and Lightning stuff 💜⚡️
Grateful 🥜 💜
If AI can solve the JS bundling and module mess for me I might become a vibe coder in the end
If JavaScript could finally resolve their build process and module inconsistencies it would be such a fantastic language
I implemented NIP-07 auth in npc-CLI today.
$ npc-cli list
> no auth token present
> spawns web server
> opens your browser with a login button
> click login
> NIP-07 popup
> signed event gets send back to the cli process, which authenticates with npc server
GM anon, you should sign up
View quoted note →
Took the L and switches from cast iron to stainless steel. Lets see how it goes 🥩


All the vibe 💜


Hey hivemind, I need your opinion on something:
If someone sends you a payment on npubcash v2 the server will hold the respective mint quote in its database for you to retrieve it at any time. There is no concept of "spent", the server will always return these quotes again at any time.
This simplifies server-side state management massively, because the server does not need to keep track of a quotes issuance-state. At the same time quotes can never be lost that way (even if clients loose them).
To avoid redundant traffic clients can specify a "since" param, essentially letting the server know "hey, the last claim you gave me is timestamp X, I am only interested in stuff that happened since then".
I wonder if I should add a "spent" endpoint for a client to let the server know "I have redeemed this quote, you can now safely mark it as spent". This would be only a convenience feature for clients to reduce the amount of redundant data.
I have been running npub.cash v2 for a couple of days now and nothing exploded…


Enjoy nuts in full. Depend on nuts. Channel the nut, fully embrace it. 🥜
View quoted note →
Enjoy AI in moderation. Don’t depend on it. Channel the vibe, don’t fully embrace it.
I am still not sold on vibe coding… I believe letting AI solve your issues, stops you from growing. And once the AI hits its ceiling you are not prepared
That’s going to be a challenge lol


Man, DDD is tough :/