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 nostr:npub12rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sf485vg nostr:npub18ams6ewn5aj2n3wt2qawzglx9mr4nzksxhvrdc4gzrecw7n5tvjqctp424 nostr:npub16c0nh3dnadzqpm76uctf5hqhe2lny344zsmpm6feee9p5rdxaa9q586nvr nostr:npub16dhgpql60vmd4mnydjut87vla23a38j689jssaqlqqlzrtqtd0kqex0nkq nostr:npub1dergggklka99wwrs92yz8wdjs952h2ux2ha2ed598ngwu9w7a6fsh9xzpc

The code (though raw) is open source at:

https://github.com/trbouma/safebox

Reply to this note

Please Login to reply.

Discussion

No replies yet.