I am pinching myself on how NUTS (pardon the pun) this is. Every #nostr #safebox instance becomes its own payment, clearing and settlement engine. A #safebox can send ecash directly to any other #safebox, it can receive ecash, swap it for new tokens or clear out the funds to any lightning invoice or address.

All of the data (wallet state, proofs, etc.) are stored, encrypted in relays and can be replicated, if a relay becomes adversarial or unreliable.

I’ve also implemented the storage and sharing of private data, and am thinking of adding the ability to store medical data (prescriptions, etc.).

When this prototype is stabilized, I am planning to do another reference implementation (likely Go) and create a very minimal Android/iOS app that can interface to the wallet component.

Onward! Very cool.…