nostr:npub12rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sf485vg have there been proposals to address Cashu mints by nostr pubkey instead of DNS based address?

API commands would be sent over Nostr. I'm even thinking double ratchet could be suitable for this, providing forward secrecy for past API calls 🤔

I'd also like to have that on npub.cash so incoming lightning txs would show up instantly from the nostr subscription.

Reply to this note

Please Login to reply.

Discussion

Yes, we did experiment with this. Back when NWS (nostr web services) was introduced. None of the HTTP-over-nostr standards have ever stuck though, I wish they did. IMO a cool idea.

We're currently adding OHTTP to Cashu for IP privacy.

There is also httpN, we use it in two of our apps

https://git.nostrdev.com/stuff/httpn

Iroh seems promising

Run the mint on localhost > Use ContextVM to wrap its api > You have a mint addressable by pubkey and accessible through nostr. All calls use ephemeral events and are gift wrapped in the case of encryption

#asknostr