After a few weeks of hard…

After a few weeks of hard work, i am really pleased how things for #nostr #safebox are shaping up. I've managed to hide a lot of the complexity of nostr, lightning and cashu behind some some simple subcommands for safebox. For example - the different ways to pay:
1. issue - to issue a cashu token to the command line
2. accept - accept a token
3. receive - accept a token and settle amount to home mint
4. deposit - deposit funds via a lightning invoice (plus text QR code!)
5. withdraw - withdraw funds via a lightning invoce
6. pay - pay to a lightning address
7. zap - zap to a nostr event; zap split if zap splits are present
8. send - send an amount as a cashu token to an npub or nip05 address

All this looks easy, but there was (and still) a lot a engineering in the background to make this all work. I've read and re-read many of the NIPS to make sure I am implementing properly.

I am also adding a bunch of other stuff - for example storing and retrieving private records. I see this turning into a full blown wallet and am looking store important things that you want to control and not lose like personal medical records.

In the end, THIS IS ALL TOTALLY EXPERIMENTAL, but I am progressing way beyond what I had originally envisioned and a completely new model for wallets that are independent of devices, apps, and platforms ('Here's looking at you, Google/Apple/Samsung/EU!').

And it all started with payments that now just work thanks to nostr, cashu, lightning and bitcoin (well, there is still more testing and debugging to do, but the main mechanisms work)

Anyway, just wanted to share my progress.

Cheers.