{"eip":7765,"title":"Privileged Non-Fungible Tokens Tied To RWA","description":"An interface extending ERC-721 representing real world assets that users can exercise privileges with NFTs.","authors":["frank (@frankmint2024) \u003cfrank@mintchain.io\u003e"],"status":"Draft","type":"Standards Track","category":"ERC","created":"2024-08-20","requires":[165,721],"discussionsTo":"https://ethereum-magicians.org/t/erc7765-privileged-non-fungible-tokens-tied-to-rwa/21048","repo":"ERCs","label":"ERC-7765","officialUrl":"https://eips.ethereum.org/EIPS/eip-7765","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-7765.md","url":"https://eips.huatuo.xyz/eip-7765/","tldr":{"en":"An ERC-721 extension for NFTs tied to real-world assets that carry redeemable privileges, with a standard way to exercise a privilege on-chain and check whether it has been used.","ja":"引き換え可能な特典を持つ、現実世界の資産に紐づく NFT のための ERC-721 拡張。特典をオンチェーンで行使し、使用済みかどうかを確認するための標準的な方法を定める。","ko":"교환 가능한 특권을 가진 실물 자산 연동 NFT를 위한 ERC-721 확장. 특권을 온체인에서 행사하고 이미 사용되었는지 확인하는 표준 방법을 제공한다.","zh":"ERC-721 扩展，用于与现实资产绑定、带有可兑换权益的 NFT，提供在链上行使权益并检查其是否已被使用的标准方式。"},"tags":["nft","rwa","redemption","erc721","privileges"],"explainers":{"en":{"lang":"en","tldr":"An ERC-721 extension for NFTs tied to real-world assets that carry redeemable privileges, with a standard way to exercise a privilege on-chain and check whether it has been used.","tags":["nft","rwa","redemption","erc721","privileges"],"related":[721,165],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-7765/","markdown":"## What problem does it solve?\n\nNFTs are often sold as a claim on something in the real world: a pair of shoes, a ticket, a service voucher. The holder wants to **redeem** that claim, and the seller needs an on-chain record that a specific right was used, so it cannot be claimed twice.\n\nEvery project builds its own redemption logic today, so wallets, marketplaces and fulfilment services cannot handle these tokens generically. ERC-7765 standardises how an NFT exposes its privileges and how a holder exercises them.\n\n## How it works\n\nThe token is a normal [ERC-721](/eip-721/) NFT (transfers and approvals unchanged) that additionally implements `IERC7765`:\n\n| Function / event | Purpose |\n| --- | --- |\n| `getPrivilegeIds(tokenId)` | List the privileges attached to a token |\n| `isExercisable(to, tokenId, privilegeId)` | Can this privilege currently be exercised for `to`? |\n| `isExercised(to, tokenId, privilegeId)` | Has it already been exercised for `to`? |\n| `exercisePrivilege(to, tokenId, privilegeId, data)` | Exercise it; should emit `PrivilegeExercised` |\n| `PrivilegeExercised(operator, to, tokenId, privilegeId)` | Signal that off-chain fulfilment can start |\n\nThe `to` parameter lets a privilege benefit someone other than the holder or the caller (for example, sending a gift). The `data` bytes are free-form, for shipping references or for privileges settled on-chain.\n\nAn optional `IERC7765Metadata` extension adds `privilegeURI(privilegeId)`, pointing to JSON with `name`, `description` and `resource` for each privilege.\n\nThe standard deliberately does **not** decide who may call `exercisePrivilege`; access control is left to each implementation.\n\n## Sample code\n\n```solidity\n// SPDX-License-Identifier: CC0-1.0\npragma solidity ^0.8.20;\n\ninterface IERC7765 {\n    event PrivilegeExercised(\n        address indexed _operator,\n        address indexed _to,\n        uint256 indexed _tokenId,\n        uint256 _privilegeId\n    );\n\n    function exercisePrivilege(address _to, uint256 _tokenId, uint256 _privilegeId, bytes calldata _data) external;\n    function isExercisable(address _to, uint256 _tokenId, uint256 _privilegeId) external view returns (bool);\n    function isExercised(address _to, uint256 _tokenId, uint256 _privilegeId) external view returns (bool);\n    function getPrivilegeIds(uint256 _tokenId) external view returns (uint256[] memory);\n}\n```\n\nA fulfilment service watching for redemptions (ethers v6):\n\n```ts\nimport { Contract, JsonRpcProvider } from \"ethers\";\n\nconst provider = new JsonRpcProvider(process.env.RPC_URL);\nconst nft = new Contract(nftAddress, [\n  \"event PrivilegeExercised(address indexed _operator, address indexed _to, uint256 indexed _tokenId, uint256 _privilegeId)\",\n], provider);\n\nnft.on(\"PrivilegeExercised\", (operator, to, tokenId, privilegeId) =\u003e {\n  console.log(`ship privilege ${privilegeId} of token ${tokenId} for ${to}`);\n});\n```\n\n## Things to know\n\n- **Status: Draft.** The interface may still change.\n- The chain only records that a privilege was claimed. Delivering the physical item or service depends entirely on the issuer, so buyers rely on the issuer's off-chain promise.\n- Implementations must track per-token, per-privilege state carefully and define clear access control on `exercisePrivilege`; the spec calls out both as the main security concerns.\n- Support should be advertised via [ERC-165](/eip-165/) `supportsInterface`.\n"},"ja":{"lang":"ja","tldr":"引き換え可能な特典を持つ、現実世界の資産に紐づく NFT のための ERC-721 拡張。特典をオンチェーンで行使し、使用済みかどうかを確認するための標準的な方法を定める。","tags":["nft","rwa","redemption","erc721","privileges"],"related":[721,165],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-7765/","markdown":"## 何を解決するのか\n\nNFT は、現実世界の何かに対する権利として販売されることがよくあります。靴一足、チケット、サービスの引換券などです。保有者はその権利を**引き換え（redeem）**たく、販売者は特定の権利が行使されたことをオンチェーンの記録として残し、二重に請求されないようにする必要があります。\n\n現状ではプロジェクトごとに独自の引き換えロジックが作られているため、ウォレット、マーケットプレイス、フルフィルメント事業者はこうしたトークンを汎用的に扱えません。ERC-7765 は、NFT が特典をどのように公開し、保有者がそれをどのように行使するかを標準化します。\n\n## 仕組み\n\nトークンは通常の [ERC-721](/eip-721/) NFT（転送と承認は変更なし）であり、加えて `IERC7765` を実装します。\n\n| 関数／イベント | 役割 |\n| --- | --- |\n| `getPrivilegeIds(tokenId)` | トークンに付与された特典の一覧 |\n| `isExercisable(to, tokenId, privilegeId)` | この特典を `to` のために現在行使できるか |\n| `isExercised(to, tokenId, privilegeId)` | `to` のためにすでに行使されたか |\n| `exercisePrivilege(to, tokenId, privilegeId, data)` | 行使する。`PrivilegeExercised` を emit するべき |\n| `PrivilegeExercised(operator, to, tokenId, privilegeId)` | オフチェーンのフルフィルメントを開始できることを知らせる |\n\n`to` パラメーターにより、保有者や呼び出し元以外の人（たとえば贈り物の送り先）が特典の恩恵を受けられます。`data` の bytes は自由形式で、配送の参照情報や、オンチェーンで決済される特典に使えます。\n\n任意の `IERC7765Metadata` 拡張は `privilegeURI(privilegeId)` を追加し、各特典の `name`、`description`、`resource` を持つ JSON を指します。\n\nこの標準は、`exercisePrivilege` を**誰が**呼べるかをあえて定めていません。アクセス制御は各実装に任されています。\n\n## サンプルコード\n\n```solidity\n// SPDX-License-Identifier: CC0-1.0\npragma solidity ^0.8.20;\n\ninterface IERC7765 {\n    event PrivilegeExercised(\n        address indexed _operator,\n        address indexed _to,\n        uint256 indexed _tokenId,\n        uint256 _privilegeId\n    );\n\n    function exercisePrivilege(address _to, uint256 _tokenId, uint256 _privilegeId, bytes calldata _data) external;\n    function isExercisable(address _to, uint256 _tokenId, uint256 _privilegeId) external view returns (bool);\n    function isExercised(address _to, uint256 _tokenId, uint256 _privilegeId) external view returns (bool);\n    function getPrivilegeIds(uint256 _tokenId) external view returns (uint256[] memory);\n}\n```\n\n引き換えを監視するフルフィルメントサービスの例（ethers v6）:\n\n```ts\nimport { Contract, JsonRpcProvider } from \"ethers\";\n\nconst provider = new JsonRpcProvider(process.env.RPC_URL);\nconst nft = new Contract(nftAddress, [\n  \"event PrivilegeExercised(address indexed _operator, address indexed _to, uint256 indexed _tokenId, uint256 _privilegeId)\",\n], provider);\n\nnft.on(\"PrivilegeExercised\", (operator, to, tokenId, privilegeId) =\u003e {\n  console.log(`ship privilege ${privilegeId} of token ${tokenId} for ${to}`);\n});\n```\n\n## 知っておくべきこと\n\n- **ステータス: Draft。** インターフェースは今後変わる可能性があります。\n- チェーンが記録するのは、特典が請求されたことだけです。現物やサービスの提供は完全に発行者次第なので、購入者は発行者のオフチェーンでの約束に依存します。\n- 実装は、トークンごと・特典ごとの状態を慎重に追跡し、`exercisePrivilege` に明確なアクセス制御を定義しなければなりません。仕様はこの 2 点を主なセキュリティ上の懸念として挙げています。\n- 対応は [ERC-165](/eip-165/) の `supportsInterface` で公開するべきです。\n"},"ko":{"lang":"ko","tldr":"교환 가능한 특권을 가진 실물 자산 연동 NFT를 위한 ERC-721 확장. 특권을 온체인에서 행사하고 이미 사용되었는지 확인하는 표준 방법을 제공한다.","tags":["nft","rwa","redemption","erc721","privileges"],"related":[721,165],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-7765/","markdown":"## 어떤 문제를 해결하나요?\n\nNFT는 현실 세계의 무언가에 대한 권리로 판매되는 일이 많습니다. 신발 한 켤레, 티켓, 서비스 쿠폰 같은 것들입니다. 보유자는 그 권리를 **교환(redeem)**하고 싶어 하고, 판매자는 특정 권리가 사용되었다는 온체인 기록이 있어야 같은 권리가 두 번 청구되지 않습니다.\n\n현재는 프로젝트마다 자체 교환 로직을 만들기 때문에 지갑, 마켓플레이스, 이행(fulfilment) 서비스가 이런 토큰을 범용적으로 다룰 수 없습니다. ERC-7765는 NFT가 특권을 노출하는 방식과 보유자가 이를 행사하는 방식을 표준화합니다.\n\n## 어떻게 동작하나요?\n\n토큰은 일반적인 [ERC-721](/eip-721/) NFT(전송과 승인은 그대로)이며, 추가로 `IERC7765`를 구현합니다.\n\n| 함수 / 이벤트 | 용도 |\n| --- | --- |\n| `getPrivilegeIds(tokenId)` | 토큰에 연결된 특권 목록 |\n| `isExercisable(to, tokenId, privilegeId)` | 이 특권을 지금 `to`를 위해 행사할 수 있는가? |\n| `isExercised(to, tokenId, privilegeId)` | `to`를 위해 이미 행사되었는가? |\n| `exercisePrivilege(to, tokenId, privilegeId, data)` | 행사한다. `PrivilegeExercised`를 emit해야 한다 |\n| `PrivilegeExercised(operator, to, tokenId, privilegeId)` | 오프체인 이행을 시작해도 된다는 신호 |\n\n`to` 파라미터 덕분에 보유자나 호출자가 아닌 다른 사람이 특권의 혜택을 받을 수 있습니다(예: 선물). `data` 바이트는 자유 형식이며, 배송 참조 정보나 온체인에서 정산되는 특권에 쓸 수 있습니다.\n\n선택 사항인 `IERC7765Metadata` 확장은 `privilegeURI(privilegeId)`를 추가하며, 각 특권의 `name`, `description`, `resource`가 담긴 JSON을 가리킵니다.\n\n이 표준은 `exercisePrivilege`를 **누가** 호출할 수 있는지를 의도적으로 정하지 않습니다. 접근 제어는 각 구현에 맡겨져 있습니다.\n\n## 샘플 코드\n\n```solidity\n// SPDX-License-Identifier: CC0-1.0\npragma solidity ^0.8.20;\n\ninterface IERC7765 {\n    event PrivilegeExercised(\n        address indexed _operator,\n        address indexed _to,\n        uint256 indexed _tokenId,\n        uint256 _privilegeId\n    );\n\n    function exercisePrivilege(address _to, uint256 _tokenId, uint256 _privilegeId, bytes calldata _data) external;\n    function isExercisable(address _to, uint256 _tokenId, uint256 _privilegeId) external view returns (bool);\n    function isExercised(address _to, uint256 _tokenId, uint256 _privilegeId) external view returns (bool);\n    function getPrivilegeIds(uint256 _tokenId) external view returns (uint256[] memory);\n}\n```\n\n교환을 지켜보는 이행 서비스 예시(ethers v6):\n\n```ts\nimport { Contract, JsonRpcProvider } from \"ethers\";\n\nconst provider = new JsonRpcProvider(process.env.RPC_URL);\nconst nft = new Contract(nftAddress, [\n  \"event PrivilegeExercised(address indexed _operator, address indexed _to, uint256 indexed _tokenId, uint256 _privilegeId)\",\n], provider);\n\nnft.on(\"PrivilegeExercised\", (operator, to, tokenId, privilegeId) =\u003e {\n  console.log(`ship privilege ${privilegeId} of token ${tokenId} for ${to}`);\n});\n```\n\n## 알아둘 점\n\n- **상태: Draft.** 인터페이스는 아직 바뀔 수 있습니다.\n- 체인은 특권이 청구되었다는 사실만 기록합니다. 실물이나 서비스의 전달은 전적으로 발행자에게 달려 있으므로 구매자는 발행자의 오프체인 약속에 의존합니다.\n- 구현은 토큰별, 특권별 상태를 신중하게 추적하고 `exercisePrivilege`에 명확한 접근 제어를 정의해야 합니다. 명세는 이 둘을 주된 보안 우려로 꼽습니다.\n- 지원 여부는 [ERC-165](/eip-165/)의 `supportsInterface`로 알려야 합니다.\n"},"zh":{"lang":"zh","tldr":"ERC-721 扩展，用于与现实资产绑定、带有可兑换权益的 NFT，提供在链上行使权益并检查其是否已被使用的标准方式。","tags":["nft","rwa","redemption","erc721","privileges"],"related":[721,165],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-7765/","markdown":"## 它解决什么问题？\n\nNFT 经常被作为对现实世界中某样东西的主张权出售：一双鞋、一张票、一张服务券。持有者想要**兑换（redeem）**这项权益，而卖家需要一条链上记录来证明某项特定权利已被使用，以免被重复主张。\n\n如今每个项目都自行构建兑换逻辑，因此钱包、市场和履约服务无法通用地处理这些代币。ERC-7765 标准化了 NFT 如何暴露其权益，以及持有者如何行使这些权益。\n\n## 它如何运作\n\n代币是普通的 [ERC-721](/eip-721/) NFT（转账和授权保持不变），并额外实现 `IERC7765`：\n\n| 函数 / 事件 | 用途 |\n| --- | --- |\n| `getPrivilegeIds(tokenId)` | 列出附加在代币上的权益 |\n| `isExercisable(to, tokenId, privilegeId)` | 当前能否为 `to` 行使该权益？ |\n| `isExercised(to, tokenId, privilegeId)` | 是否已经为 `to` 行使过？ |\n| `exercisePrivilege(to, tokenId, privilegeId, data)` | 行使权益；应触发 `PrivilegeExercised` |\n| `PrivilegeExercised(operator, to, tokenId, privilegeId)` | 表示链下履约可以开始 |\n\n`to` 参数让权益可以惠及持有者或调用者之外的人（例如送礼）。`data` 字节是自由格式的，可用于发货参考信息，或在链上结算的权益。\n\n可选的 `IERC7765Metadata` 扩展新增了 `privilegeURI(privilegeId)`，指向一份 JSON，其中包含每项权益的 `name`、`description` 和 `resource`。\n\n该标准有意**不**规定谁可以调用 `exercisePrivilege`；访问控制交由各个实现自行决定。\n\n## 示例代码\n\n```solidity\n// SPDX-License-Identifier: CC0-1.0\npragma solidity ^0.8.20;\n\ninterface IERC7765 {\n    event PrivilegeExercised(\n        address indexed _operator,\n        address indexed _to,\n        uint256 indexed _tokenId,\n        uint256 _privilegeId\n    );\n\n    function exercisePrivilege(address _to, uint256 _tokenId, uint256 _privilegeId, bytes calldata _data) external;\n    function isExercisable(address _to, uint256 _tokenId, uint256 _privilegeId) external view returns (bool);\n    function isExercised(address _to, uint256 _tokenId, uint256 _privilegeId) external view returns (bool);\n    function getPrivilegeIds(uint256 _tokenId) external view returns (uint256[] memory);\n}\n```\n\n监听兑换事件的履约服务（ethers v6）：\n\n```ts\nimport { Contract, JsonRpcProvider } from \"ethers\";\n\nconst provider = new JsonRpcProvider(process.env.RPC_URL);\nconst nft = new Contract(nftAddress, [\n  \"event PrivilegeExercised(address indexed _operator, address indexed _to, uint256 indexed _tokenId, uint256 _privilegeId)\",\n], provider);\n\nnft.on(\"PrivilegeExercised\", (operator, to, tokenId, privilegeId) =\u003e {\n  console.log(`ship privilege ${privilegeId} of token ${tokenId} for ${to}`);\n});\n```\n\n## 需要注意\n\n- **状态：Draft。**接口仍可能变化。\n- 链上只记录某项权益已被主张。实物或服务的交付完全取决于发行方，因此买家依赖的是发行方的链下承诺。\n- 实现必须仔细跟踪每个代币、每项权益的状态，并为 `exercisePrivilege` 定义清晰的访问控制；规范将这两点列为主要的安全隐患。\n- 应通过 [ERC-165](/eip-165/) 的 `supportsInterface` 声明支持。\n"}}}
