coco-cashu can now also handle pre-existing mint quotes, when they are added using the new addExistingMintQuote API.
As a result you can implement a working npub.cash wallet in minutes using coco-cashu and npubcash-sdk π₯
Egge
egge@npub.cash
npub1mhcr...c226
Building https://npub.cash π₯ Working on awesome nostr, cashu and Lightning stuff πβ‘οΈ
Thinking about doing some nostr live coding with coco-cashu tomorrow evening. Would you watch that?
Full restore via coco-cashu in eNuts is finally working ππ»
coco-cashu now comes with a react wrapper, making Cashu wallet dev even easier. The library exposes a couple of hooks and contexts that let you:
- Build reactive components that automatically re-render when state inside coco changes (e.g. balance, tx history, mint list in this video)
- Access the coco API from within react to add to your wallet UI
The internet is a curse and a blessing. The fact that these two girls are inevitably going to get confronted with a video of their farther being murdered in cold blood is breaking my heart.
I am always worried about the future of my own little girl, but this is taking it to a whole new level. Be careful out there anon <3
Charlie Kirk got shot in his throat while on stage. No matter if you agree or disagree with his views, Iβve always seen him as someone who is actively looking to have a conversation, even if controversial or difficult. What the fuckβ¦
Wanna build?! Join the best builders at this years ecash hackday on 1st of October in Berlin π€π
Itβs right before the Lightning++ @btcplusplus so hit two birds with one stone!


ECASH HACKDAY
Let
I am on the same page since omarchy + framework
View quoted note β
Attention German Folks: CDK Summer is Cashu Summer! Listen to Manu and me talk about Cashu and itβs use case as digital money π€
View quoted note β
Sending nuts from iOS (macadamia) to Graphene (minibits) via wifi π₯π₯
The great mind behind the stickers I have been posting recently is my lovely wife β€οΈ she is now on nostr too: @npub1p929...2ngu
Be so kind and give her a warm welcome ππ₯³
View quoted note β
If you prefer a clean laptop over stickers, you donβt have the right stickers


I am pretty sure 50% of the coco-cashu codebase is now subscription and state check logic.
- Whenever the wallet requires updates from the mint it will subscribe for them.
- Coco will batch and debounce subscriptions as much as possible.
- It will re-connect sockets automatically and re-subscribe now stale subscriptions
- If a socket breaks and can not be reconnected it will automatically fallback to polling. The same happens if the environment or the Mint does not support WS.
- In polling automated backoffs are added, proof checks are batched.
- All HTTP communication with the mint is throttled by a token-based system that allows bursts, but will make sure we don't call the mint more than 25 times per minute.
- The throttling logic filters by requested URL, so that non-rate-limited endpoints like /keys or /info don't could towards our threshold.
I really find this to be the most difficult part about building a wallet. I hope this gives us a solid foundation to build up on.
This is the kind of tester every project needs π
View quoted note β
Started mass production π€π₯


Always a blast to talk freedom tech and Cashu! Hope to be back soon π₯
View quoted note β