What is Nostr?
Max /
npub1mu6…y47n
2023-08-24 00:56:24

How to encode a nano payment request into an NFC tag

How to encode a nano payment request into an NFC tag

https://www.youtube.com/watch?v=fq0pCRGcrTQ

This video is a short demonstration of how to encode a nano payment request for a specific amount into the URI of an NFC tag.

The URI should be:
nano:{RECEIVE_ADDRESS}?amount={AMOUNT_IN_RAW}

Removing the ?amount= section allows you to initialize a transaction without a specific payment amount.

In this demonstration, it show how easy it is to encode a transaction to create NFC-based payment applications.

The NFC tag is an NTAG215, which costs 40 cents. But any will probably work.

The NFC Tag maker app: https://f-droid.org/packages/pl.net.s...

The Natrium wallet is not available through F-Droid, but it can be installed directly from GitHub: https://github.com/appditto/natrium_w...

The purpose of this video is to show you how to encode the nano transaction into the URI. For a real-world application, you will need to protect the NFC tag such that the information it holds cannot be easily over-written by a malicious actor.
Author Public Key
npub1mu6pv22emcedp9nfcwdjeyqtj9d404vsx6eqj34d2sakjhqldkcq5yy47n