{"eip":6956,"title":"Asset-bound Non-Fungible Tokens","description":"Asset-bound NFTs anchor a token 1-1 to an asset and operations are authorized through oracle-attestation of control over the asset","authors":["Thomas Bergmueller (@tbergmueller)","Lukas Meyer (@ibex-technology)"],"status":"Review","type":"Standards Track","category":"ERC","created":"2023-04-29","requires":[165,721],"discussionsTo":"https://ethereum-magicians.org/t/erc-6956-asset-bound-non-fungible-tokens/14056","repo":"ERCs","label":"ERC-6956","officialUrl":"https://eips.ethereum.org/EIPS/eip-6956","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-6956.md","url":"https://eips.huatuo.xyz/eip-6956/","tldr":{"en":"Binds an NFT one-to-one to a physical or digital asset, and lets whoever proves control of that asset (attested by a trusted oracle) mint, transfer, approve or burn the NFT, without the current owner's signature.","ja":"NFT を物理的またはデジタルな資産と 1 対 1 で結びつけ、その資産の管理を証明した者（信頼されたオラクルが証明）が、現在の所有者の署名なしに NFT をミント、転送、承認、バーンできるようにする。","ko":"NFT를 물리적 또는 디지털 자산과 일대일로 묶고, 그 자산에 대한 통제권을 증명한 사람(신뢰할 수 있는 오라클이 증명)이 현재 소유자의 서명 없이 NFT를 민팅, 전송, 승인, 소각할 수 있게 한다.","zh":"将 NFT 与实体或数字资产一对一绑定，并允许证明自己控制该资产的人（由可信预言机证明）在无需当前所有者签名的情况下铸造、转移、授权或销毁该 NFT。"},"tags":["nft","phygital","physical-assets","oracle","attestation"],"explainers":{"en":{"lang":"en","tldr":"Binds an NFT one-to-one to a physical or digital asset, and lets whoever proves control of that asset (attested by a trusted oracle) mint, transfer, approve or burn the NFT, without the current owner's signature.","tags":["nft","phygital","physical-assets","oracle","attestation"],"related":[721,165,5192,4519,5791],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-6956/","markdown":"## What problem does it solve?\n\nNFTs are often used to represent real things: sneakers, collectibles, car parts, a house. With plain [ERC-721](/eip-721/), the link is weak: an asset identifier sits in mutable, off-chain metadata, and the NFT moves only when its current holder signs. If you sell the sneakers but the old owner keeps (or loses access to) the NFT, the token and the object drift apart.\n\nERC-6956 flips the source of truth. **Control of the asset decides who controls the NFT.** If you can prove you hold the object, you can claim its token, even if the previous holder is uncooperative or has lost their keys.\n\n## How it works\n\nKey terms from the spec:\n\n- **Anchor** — a unique `bytes32` id of the asset (for physical goods, typically a hashed serial number), mapped 1:1 to a token id via `tokenByAnchor` / `anchorByToken`. Token id `0` and anchor `0x0` are invalid.\n- **Oracle** — a trusted signer that verifies *proof of control*, for example that a phone specifying the `to` address is physically next to a tamper-resistant tag on the object.\n- **Attestation** — `abi.encode(to, anchor, attestationTime, validStartTime, validEndTime, signature)`, where the oracle signs `keccak256(to, anchor, attestationTime, validStartTime, validEndTime)`.\n\nAnyone may submit an attestation; neither sender nor receiver has to sign, and the gas can be paid by a third party such as the brand:\n\n- `transferAnchor(attestation)` — moves the token to `to`, or mints it if the anchor has no token yet.\n- `approveAnchor(attestation)` and `burnAnchor(attestation)` — allowed only if `approveAuthorization()` / `burnAuthorization()` include `ASSET`.\n- `decodeAttestationIfValid(attestation, data)` — checks the signer is a trusted oracle, the time window is valid and the attestation is unused, without changing state.\n\nEach attestation can be used only once (`AttestationUse` event, `attestationsUsedByAnchor`). Ordinary ERC-721 transfers are blocked unless the anchor is released, and batch transfers are not allowed.\n\nOptional extensions: **AttestationLimited** (cap how many times an anchor can move), **Floatable** (temporarily allow ordinary transfers without attestation, e.g. trading a pre-order) and **ValidAnchors** (a Merkle root of valid anchors, maintained by a role separate from the oracle).\n\n## Sample code\n\nOracle creating an attestation after verifying the user is at the object (ethers v6):\n\n```ts\nimport { AbiCoder, getBytes, solidityPackedKeccak256, Wallet } from \"ethers\";\n\nasync function makeAttestation(oracle: Wallet, to: string, anchor: string) {\n  const now = Math.floor(Date.now() / 1000);\n  const validStart = 0;\n  const validEnd = now + 15 * 60; // 15 minutes\n\n  const hash = solidityPackedKeccak256(\n    [\"address\", \"bytes32\", \"uint256\", \"uint256\", \"uint256\"],\n    [to, anchor, now, validStart, validEnd],\n  );\n  const sig = await oracle.signMessage(getBytes(hash));\n\n  return AbiCoder.defaultAbiCoder().encode(\n    [\"address\", \"bytes32\", \"uint256\", \"uint256\", \"uint256\", \"bytes\"],\n    [to, anchor, now, validStart, validEnd, sig],\n  );\n}\n\n// any account (e.g. the issuer's gas payer) can submit it\nawait abnft.connect(gasPayer).transferAnchor(await makeAttestation(oracle, alice, anchor));\n```\n\n## Things to know\n\n- **Status: Review.**\n- **Theft follows the object.** If the asset is stolen, the thief can claim the NFT; the oracle attests control, not legal ownership. Combine with a lock mechanism (e.g. [ERC-5192](/eip-5192/)) where that matters.\n- **Gas draining.** If the issuer pays gas for every attestation, an attacker holding one object can keep generating attestations to new addresses. The AttestationLimited extension is the recommended defence.\n- Everything rests on the oracle and the anchor technology. Easily copied tags (barcodes, ordinary NFC chips) are explicitly not recommended.\n- Hash serial numbers rather than using them directly, so token data does not reveal production volumes.\n- Related approaches: [ERC-4519](/eip-4519/) and [ERC-5791](/eip-5791/), which rely on assets with their own signing chips.\n"},"ja":{"lang":"ja","tldr":"NFT を物理的またはデジタルな資産と 1 対 1 で結びつけ、その資産の管理を証明した者（信頼されたオラクルが証明）が、現在の所有者の署名なしに NFT をミント、転送、承認、バーンできるようにする。","tags":["nft","phygital","physical-assets","oracle","attestation"],"related":[721,165,5192,4519,5791],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-6956/","markdown":"## 何を解決するのか\n\nNFT はスニーカー、コレクティブル、自動車部品、家など、現実のものを表すためによく使われます。通常の [ERC-721](/eip-721/) では、その結びつきは弱いものです。資産の識別子は変更可能なオフチェーンのメタデータにあり、NFT は現在の保有者が署名したときにしか動きません。スニーカーを売ったのに以前の所有者が NFT を持ち続ける（あるいはアクセスを失う）と、トークンと現物がずれていってしまいます。\n\nERC-6956 は信頼の源を逆転させます。**資産の管理が、NFT を誰が管理するかを決めます。** 現物を持っていることを証明できれば、以前の保有者が非協力的だったり鍵を失っていたりしても、そのトークンを請求できます。\n\n## 仕組み\n\n仕様の主な用語：\n\n- **Anchor** — 資産の一意な `bytes32` の ID（物理的な商品では通常、ハッシュ化したシリアル番号）。`tokenByAnchor` / `anchorByToken` によって token id と 1 対 1 に対応づけられます。token id `0` と anchor `0x0` は無効です。\n- **Oracle** — *管理の証明*を検証する信頼された署名者。たとえば、`to` アドレスを指定したスマートフォンが、現物に付いた改ざん耐性のあるタグの物理的な近くにあることを確認します。\n- **Attestation** — `abi.encode(to, anchor, attestationTime, validStartTime, validEndTime, signature)`。オラクルは `keccak256(to, anchor, attestationTime, validStartTime, validEndTime)` に署名します。\n\n誰でも attestation を送信できます。送信者も受取人も署名する必要はなく、ガス代はブランドなどの第三者が支払えます。\n\n- `transferAnchor(attestation)` — トークンを `to` に移動します。anchor にまだトークンがなければミントします。\n- `approveAnchor(attestation)` と `burnAnchor(attestation)` — `approveAuthorization()` / `burnAuthorization()` に `ASSET` が含まれている場合のみ許可されます。\n- `decodeAttestationIfValid(attestation, data)` — 状態を変更せずに、署名者が信頼されたオラクルであること、時間枠が有効であること、attestation が未使用であることを確認します。\n\n各 attestation は 1 回しか使えません（`AttestationUse` イベント、`attestationsUsedByAnchor`）。通常の ERC-721 転送は、anchor が解放されていない限りブロックされ、バッチ転送は許可されません。\n\n任意の拡張：**AttestationLimited**（anchor が移動できる回数の上限）、**Floatable**（attestation なしの通常の転送を一時的に許可。たとえば予約販売の取引）、**ValidAnchors**（有効な anchor の Merkle ルート。オラクルとは別のロールが管理）。\n\n## サンプルコード\n\nユーザーが現物の場所にいることを確認した後に、オラクルが attestation を作成する例（ethers v6）:\n\n```ts\nimport { AbiCoder, getBytes, solidityPackedKeccak256, Wallet } from \"ethers\";\n\nasync function makeAttestation(oracle: Wallet, to: string, anchor: string) {\n  const now = Math.floor(Date.now() / 1000);\n  const validStart = 0;\n  const validEnd = now + 15 * 60; // 15 minutes\n\n  const hash = solidityPackedKeccak256(\n    [\"address\", \"bytes32\", \"uint256\", \"uint256\", \"uint256\"],\n    [to, anchor, now, validStart, validEnd],\n  );\n  const sig = await oracle.signMessage(getBytes(hash));\n\n  return AbiCoder.defaultAbiCoder().encode(\n    [\"address\", \"bytes32\", \"uint256\", \"uint256\", \"uint256\", \"bytes\"],\n    [to, anchor, now, validStart, validEnd, sig],\n  );\n}\n\n// any account (e.g. the issuer's gas payer) can submit it\nawait abnft.connect(gasPayer).transferAnchor(await makeAttestation(oracle, alice, anchor));\n```\n\n## 知っておくべきこと\n\n- **ステータス: Review。**\n- **盗難は現物に付いてくる。** 資産が盗まれた場合、盗んだ者が NFT を請求できます。オラクルが証明するのは管理であり、法的な所有権ではありません。それが重要な場合は、ロック機構（例: [ERC-5192](/eip-5192/)）と組み合わせてください。\n- **ガスの枯渇。** 発行者がすべての attestation のガスを負担すると、現物を 1 つ持つ攻撃者が新しいアドレスへの attestation を生成し続けられます。推奨される対策は AttestationLimited 拡張です。\n- すべてはオラクルと anchor の技術にかかっています。簡単に複製できるタグ（バーコードや通常の NFC チップ）は、明示的に推奨されていません。\n- シリアル番号は直接使わずハッシュ化してください。そうすればトークンのデータから生産量が分かりません。\n- 関連するアプローチ：[ERC-4519](/eip-4519/) と [ERC-5791](/eip-5791/)。これらは独自の署名チップを持つ資産に依存します。\n"},"ko":{"lang":"ko","tldr":"NFT를 물리적 또는 디지털 자산과 일대일로 묶고, 그 자산에 대한 통제권을 증명한 사람(신뢰할 수 있는 오라클이 증명)이 현재 소유자의 서명 없이 NFT를 민팅, 전송, 승인, 소각할 수 있게 한다.","tags":["nft","phygital","physical-assets","oracle","attestation"],"related":[721,165,5192,4519,5791],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-6956/","markdown":"## 어떤 문제를 해결하나요?\n\nNFT는 운동화, 수집품, 자동차 부품, 집 같은 실물을 나타내는 데 자주 쓰입니다. 일반 [ERC-721](/eip-721/)에서는 그 연결이 약합니다. 자산 식별자는 변경 가능한 오프체인 메타데이터에 있고, NFT는 현재 보유자가 서명할 때만 움직입니다. 운동화를 팔았는데 이전 소유자가 NFT를 계속 갖고 있거나(또는 접근 권한을 잃으면) 토큰과 실물이 어긋나게 됩니다.\n\nERC-6956은 신뢰의 원천을 뒤집습니다. **자산에 대한 통제권이 NFT를 누가 통제하는지 결정합니다.** 실물을 가지고 있음을 증명할 수 있다면, 이전 보유자가 협조하지 않거나 키를 잃어버렸더라도 그 토큰을 청구할 수 있습니다.\n\n## 어떻게 동작하나요?\n\n명세의 핵심 용어:\n\n- **Anchor** — 자산의 고유한 `bytes32` id(실물 상품은 보통 해시한 일련번호). `tokenByAnchor` / `anchorByToken`으로 token id와 일대일 대응됩니다. token id `0`과 anchor `0x0`은 유효하지 않습니다.\n- **Oracle** — *통제 증명*을 검증하는 신뢰할 수 있는 서명자. 예를 들어 `to` 주소를 지정한 휴대폰이 물건에 붙은 변조 방지 태그 바로 옆에 있는지 확인합니다.\n- **Attestation** — `abi.encode(to, anchor, attestationTime, validStartTime, validEndTime, signature)`. 오라클은 `keccak256(to, anchor, attestationTime, validStartTime, validEndTime)`에 서명합니다.\n\n누구나 attestation을 제출할 수 있습니다. 보내는 쪽도 받는 쪽도 서명할 필요가 없으며, 가스비는 브랜드 같은 제3자가 낼 수 있습니다.\n\n- `transferAnchor(attestation)` — 토큰을 `to`로 옮기고, anchor에 아직 토큰이 없으면 민팅합니다.\n- `approveAnchor(attestation)`와 `burnAnchor(attestation)` — `approveAuthorization()` / `burnAuthorization()`에 `ASSET`이 포함된 경우에만 허용됩니다.\n- `decodeAttestationIfValid(attestation, data)` — 상태를 바꾸지 않고, 서명자가 신뢰할 수 있는 오라클인지, 시간 창이 유효한지, attestation이 아직 사용되지 않았는지 확인합니다.\n\n각 attestation은 한 번만 사용할 수 있습니다(`AttestationUse` 이벤트, `attestationsUsedByAnchor`). 일반 ERC-721 전송은 anchor가 해제(release)되지 않는 한 차단되며, 배치 전송은 허용되지 않습니다.\n\n선택적 확장: **AttestationLimited**(anchor가 이동할 수 있는 횟수 제한), **Floatable**(attestation 없는 일반 전송을 일시적으로 허용. 예: 사전 주문 거래), **ValidAnchors**(유효한 anchor의 Merkle 루트이며, 오라클과 별개의 역할이 관리).\n\n## 샘플 코드\n\n오라클이 사용자가 물건 옆에 있음을 확인한 뒤 attestation을 만드는 예(ethers v6):\n\n```ts\nimport { AbiCoder, getBytes, solidityPackedKeccak256, Wallet } from \"ethers\";\n\nasync function makeAttestation(oracle: Wallet, to: string, anchor: string) {\n  const now = Math.floor(Date.now() / 1000);\n  const validStart = 0;\n  const validEnd = now + 15 * 60; // 15 minutes\n\n  const hash = solidityPackedKeccak256(\n    [\"address\", \"bytes32\", \"uint256\", \"uint256\", \"uint256\"],\n    [to, anchor, now, validStart, validEnd],\n  );\n  const sig = await oracle.signMessage(getBytes(hash));\n\n  return AbiCoder.defaultAbiCoder().encode(\n    [\"address\", \"bytes32\", \"uint256\", \"uint256\", \"uint256\", \"bytes\"],\n    [to, anchor, now, validStart, validEnd, sig],\n  );\n}\n\n// any account (e.g. the issuer's gas payer) can submit it\nawait abnft.connect(gasPayer).transferAnchor(await makeAttestation(oracle, alice, anchor));\n```\n\n## 알아둘 점\n\n- **상태: Review.**\n- **도난은 실물을 따라간다.** 자산이 도난당하면 도둑이 NFT를 청구할 수 있습니다. 오라클이 증명하는 것은 통제권이지 법적 소유권이 아닙니다. 그것이 중요하다면 잠금 메커니즘(예: [ERC-5192](/eip-5192/))과 함께 쓰세요.\n- **가스 고갈.** 발행자가 모든 attestation의 가스비를 내면, 실물 하나를 가진 공격자가 새 주소로 향하는 attestation을 계속 만들어 낼 수 있습니다. 권장되는 방어책은 AttestationLimited 확장입니다.\n- 모든 것이 오라클과 anchor 기술에 달려 있습니다. 쉽게 복제할 수 있는 태그(바코드, 일반 NFC 칩)는 명시적으로 권장되지 않습니다.\n- 일련번호는 그대로 쓰지 말고 해시하세요. 그래야 토큰 데이터로 생산량이 드러나지 않습니다.\n- 관련 접근법: [ERC-4519](/eip-4519/)와 [ERC-5791](/eip-5791/). 이들은 자체 서명 칩이 있는 자산에 의존합니다.\n"},"zh":{"lang":"zh","tldr":"将 NFT 与实体或数字资产一对一绑定，并允许证明自己控制该资产的人（由可信预言机证明）在无需当前所有者签名的情况下铸造、转移、授权或销毁该 NFT。","tags":["nft","phygital","physical-assets","oracle","attestation"],"related":[721,165,5192,4519,5791],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-6956/","markdown":"## 它解决什么问题？\n\nNFT 常被用来代表现实中的东西：运动鞋、收藏品、汽车零件、房子。使用普通的 [ERC-721](/eip-721/)，这种关联很弱：资产标识符存放在可变的链下元数据中，而 NFT 只有在当前持有者签名时才会移动。如果你卖掉了运动鞋，但旧主人仍持有（或失去了访问权限）NFT，代币与实物就会脱节。\n\nERC-6956 颠倒了可信来源。**对资产的控制决定谁控制 NFT。** 只要你能证明自己持有该实物，就可以认领它的代币，即使前任持有者不配合或丢失了密钥。\n\n## 它如何运作\n\n规范中的关键术语：\n\n- **Anchor（锚点）** — 资产唯一的 `bytes32` id（对实体商品通常是哈希后的序列号），通过 `tokenByAnchor` / `anchorByToken` 与 token id 一一对应。token id `0` 和 anchor `0x0` 无效。\n- **Oracle（预言机）** — 验证*控制权证明*的可信签名者，例如，确认指定了 `to` 地址的手机确实在物体上防篡改标签的物理附近。\n- **Attestation（证明）** — `abi.encode(to, anchor, attestationTime, validStartTime, validEndTime, signature)`，其中预言机对 `keccak256(to, anchor, attestationTime, validStartTime, validEndTime)` 签名。\n\n任何人都可以提交 attestation；发送方和接收方都不必签名，gas 可以由品牌方等第三方支付：\n\n- `transferAnchor(attestation)` — 将代币转移给 `to`，如果该 anchor 还没有代币，则铸造。\n- `approveAnchor(attestation)` 和 `burnAnchor(attestation)` — 仅当 `approveAuthorization()` / `burnAuthorization()` 包含 `ASSET` 时才允许。\n- `decodeAttestationIfValid(attestation, data)` — 在不改变状态的情况下，检查签名者是否为可信预言机、时间窗口是否有效以及 attestation 是否未被使用。\n\n每个 attestation 只能使用一次（`AttestationUse` 事件，`attestationsUsedByAnchor`）。除非 anchor 已被释放，否则普通的 ERC-721 转账会被阻止，且不允许批量转账。\n\n可选扩展：**AttestationLimited**（限制 anchor 可移动的次数）、**Floatable**（临时允许无需 attestation 的普通转账，例如交易预订单）和 **ValidAnchors**（有效 anchor 的 Merkle 根，由与预言机分离的角色维护）。\n\n## 示例代码\n\n预言机在验证用户位于物体旁之后创建 attestation（ethers v6）：\n\n```ts\nimport { AbiCoder, getBytes, solidityPackedKeccak256, Wallet } from \"ethers\";\n\nasync function makeAttestation(oracle: Wallet, to: string, anchor: string) {\n  const now = Math.floor(Date.now() / 1000);\n  const validStart = 0;\n  const validEnd = now + 15 * 60; // 15 minutes\n\n  const hash = solidityPackedKeccak256(\n    [\"address\", \"bytes32\", \"uint256\", \"uint256\", \"uint256\"],\n    [to, anchor, now, validStart, validEnd],\n  );\n  const sig = await oracle.signMessage(getBytes(hash));\n\n  return AbiCoder.defaultAbiCoder().encode(\n    [\"address\", \"bytes32\", \"uint256\", \"uint256\", \"uint256\", \"bytes\"],\n    [to, anchor, now, validStart, validEnd, sig],\n  );\n}\n\n// any account (e.g. the issuer's gas payer) can submit it\nawait abnft.connect(gasPayer).transferAnchor(await makeAttestation(oracle, alice, anchor));\n```\n\n## 需要注意\n\n- **状态：Review。**\n- **盗窃随实物而行。** 如果资产被盗，窃贼可以认领该 NFT；预言机证明的是控制权，而非法律上的所有权。若这很重要，请结合锁定机制（例如 [ERC-5192](/eip-5192/)）。\n- **耗尽 gas。** 如果发行方为每个 attestation 支付 gas，持有一件实物的攻击者可以不断向新地址生成 attestation。推荐的防御措施是 AttestationLimited 扩展。\n- 一切都取决于预言机和 anchor 技术。明确不推荐容易被复制的标签（条形码、普通 NFC 芯片）。\n- 请对序列号做哈希，而不是直接使用，以免代币数据泄露产量。\n- 相关方案：[ERC-4519](/eip-4519/) 和 [ERC-5791](/eip-5791/)，它们依赖带有自身签名芯片的资产。\n"}}}
