-

@ Tim Bouma
2025-06-03 18:53:44
Payment by NFC with #nostr #safebox
I have the secure plumbing figured out. Still more to implement but here is the gist:
1. Reader acquires encrypted token from card and amount
2. Generates lightning invoice.
3. Acquited sends encrypted token and invoice to token vault endpoint
4. Vault decrypts token and issues nwc command to pay invoice
5. Wallet pays invoice
6. Poll invoice and notify user invoice is paid.
https://image.nostr.build/2ed14fab88d993a1c92c7514617333dd60437cc10ecb89fff511c4b641f5cedb.jpg