Why Nostr? What is Njump?
2025-06-04 03:00:05

Tim Bouma on Nostr: Well, holy shit I got nfc payment working end to end with Nostr Wallet Connect! The ...

Well, holy shit I got nfc payment working end to end with Nostr Wallet Connect!

The #nostr #safebox issues a payment card - an encrypted payment token that is written to a nfc card.

When that card is read by another wallet, it generates the lighting invoice, extracts the vault url, the encrypted token and sends the details to the vault

The vault decrypts the token, figures about what nwc wallet to send the invoice to via nwc.

The nwc receives the payment instructions, decrypts it containing the invoice and pays it.

Voila! It all works! That means I can issue my own nwc payment card and use it like a debit card on another #safebox that accepts nfc payments.

This replicates how the payment card networks and how banks provision a card you can carry and add to your digital wallet. With no banks!



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.

Author Public Key
npub1q6mcr8tlr3l4gus3sfnw6772s7zae6hqncmw5wj27ejud5wcxf7q0nx7d5