How NFC chips link physical items to NFTs

GoldRush TeamUpdated 12 min read

An NFC chip links a physical item to an NFT by signing a challenge with a key only it holds. How the chips work, which tags can be cloned, how to verify one.

What an NFC-linked NFT is

An NFC-linked NFT (often called a "phygital" NFT) is a token tied to a physical item by a chip embedded in it. You tap the item with your phone, the chip proves it is the one chip registered to a token onchain, and an app shows you that token: proof the item is genuine, its history, and who owns it now. In the strongest designs the chip holds a private key that can't be copied, and signs a fresh challenge on every tap, so a cloned tag fails.

The link is only as strong as the chip. A cheap NFC sticker that stores a URL can be copied by anyone with a phone, so "tap to verify" proves nothing on its own. What makes the connection hold is a secure chip that signs, a contract that records which chip belongs to which token, and a verifier that checks both.

How NFC tags work

NFC (near-field communication) is short-range radio at 13.56 MHz, typically over 4 cm or less. A tag has no battery: the phone's field powers it for the moment it is in range, and the two exchange a few bytes.

Most tags hold an NDEF message (NFC Data Exchange Format), usually a single URL record. Phones read NDEF without any app: an iPhone XS or later, or an NFC-enabled Android phone, shows a notification to open the URL when you hold it near a tag. That is why nearly every product chip opens a web page on tap.

A browser can do more on Android: Chrome's Web NFC API reads and writes NDEF from a web page. It is limited to NDEF, isn't supported in Safari, and can't send the low-level commands a secure chip needs. Native apps can, through Core NFC on iOS and Android's NFC APIs.

Why a plain NFC tag can be cloned

Chips fall into three classes, and only the last one can prove it is the original:

Chip What a tap returns Can it be copied? Who can verify
Plain NDEF tag (NFC Forum Type 2, e.g. NXP NTAG 213/215/216) The same URL and serial number (UID) every time Yes: read the URL, write it to a blank tag; emulators also copy the UID Nobody, cryptographically
Tag with a rolling code (e.g. NXP NTAG 424 DNA with SUN messages) A URL with an encrypted tap counter and an AES-CMAC code Not the key, but a captured URL can be replayed until the counter moves on Only whoever holds the AES key
Secure-element chip that signs (e.g. Arx HaLo) A signature over a challenge, from a key made on the chip No: the private key never leaves the chip Anyone, against the chip's address

A plain tag is a printed label you read by radio. Its URL and UID are fixed, so a counterfeiter who taps the real item once can make as many copies as they like, and every one of them opens the same "Authentic" page. Linking that tag to an NFT changes nothing: the token is genuine, but the tag doesn't prove the item in front of you is the one it was minted for.

Rolling-code tags such as NTAG 424 DNA fix most of that. On each tap the chip appends a counter and a cryptographic code made with an AES-128 key it shares with the brand (NXP calls it a Secure Unique NFC message, and the open-source sdm-backend shows how a server checks one). The server rejects old counters, so a copied URL works once at most. The catch is that the key is symmetric: only the brand's server can check a tap, so verification depends on that server staying online and honest.

Secure-element chips: tags that sign

A secure-element chip generates its own key pair when it is made and never exposes the private key. It answers a tap with a digital signature, exactly as a crypto wallet signs a message. Arx's HaLo chips, for example, create a secp256k1 key pair at manufacture that is designed to be non-extractable, publish the public keys in their NDEF URL, and sign data in the EIP-191 and EIP-712 formats Ethereum contracts verify.

Because the key is the same kind Ethereum accounts use, the chip has an address (the last 20 bytes of the keccak256 hash of its public key, like any wallet). That address is the chip's identity. Anyone can check a signature against it, with no brand server involved, and a smart contract can check it too.

