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 5 months ago
Only 4.000 lines into coco-cashu and complexity is already lingering in the shadows. I can feel it creeping up. Drop your favourite books on design and architecture belowπŸ™
Egge's avatar
Egge 5 months ago
My personal goal for coco-cashu is to make Cashu wallet dev so easy and accessible that Opus can one shot a Cashu electrum wallet. I think we can get there
Egge's avatar
Egge 5 months ago
coco-cashu now exposes an API to restore proofs. It will request all keysets, restore the proofs and update all counters accordingly.
Egge's avatar
Egge 5 months ago
Comparison is the thief of joy
Egge's avatar
Egge 5 months ago
Well who is the junior now?! image
Egge's avatar
Egge 5 months ago
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
Egge's avatar
Egge 5 months ago
Kicking off the day with a broken starter and waiting for AAA. LFG πŸ€™
Egge's avatar
Egge 5 months ago
Omarchy v2 is out and it's beautiful! image
Egge's avatar
Egge 5 months ago
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.
Egge's avatar
Egge 5 months ago
Randomly finding bros contributing to amazing OSS is the best πŸ€™ Thanks @Shawn image
Egge's avatar
Egge 5 months ago
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 πŸͺΏπŸ”« image
Egge's avatar
Egge 5 months ago
If you like minimalistic Linux and tiling window managers without painful setup you should give omarchy a try πŸ€™ View quoted note β†’
Egge's avatar
Egge 5 months ago
I hope for this to become the easiest way to build a Cashu wallet in any typescript environment image
Egge's avatar
Egge 5 months ago
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 β†’
Egge's avatar
Egge 5 months ago
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 πŸ’œ
Egge's avatar
Egge 5 months ago
Got some quail eggs from my neighbour. LFG image
↑