coco-cashu now exposes an API to restore proofs. It will request all keysets, restore the proofs and update all counters accordingly.
Egge
egge@npub.cash
npub1mhcr...c226
Building https://npub.cash π₯ Working on awesome nostr, cashu and Lightning stuff πβ‘οΈ
Comparison is the thief of joy
Well who is the junior now?! 

When people say that Javscript coercion sucks, I usually responded that it does not as long as you know the rules.
Well I just debugged a bug for one hour because an untyped API passed a string instead of a number.
And as it turns out "5" + 0 > 8 === true
I stand corrected
Kicking off the day with a broken starter and waiting for AAA. LFG π€
you can just repost reposted stuff
View quoted note β
Omarchy v2 is out and it's beautiful! 

Today I build the first example Cashu CLI wallet using coco-cashu.
- mint info & keysets cache with revalidation
- proof storage and state management
- coin selection
- send / receive / mint
49 lines of code.
Randomly finding bros contributing to amazing OSS is the best π€ Thanks @Shawn


I agree with this. Thatβs why I get the most out of AI when coding something I know how to do (vaguely). If it goes down the wrong direction I can immediately stop it there and rephrase or build an example to iterate on.
Sometimes you got to πͺΏπ«


If you like minimalistic Linux and tiling window managers without painful setup you should give omarchy a try π€
View quoted note β
I hope for this to become the easiest way to build a Cashu wallet in any typescript environment


Send em!
Yes this is indeed an issue. With an npub being a static identifier we should make sure it carries as little personal information as possible. The social graph can be a dead giveaway for tracking and personalisation software.
Imagine relays returning your feed but every 10th note is an injected ad that was selected based on your social graph lmao
View quoted note β
This is so insanely cool π
View quoted note β
I wrote 2,000 lines of state management and architecture today. And I still don't know if things will work out at the end... Wish me luck π
Got some quail eggs from my neighbour. LFG


Hats of to all Cashu wallet devs!
Working on the stateless wallet library Cashu-ts for a while now I didnβt even know how hard the state management can beβ¦
Bitcoin is not about getting rich, itβs about building a better future for the ones that come after us π


Mood rn 
