Egge (nprofile…vcku) what is the roadmap for npub.cash? I see good improvements with v2 and v3 in the codebase but looks like the production environment is still on v1.
calle (nprofile…f4lp) for NUT-20, have you guys decided whether clients discover/verify quotes against npub.cash or the mint? My understanding is that the mint has no by-pubkey discovery by design, and v3's /api/v2/wallet/quotes gives me the quote refs — but it's pull-only and assumes the server is up and honest when I ask. And there doesn't seem to be a way to discover all npub.cash servers out there. It locks my implementation against a fixed list of operators.
I guess npub.cash could just sign encrypted Nostr events to the receiving user that contains all quote references so that we can download them and check against the mint.
How about pushing encrypted quotes to the receiving user via Nostr? When you broker a NUT-20 quote, you could fire an encrypted event carrying the quote ref (quoteId, mintUrl, amount) to the recipient. Then a client like Amethyst discovers funds straight from the user's relays and verifies each ref against the mint — no dependency on the API being reachable, and the server's worst case shrinks to withholding (detectable), not custody.
Then we wouldn't need to hard code querying all npub.cash operators out there.
