{"eip":5484,"title":"Consensual Soulbound Tokens","description":"Interface for special NFTs with immutable ownership and pre-determined immutable burn authorization","authors":["Buzz Cai (@buzzcai)"],"status":"Final","type":"Standards Track","category":"ERC","created":"2022-08-17","requires":[165,721],"discussionsTo":"https://ethereum-magicians.org/t/eip-5484-consensual-soulbound-tokens/10424","repo":"ERCs","label":"ERC-5484","officialUrl":"https://eips.ethereum.org/EIPS/eip-5484","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-5484.md","url":"https://eips.huatuo.xyz/eip-5484/","tldr":{"en":"Non-transferable ERC-721 tokens where issuer and receiver agree up front on who may burn each token, a rule fixed forever at issuance.","ja":"譲渡不可の ERC-721 トークン。発行者と受領者が、各トークンを誰がバーンできるかを事前に合意し、そのルールは発行時に永久に固定される。","ko":"양도 불가능한 ERC-721 토큰. 발행자와 수령자가 각 토큰을 누가 소각할 수 있는지 사전에 합의하며, 그 규칙은 발행 시점에 영구히 고정된다.","zh":"不可转移的 ERC-721 代币：发行方与接收方事先约定谁可以销毁每个代币，该规则在发行时即永久固定。"},"tags":["soulbound","sbt","nft","erc-721","credentials"],"explainers":{"en":{"lang":"en","tldr":"Non-transferable ERC-721 tokens where issuer and receiver agree up front on who may burn each token, a rule fixed forever at issuance.","tags":["soulbound","sbt","nft","erc-721","credentials"],"related":[721,165,5192,6239,4973],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-5484/","markdown":"## What problem does it solve?\n\n\"Soulbound\" tokens (SBTs) are NFTs that cannot be transferred: credentials, memberships, loan or credit records tied to one account. Early implementations each did it differently, usually by making every transfer revert, which gave tools no clean way to tell an SBT from a broken NFT. They also disagreed on the key question for such tokens: who is allowed to destroy one?\n\nERC-5484 standardizes an SBT as a regular [ERC-721](/eip-721/) token with two additions: an explicit **burn authorization** per token, and an `Issued` event that marks soulbound issuance. Both parties consent to the burn rule before the token exists.\n\n## How it works\n\n- The token implements [ERC-165](/eip-165/) and ERC-721, plus `IERC5484` (interface ID `0x0489b56f`).\n- Each token has a `BurnAuth`, readable via `burnAuth(tokenId)`:\n\n| Value | Who can burn | Example use from the spec |\n| --- | --- | --- |\n| `IssuerOnly` (0) | Issuer | Loan record |\n| `OwnerOnly` (1) | Holder | Paid membership |\n| `Both` (2) | Either | Credentials |\n| `Neither` (3) | Nobody | Credit history |\n\n- `burnAuth` must be shown to the receiver, and the issuer must present the metadata and obtain the receiver's signature, **before** issuance. After issuance both `burnAuth` and metadata are immutable.\n- On mint the contract emits the normal ERC-721 `Transfer` plus `Issued(from, to, tokenId, burnAuth)`, so indexers can recognise SBT issuance without breaking NFT tooling.\n- Transfers still revert, but integrators can check `supportsInterface(0x0489b56f)` first instead of discovering it by failing.\n\n## Sample code\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\nimport {ERC721} from \"@openzeppelin/contracts/token/ERC721/ERC721.sol\";\n\ninterface IERC5484 {\n    enum BurnAuth { IssuerOnly, OwnerOnly, Both, Neither }\n    event Issued(address indexed from, address indexed to, uint256 indexed tokenId, BurnAuth burnAuth);\n    function burnAuth(uint256 tokenId) external view returns (BurnAuth);\n}\n\ncontract Credential is ERC721, IERC5484 {\n    address public immutable issuer;\n    mapping(uint256 =\u003e BurnAuth) private _auth;\n\n    constructor() ERC721(\"Credential\", \"CRED\") { issuer = msg.sender; }\n\n    // Receiver consent (signature over metadata + burnAuth) is checked offchain or here; omitted.\n    function issue(address to, uint256 id, BurnAuth auth) external {\n        require(msg.sender == issuer, \"issuer only\");\n        _auth[id] = auth;\n        _safeMint(to, id);\n        emit Issued(msg.sender, to, id, auth);\n    }\n\n    function burnAuth(uint256 id) external view returns (BurnAuth) {\n        _requireOwned(id);\n        return _auth[id];\n    }\n\n    function burn(uint256 id) external {\n        BurnAuth a = _auth[id];\n        bool ok = (msg.sender == issuer \u0026\u0026 (a == BurnAuth.IssuerOnly || a == BurnAuth.Both))\n               || (msg.sender == ownerOf(id) \u0026\u0026 (a == BurnAuth.OwnerOnly || a == BurnAuth.Both));\n        require(ok, \"not authorized\");\n        _burn(id);\n    }\n\n    // Block every transfer except mint and burn.\n    function _update(address to, uint256 id, address auth) internal override returns (address from) {\n        from = _ownerOf(id);\n        require(from == address(0) || to == address(0), \"soulbound\");\n        return super._update(to, id, auth);\n    }\n\n    function supportsInterface(bytes4 iid) public view override returns (bool) {\n        return iid == type(IERC5484).interfaceId || super.supportsInterface(iid);\n    }\n}\n```\n\n## Things to know\n\n- Status: **Final**.\n- The spec requires the receiver's signature before issuance but does not define its format; implementers choose one (an EIP-712 typed message is a natural fit).\n- The rationale text calls the second option `ReceiverOnly` while the interface names it `OwnerOnly`; the enum in the interface is what matters.\n- Burning is the route to key rotation: the authorised party burns the old token and the issuer re-issues to the new address.\n- Alternatives: [ERC-5192](/eip-5192/) (minimal `locked()` signal), [ERC-6239](/eip-6239/) (semantic SBTs) and [ERC-4973](/eip-4973/) (account-bound tokens, in Review).\n"},"ja":{"lang":"ja","tldr":"譲渡不可の ERC-721 トークン。発行者と受領者が、各トークンを誰がバーンできるかを事前に合意し、そのルールは発行時に永久に固定される。","tags":["soulbound","sbt","nft","erc-721","credentials"],"related":[721,165,5192,6239,4973],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-5484/","markdown":"## 何を解決するのか\n\n「ソウルバウンド」トークン（SBT）は、譲渡できない NFT です。資格証明、メンバーシップ、ローンや信用の記録など、1 つのアカウントに紐づくものに使われます。初期の実装はそれぞれ異なる方法を取り、たいていはすべての転送を revert させていたため、ツールは SBT と壊れた NFT を明確に区別できませんでした。また、こうしたトークンにとって重要な問い、つまり「誰がトークンを破棄してよいか」についても意見が一致していませんでした。\n\nERC-5484 は、SBT を通常の [ERC-721](/eip-721/) トークンに 2 つの要素を加えたものとして標準化します。トークンごとの明示的な**バーン権限**と、ソウルバウンドの発行を示す `Issued` イベントです。トークンが存在する前に、双方がバーンのルールに同意します。\n\n## 仕組み\n\n- トークンは [ERC-165](/eip-165/) と ERC-721 に加え、`IERC5484`（インターフェース ID `0x0489b56f`）を実装します。\n- 各トークンは `BurnAuth` を持ち、`burnAuth(tokenId)` で読み取れます。\n\n| 値 | バーンできる人 | 仕様にある利用例 |\n| --- | --- | --- |\n| `IssuerOnly` (0) | 発行者 | ローンの記録 |\n| `OwnerOnly` (1) | 保有者 | 有料メンバーシップ |\n| `Both` (2) | どちらでも | 資格証明 |\n| `Neither` (3) | 誰もできない | 信用履歴 |\n\n- `burnAuth` は受領者に提示されなければならず、発行者は発行**前**にメタデータを提示して受領者の署名を取得しなければなりません。発行後は、`burnAuth` もメタデータも変更できません。\n- ミント時に、コントラクトは通常の ERC-721 `Transfer` に加えて `Issued(from, to, tokenId, burnAuth)` を発行します。これにより、インデクサーは NFT 向けツールを壊すことなく SBT の発行を認識できます。\n- 転送は引き続き revert しますが、連携する側は失敗して初めて気づくのではなく、先に `supportsInterface(0x0489b56f)` を確認できます。\n\n## サンプルコード\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\nimport {ERC721} from \"@openzeppelin/contracts/token/ERC721/ERC721.sol\";\n\ninterface IERC5484 {\n    enum BurnAuth { IssuerOnly, OwnerOnly, Both, Neither }\n    event Issued(address indexed from, address indexed to, uint256 indexed tokenId, BurnAuth burnAuth);\n    function burnAuth(uint256 tokenId) external view returns (BurnAuth);\n}\n\ncontract Credential is ERC721, IERC5484 {\n    address public immutable issuer;\n    mapping(uint256 =\u003e BurnAuth) private _auth;\n\n    constructor() ERC721(\"Credential\", \"CRED\") { issuer = msg.sender; }\n\n    // Receiver consent (signature over metadata + burnAuth) is checked offchain or here; omitted.\n    function issue(address to, uint256 id, BurnAuth auth) external {\n        require(msg.sender == issuer, \"issuer only\");\n        _auth[id] = auth;\n        _safeMint(to, id);\n        emit Issued(msg.sender, to, id, auth);\n    }\n\n    function burnAuth(uint256 id) external view returns (BurnAuth) {\n        _requireOwned(id);\n        return _auth[id];\n    }\n\n    function burn(uint256 id) external {\n        BurnAuth a = _auth[id];\n        bool ok = (msg.sender == issuer \u0026\u0026 (a == BurnAuth.IssuerOnly || a == BurnAuth.Both))\n               || (msg.sender == ownerOf(id) \u0026\u0026 (a == BurnAuth.OwnerOnly || a == BurnAuth.Both));\n        require(ok, \"not authorized\");\n        _burn(id);\n    }\n\n    // Block every transfer except mint and burn.\n    function _update(address to, uint256 id, address auth) internal override returns (address from) {\n        from = _ownerOf(id);\n        require(from == address(0) || to == address(0), \"soulbound\");\n        return super._update(to, id, auth);\n    }\n\n    function supportsInterface(bytes4 iid) public view override returns (bool) {\n        return iid == type(IERC5484).interfaceId || super.supportsInterface(iid);\n    }\n}\n```\n\n## 知っておくべきこと\n\n- ステータス: **Final**。\n- 仕様は発行前に受領者の署名を要求していますが、その形式は定義していません。実装者が選びます（EIP-712 の型付きメッセージが自然な選択です）。\n- 根拠の文章では 2 番目の選択肢を `ReceiverOnly` と呼んでいますが、インターフェースでは `OwnerOnly` という名前です。重要なのはインターフェースの enum です。\n- バーンは鍵のローテーションへの道です。権限を持つ側が古いトークンをバーンし、発行者が新しいアドレスに再発行します。\n- 代替案: [ERC-5192](/eip-5192/)（最小限の `locked()` シグナル）、[ERC-6239](/eip-6239/)（セマンティック SBT）、[ERC-4973](/eip-4973/)（アカウントバウンドトークン、Review 中）。\n"},"ko":{"lang":"ko","tldr":"양도 불가능한 ERC-721 토큰. 발행자와 수령자가 각 토큰을 누가 소각할 수 있는지 사전에 합의하며, 그 규칙은 발행 시점에 영구히 고정된다.","tags":["soulbound","sbt","nft","erc-721","credentials"],"related":[721,165,5192,6239,4973],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-5484/","markdown":"## 어떤 문제를 해결하나요?\n\n\"소울바운드\" 토큰(SBT)은 양도할 수 없는 NFT입니다. 자격 증명, 멤버십, 하나의 계정에 묶인 대출이나 신용 기록 등이 그 예입니다. 초기 구현은 저마다 방식이 달랐고, 대개 모든 전송을 revert시켰기 때문에 도구가 SBT와 고장 난 NFT를 깔끔하게 구분할 수 없었습니다. 또 이런 토큰에서 핵심이 되는 질문, 즉 누가 토큰을 파기할 수 있는가에 대해서도 의견이 갈렸습니다.\n\nERC-5484는 SBT를 일반 [ERC-721](/eip-721/) 토큰에 두 가지를 더한 것으로 표준화합니다. 토큰별 명시적 **소각 권한**과 소울바운드 발행을 표시하는 `Issued` 이벤트입니다. 토큰이 존재하기 전에 양쪽 당사자가 소각 규칙에 동의합니다.\n\n## 어떻게 동작하나요?\n\n- 토큰은 [ERC-165](/eip-165/)와 ERC-721에 더해 `IERC5484`(인터페이스 ID `0x0489b56f`)를 구현합니다.\n- 각 토큰은 `BurnAuth`를 가지며 `burnAuth(tokenId)`로 읽을 수 있습니다.\n\n| 값 | 소각할 수 있는 주체 | 사양의 사용 예 |\n| --- | --- | --- |\n| `IssuerOnly` (0) | 발행자 | 대출 기록 |\n| `OwnerOnly` (1) | 보유자 | 유료 멤버십 |\n| `Both` (2) | 둘 중 누구든 | 자격 증명 |\n| `Neither` (3) | 아무도 못 함 | 신용 이력 |\n\n- `burnAuth`는 수령자에게 보여줘야 하며, 발행자는 발행 **전에** 메타데이터를 제시하고 수령자의 서명을 받아야 합니다. 발행 후에는 `burnAuth`와 메타데이터 모두 변경할 수 없습니다.\n- 발행(mint) 시 컨트랙트는 일반적인 ERC-721 `Transfer`와 함께 `Issued(from, to, tokenId, burnAuth)`를 발생시키므로, 인덱서는 NFT 도구를 깨뜨리지 않고도 SBT 발행을 인식할 수 있습니다.\n- 전송은 여전히 revert되지만, 연동하는 쪽은 실패해서 알게 되는 대신 먼저 `supportsInterface(0x0489b56f)`를 확인할 수 있습니다.\n\n## 샘플 코드\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\nimport {ERC721} from \"@openzeppelin/contracts/token/ERC721/ERC721.sol\";\n\ninterface IERC5484 {\n    enum BurnAuth { IssuerOnly, OwnerOnly, Both, Neither }\n    event Issued(address indexed from, address indexed to, uint256 indexed tokenId, BurnAuth burnAuth);\n    function burnAuth(uint256 tokenId) external view returns (BurnAuth);\n}\n\ncontract Credential is ERC721, IERC5484 {\n    address public immutable issuer;\n    mapping(uint256 =\u003e BurnAuth) private _auth;\n\n    constructor() ERC721(\"Credential\", \"CRED\") { issuer = msg.sender; }\n\n    // Receiver consent (signature over metadata + burnAuth) is checked offchain or here; omitted.\n    function issue(address to, uint256 id, BurnAuth auth) external {\n        require(msg.sender == issuer, \"issuer only\");\n        _auth[id] = auth;\n        _safeMint(to, id);\n        emit Issued(msg.sender, to, id, auth);\n    }\n\n    function burnAuth(uint256 id) external view returns (BurnAuth) {\n        _requireOwned(id);\n        return _auth[id];\n    }\n\n    function burn(uint256 id) external {\n        BurnAuth a = _auth[id];\n        bool ok = (msg.sender == issuer \u0026\u0026 (a == BurnAuth.IssuerOnly || a == BurnAuth.Both))\n               || (msg.sender == ownerOf(id) \u0026\u0026 (a == BurnAuth.OwnerOnly || a == BurnAuth.Both));\n        require(ok, \"not authorized\");\n        _burn(id);\n    }\n\n    // Block every transfer except mint and burn.\n    function _update(address to, uint256 id, address auth) internal override returns (address from) {\n        from = _ownerOf(id);\n        require(from == address(0) || to == address(0), \"soulbound\");\n        return super._update(to, id, auth);\n    }\n\n    function supportsInterface(bytes4 iid) public view override returns (bool) {\n        return iid == type(IERC5484).interfaceId || super.supportsInterface(iid);\n    }\n}\n```\n\n## 알아둘 점\n\n- 상태: **Final**.\n- 사양은 발행 전에 수령자의 서명을 요구하지만 그 형식은 정의하지 않습니다. 구현자가 선택합니다(EIP-712 타입 메시지가 자연스러운 선택입니다).\n- 근거 설명 글은 두 번째 옵션을 `ReceiverOnly`라고 부르지만 인터페이스에서는 `OwnerOnly`로 명명되어 있습니다. 중요한 것은 인터페이스의 enum입니다.\n- 소각은 키 교체로 가는 길입니다. 권한이 있는 쪽이 이전 토큰을 소각하고, 발행자가 새 주소로 다시 발행합니다.\n- 대안: [ERC-5192](/eip-5192/)(최소한의 `locked()` 신호), [ERC-6239](/eip-6239/)(시맨틱 SBT), [ERC-4973](/eip-4973/)(계정 바운드 토큰, Review 상태).\n"},"zh":{"lang":"zh","tldr":"不可转移的 ERC-721 代币：发行方与接收方事先约定谁可以销毁每个代币，该规则在发行时即永久固定。","tags":["soulbound","sbt","nft","erc-721","credentials"],"related":[721,165,5192,6239,4973],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-5484/","markdown":"## 它解决什么问题？\n\n\"灵魂绑定\"代币（SBT）是不能转移的 NFT：资质证明、会员资格、绑定到某个账户的贷款或信用记录。早期的实现各不相同，通常让所有转账都 revert，这使得工具无法清楚地区分 SBT 和有问题的 NFT。它们对这类代币的关键问题也意见不一：谁有权销毁它？\n\nERC-5484 把 SBT 标准化为一个常规的 [ERC-721](/eip-721/) 代币，并增加两样东西：每个代币明确的**销毁授权**，以及标记灵魂绑定发行的 `Issued` 事件。在代币存在之前，双方就已同意销毁规则。\n\n## 它如何运作\n\n- 代币实现 [ERC-165](/eip-165/) 和 ERC-721，外加 `IERC5484`（接口 ID `0x0489b56f`）。\n- 每个代币都有一个 `BurnAuth`，可通过 `burnAuth(tokenId)` 读取：\n\n| 值 | 谁可以销毁 | 规范中的示例用途 |\n| --- | --- | --- |\n| `IssuerOnly` (0) | 发行方 | 贷款记录 |\n| `OwnerOnly` (1) | 持有者 | 付费会员 |\n| `Both` (2) | 任意一方 | 资质证明 |\n| `Neither` (3) | 无人 | 信用历史 |\n\n- 必须向接收方展示 `burnAuth`，并且发行方必须在发行**之前**出示元数据并取得接收方的签名。发行之后，`burnAuth` 和元数据都不可更改。\n- 铸造时，合约会触发常规的 ERC-721 `Transfer`，以及 `Issued(from, to, tokenId, burnAuth)`，这样索引器可以识别 SBT 发行，而不会破坏 NFT 工具。\n- 转账仍然会 revert，但集成方可以先检查 `supportsInterface(0x0489b56f)`，而不必靠失败来发现。\n\n## 示例代码\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\nimport {ERC721} from \"@openzeppelin/contracts/token/ERC721/ERC721.sol\";\n\ninterface IERC5484 {\n    enum BurnAuth { IssuerOnly, OwnerOnly, Both, Neither }\n    event Issued(address indexed from, address indexed to, uint256 indexed tokenId, BurnAuth burnAuth);\n    function burnAuth(uint256 tokenId) external view returns (BurnAuth);\n}\n\ncontract Credential is ERC721, IERC5484 {\n    address public immutable issuer;\n    mapping(uint256 =\u003e BurnAuth) private _auth;\n\n    constructor() ERC721(\"Credential\", \"CRED\") { issuer = msg.sender; }\n\n    // Receiver consent (signature over metadata + burnAuth) is checked offchain or here; omitted.\n    function issue(address to, uint256 id, BurnAuth auth) external {\n        require(msg.sender == issuer, \"issuer only\");\n        _auth[id] = auth;\n        _safeMint(to, id);\n        emit Issued(msg.sender, to, id, auth);\n    }\n\n    function burnAuth(uint256 id) external view returns (BurnAuth) {\n        _requireOwned(id);\n        return _auth[id];\n    }\n\n    function burn(uint256 id) external {\n        BurnAuth a = _auth[id];\n        bool ok = (msg.sender == issuer \u0026\u0026 (a == BurnAuth.IssuerOnly || a == BurnAuth.Both))\n               || (msg.sender == ownerOf(id) \u0026\u0026 (a == BurnAuth.OwnerOnly || a == BurnAuth.Both));\n        require(ok, \"not authorized\");\n        _burn(id);\n    }\n\n    // Block every transfer except mint and burn.\n    function _update(address to, uint256 id, address auth) internal override returns (address from) {\n        from = _ownerOf(id);\n        require(from == address(0) || to == address(0), \"soulbound\");\n        return super._update(to, id, auth);\n    }\n\n    function supportsInterface(bytes4 iid) public view override returns (bool) {\n        return iid == type(IERC5484).interfaceId || super.supportsInterface(iid);\n    }\n}\n```\n\n## 需要注意\n\n- 状态：**Final**。\n- 规范要求发行前取得接收方的签名，但没有定义其格式；由实现者自行选择（EIP-712 类型化消息是自然的选择）。\n- 设计理由部分把第二个选项称为 `ReceiverOnly`，而接口中将其命名为 `OwnerOnly`；以接口中的枚举为准。\n- 销毁是实现密钥轮换的途径：被授权的一方销毁旧代币，发行方再向新地址重新发行。\n- 替代方案：[ERC-5192](/eip-5192/)（最简的 `locked()` 信号）、[ERC-6239](/eip-6239/)（语义化 SBT）和 [ERC-4973](/eip-4973/)（账户绑定代币，处于 Review 状态）。\n"}},"requiredBy":[5727]}