The proof works through challenge and response:

  1. The verifier creates a random, single-use challenge (a nonce, or data tied to a recent block, as ERC-5791 does with a block timestamp, so a signature can't be prepared in advance and reused).
  2. The phone passes it to the chip over NFC and the chip signs it.
  3. The verifier recovers the signing address from the signature and compares it with the chip's registered address.

A copy of the tag's URL can't answer a challenge it has never seen, so cloning fails. Here is the check in JavaScript with viem, using a locally generated key as a stand-in for the chip.

You need Node.js 20 or later (for the global crypto.getRandomValues) and viem, pinned to the version this was run with. The scripts use top-level await, so save each as a .mjs file, for example chip-check.mjs, and run it with node chip-check.mjs:

npm install viem@2.52.2
import { recoverMessageAddress, toHex } from "viem";import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; // Stand-in for the chip: on a real secure element, this key never leaves the chip.const chip = privateKeyToAccount(generatePrivateKey()); // 1. The verifier makes a fresh, single-use challenge.const challenge = toHex(crypto.getRandomValues(new Uint8Array(32))); // 2. The phone passes it to the chip over NFC; the chip signs it (EIP-191).const signature = await chip.signMessage({ message: { raw: challenge } }); // 3. The verifier recovers the signer: that address is the chip's ID.async function chipFromTap(challenge, signature) {    return recoverMessageAddress({ message: { raw: challenge }, signature });} const chipId = await chipFromTap(challenge, signature);console.log(chipId === chip.address); // true: this chip, and only this chip, answered

On a real chip, step 2 is a library call over NFC. Arx's libhalo does it from a web page (Chrome on Android, Safari on iOS), a React Native app or a desktop USB reader.

How a chip is bound to an NFT

The chip proves it is itself. A contract then records which token it belongs to. The best-documented design is ERC-5791, Physical Backed Tokens (PBT), an extension of ERC-721 written by Azuki's team at Chiru Labs. It was still a Draft standard when we checked on 20 November 2026, so treat its interface as stable in practice but not final.

ERC-5791 makes three rules:

  • Every token is paired with a chip address. The contract emits ChipSet(tokenId, chipId) when a pair is made, and a token can't be minted without one. tokenIdFor(chipId) returns the token for a chip, and isChipSignatureForToken(tokenId, data, signature) checks a signature against the token's chip.
  • Normal transfers are disabled. The ERC-721 transfer functions must revert. The only way to move the token is transferToken, which needs a signature from the chip over the recipient's address, the chip address and a recent block timestamp.
  • So whoever holds the item controls the token. To claim the NFT after buying the item, the new owner taps it and submits the chip's signature. A seller can't keep the token and ship the item, or sell the token without it.

Contracts that implement it return true from ERC-165 supportsInterface(0x4901df9f). Chiru Labs publishes a reference implementation as the PBT repository.

Not every product uses ERC-5791. Many brand programs mint a normal, freely transferable NFT as a digital certificate and record the chip-to-token mapping in their own database. That is simpler, but the token and the item can then be sold separately, and checking a tap relies on the brand.

Verifying a tap, step by step

A verifier answers two questions: is this the real chip, and who owns the token it's bound to? For an ERC-5791 collection:

  1. Read the tap. The chip's NDEF URL carries its public key, which gives its address.
  2. Challenge the chip. Send a fresh nonce and recover the signer, as in the code above. If it doesn't match, the tag is a copy.
  3. Find the token. Call tokenIdFor(chipId) on the collection contract through any Ethereum RPC. It reverts if the chip isn't paired.
  4. Check the owner. Ask whether the wallet claiming the item holds that token now.

Step 4 is where an NFT API saves you from indexing the chain. GoldRush's token ownership check answers whether a wallet holds a given token ID in a collection, ERC-721 or ERC-1155, in one call. Save it as owns-token.mjs and run it with your key in GOLDRUSH_API_KEY and the wallet, collection and token ID to check in WALLET, COLLECTION and TOKEN_ID:

const API = "https://api.covalenthq.com/v1";const headers = {    Authorization: `Bearer ${process.env.GOLDRUSH_API_KEY}`,}; // Does this wallet hold this token ID right now? (ERC-721 or ERC-1155)async function ownsToken(chain, wallet, collection, tokenId) {    const url = `${API}/${chain}/address/${wallet}/collection/${collection}/token/${tokenId}/`;    const res = await fetch(url, { headers });    if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);    const { data } = await res.json();    return data.items.some((item) => BigInt(item.balance ?? "0") > 0n);} const { WALLET, COLLECTION, TOKEN_ID } = process.env;console.log(await ownsToken("eth-mainnet", WALLET, COLLECTION, TOKEN_ID)); // true or false

For a token the wallet holds, each item carries the collection's details, the balance and nft_data with the token's metadata and current_owner, so the same response can fill the "verified" screen. Its credit cost is 1 per call, and it works on 6 chains: Ethereum, Polygon, Base, BNB Smart Chain (BSC), Gnosis, and Optimism. For a collection on another chain, read ownerOf(tokenId) from the contract directly.

To list every chip a collection has paired, read its ChipSet events with log events by contract address (credit cost: 0.01 per item). Both tokenId and chipId are indexed, so they come back in each log's raw_log_topics without needing the ABI.

Handle errors from the GoldRush API

When a call fails, the GoldRush API returns the same envelope as a successful response, with data set to null, error set to true and the reason in error_message. error_code is a JSON number equal to the HTTP status. The docs show this body for a chain name the API doesn't recognize:

{ "data": null, "error": true, "error_message": "Chain nosuchchain-mainnet not supported.", "error_code": 501 }

A 501 means the request was well formed but the chain or endpoint can't serve it, so retrying it unchanged won't help; for a collection outside the 6 chains above, read ownerOf from the contract instead. A 401 means the key is missing or wrong, and a request with no Authorization header at all gets an HTML 401 page from the edge proxy rather than JSON, which is why ownsToken reads the body with res.text() before it throws. Failed requests cost no credits. Every code and what to do about it is in the error handling docs.

Real projects using chip-linked NFTs

  • Azuki's Golden Skateboard. Azuki's team wrote ERC-5791, and pbt.io, the standard's site, presents it with Azuki's chipped Golden Skateboard as "scan-to-own".
  • Arx HaLo chips. Arx (KONG) makes the HaLo chips the PBT repository names as a compatible vendor, and lists Azuki, Metafactory and Rags (NFC-chipped apparel) among the projects using them. It also runs ERS, a registry that resolves a chip to the contract it belongs to, permissioned and in alpha when we checked on 20 November 2026.
  • KONG cash. KONG notes are physical notes with a secure element whose public key is stored in a time-locked contract. You verify a note by sending it a nonce over NFC and checking the signature against that key, and only a signature from the chip can claim the crypto after the note's expiry date.

Limitations of NFC-linked NFTs

  • The chip must stay with the item. ERC-5791 leaves out how a chip is attached, so a chip cut out of a genuine item and put in a fake still signs. Tamper-evident mounting (chips that break when removed) is the usual answer.
  • Somebody still vouches for the pairing. The contract proves which chip belongs to which token, not that the chip was put into a genuine product in the first place. You trust the brand or minter at that step, which is why registries like ERS record who embedded each chip.
  • Rolling codes need the brand's server. With symmetric-key tags, only the key holder can verify, and checking stops if the service shuts down.
  • Phone support is uneven. Every recent phone reads an NDEF URL, but challenge-response needs either an app or a library that works around browser limits; Web NFC alone can't do it.
  • Cost and durability. A secure-element chip costs more than a sticker, and both can be damaged by washing, heat or metal nearby. Neither fits cheap goods.
  • Gas and wallets. Claiming an ERC-5791 token is an onchain transaction, so the buyer needs a wallet and pays gas, or the brand sponsors it.

Frequently asked questions

What is a phygital NFT?

A phygital NFT is a token tied to a physical item, usually through an NFC chip embedded in the item. Tapping the item with a phone shows the token, which serves as a certificate of authenticity and a record of ownership. How strong the link is depends on whether the chip can prove it is the original.

Can an NFC tag on a product be cloned?

A plain NFC tag that stores a fixed URL can be cloned with a phone app and a blank tag. A rolling-code tag like NTAG 424 DNA resists copying because each tap produces a new code, and a secure-element chip like HaLo can't be cloned because it signs challenges with a private key that never leaves the chip.

What is ERC-5791?

ERC-5791, Physical Backed Tokens, is a draft Ethereum standard that extends ERC-721 so each token is paired with a chip in a physical item. Normal transfers are disabled, and the token moves only with a signature from the chip, so whoever holds the item controls the token.

How do you verify an NFC-linked NFT?

Tap the item, send its chip a fresh challenge and check the signature against the chip's registered address, then look up the token paired with that chip and check who holds it. An NFT API such as GoldRush's token ownership check answers the last step in one call.

Do I need an app to scan an NFC NFT?

Not to open it: recent iPhones and NFC-enabled Android phones open a tag's URL with no app. A full challenge-response check needs a native app or a library such as libhalo, which works from Chrome on Android and Safari on iOS.

Next steps

Get new guides by email

New tutorials and best practices for building with blockchain data, sent as they're published.