A major update to #nostr #safebox.
The code now supports multiple mints and automatically selects the keyset with the sufficient amount to make a payment.
Also, I’ve done some fine-tuning to make sure safebox data is automatically replicated across relays.
Finally, I’ve started to add the code to ‘accept’ Cashu tokens, swap the proofs to the home mint, or store the proof without mint verification (i.e., ‘offline’).
No guarantees that anything works, but I am really happy how it’s progressing. I’ve proven the main mechanisms work, so now it’s about fine-tuning and refining. My goal is to use this as a backend component to my Lightning payment system, but more broadly, this is a ‘self-custodial wallet’ solution as only the owner/custodian knows the key, and the wallet ‘lives’ in the #nostr network - not only any device, server or database.
Anyway, hoping this project gets a mention by my #nostr friends and cohorts at #nostriga calle 👁️⚡👁️ Derek Ross miljan calvadev⚡️ Gigi
The code (though raw) is open source at: