Egge's avatar
Egge
egge@npub.cash
npub1mhcr...c226
Building https://npub.cash 🥜 Working on awesome nostr, cashu and Lightning stuff 💜⚡️
Egge's avatar
Egge 3 months ago
You don’t need an external monitor. This is peak productivity (setting aside the peripherals) View quoted note →
Egge's avatar
Egge 3 months ago
And here we go! The first plugin for coco-cashu is already available! 🔥 coco-cashu-plugin-npc will automatically fetch pending payments from your npub.cash address and claim them inside you coco wallet! Fully automated. image
Egge's avatar
Egge 3 months ago
Probably the most fun thing I have built in a while: coco-cashu is getting a plugin system! Plugins can access all services and life cycles and interact with them. Simply register a plugin when instantiating the library and let it do all the rest. This was the last missing piece to making coco-cashu truly modular. And of course, there will be a npub.cash plugin for coco image
Egge's avatar
Egge 3 months ago
Had cursor set to Opus for a couple of hours by accident… F
Egge's avatar
Egge 3 months ago
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's avatar
Egge 3 months ago
Thinking about doing some nostr live coding with coco-cashu tomorrow evening. Would you watch that?
Egge's avatar
Egge 3 months ago
Full restore via coco-cashu in eNuts is finally working 🙌🏻
Egge's avatar
Egge 3 months ago
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
Egge's avatar
Egge 3 months ago
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
Egge's avatar
Egge 3 months ago
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…
Egge's avatar
Egge 3 months ago
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!
Egge's avatar
Egge 3 months ago
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 →
Egge's avatar
Egge 3 months ago
Sending nuts from iOS (macadamia) to Graphene (minibits) via wifi 🔥🥜
Egge's avatar
Egge 3 months ago
The great mind behind the stickers I have been posting recently is my lovely wife ❤️ she is now on nostr too: @Squirrel Be so kind and give her a warm welcome 🙏🥳 View quoted note →
Egge's avatar
Egge 3 months ago
If you prefer a clean laptop over stickers, you don’t have the right stickers image
Egge's avatar
Egge 3 months ago
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.