{"eip":8290,"title":"Shielded Note Teleportation","description":"A method for importing and exporting notes between UTXO-based privacy protocols.","authors":["georgeh (@geovgy)"],"status":"Draft","type":"Standards Track","category":"ERC","created":"2026-06-05","discussionsTo":"https://ethereum-magicians.org/t/erc-8290-shielded-note-teleportation/28721","repo":"ERCs","label":"ERC-8290","officialUrl":"https://eips.ethereum.org/EIPS/eip-8290","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-8290.md","url":"https://eips.huatuo.xyz/eip-8290/","tldr":{"en":"Lets a private note move from one UTXO-style privacy pool to another by burning it to a destination-bound address and proving that in zero knowledge, instead of a public withdraw and re-deposit that links the two.","ja":"公開の出金と再入金（両者が結びついてしまう）の代わりに、宛先に紐づいたアドレスへノートをバーンし、それをゼロ知識で証明することで、プライベートノートをある UTXO 型プライバシープールから別のプールへ移せるようにする。","ko":"공개 출금 후 재입금(두 풀이 연결됨) 대신, 목적지에 묶인 주소로 노트를 소각하고 이를 영지식으로 증명해, 프라이빗 노트를 한 UTXO 방식 프라이버시 풀에서 다른 풀로 옮길 수 있게 한다.","zh":"通过把票据销毁到与目标绑定的地址并以零知识方式证明这一点，使隐私票据能从一个 UTXO 风格的隐私池转移到另一个，而不必进行会把两者关联起来的公开提款再存款。"},"tags":["privacy","zk","utxo","interoperability","notes"],"explainers":{"en":{"lang":"en","tldr":"Lets a private note move from one UTXO-style privacy pool to another by burning it to a destination-bound address and proving that in zero knowledge, instead of a public withdraw and re-deposit that links the two.","tags":["privacy","zk","utxo","interoperability","notes"],"related":[7503,155,712],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-8290/","markdown":"## What problem does it solve?\n\nPrivacy pools that use notes and nullifiers (Tornado-style, Railgun-style and similar) are isolated from each other. To move funds from one to another you must withdraw publicly and deposit publicly, which can reveal the asset, amount, both pools, timing and recipient, and links the two private histories.\n\nERC-8290 turns that move into a **proof of prior membership**. You lock or burn a note in the source pool to a special burn address that only the intended receiver in the destination pool can use. The destination pool then verifies a zero-knowledge proof and mints the matching private note. No asset flows publicly between the pools, and different protocols can compose without sharing a note format. The idea is related to the burn-address approach of [EIP-7503](/eip-7503/).\n\n## How it works\n\n1. **Burn address.** The sender creates a note in the source pool whose owner is\n\n   `burnAddress = H(chainId, dstPoolAddress, receiver, burnSecret, \"ZKTELEPORT\")`\n\n   It is bound to the destination chain ([EIP-155](/eip-155/) chain id), the destination pool and the receiver, so it cannot be replayed elsewhere. `burnSecret` should carry at least 128 bits of entropy.\n2. **Source membership.** The proof shows that the burn commitment is a leaf in a source pool root.\n3. **Canonical tree.** The proof shows that this source root is in a *canonical tree* the destination trusts: the chain's state tree or a custom Merkle tree whose roots a registry vouches for via `isValidRoot(bytes32)`.\n4. **Import.** The destination checks the proof, marks the nullifier(s) as spent, applies its backing policy, and inserts the new commitment or executes a withdrawal. The proof binds the asset context (token, id, amount, source pool, source chain) to the output so it cannot be altered.\n\nImports should be authorized by the receiver, for example with an [EIP-712](/eip-712/) signature verified inside the circuit. **Adapters** describe how each existing protocol's commitment format, tree hasher and burn condition map onto the scheme.\n\n## Sample code\n\nA destination import entry point, following the spec's reference outline:\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ninterface ICanonicalRootRegistry {\n    function isValidRoot(bytes32 root) external view returns (bool);\n}\n\nabstract contract TeleportDestination {\n    ICanonicalRootRegistry public immutable canonicalRootRegistry;\n    mapping(bytes32 =\u003e bool) public nullifierSpent;\n\n    constructor(ICanonicalRootRegistry r) { canonicalRootRegistry = r; }\n\n    function teleport(bytes calldata proof, bytes32 canonicalRoot, bytes32[] calldata nullifiers,\n                      bytes32[] calldata commitments) external {\n        require(canonicalRootRegistry.isValidRoot(canonicalRoot), \"invalid canonical root\");\n        _verifyTeleportProof(proof, canonicalRoot, nullifiers, commitments);\n        for (uint256 i; i \u003c nullifiers.length; i++) {\n            require(!nullifierSpent[nullifiers[i]], \"already imported\");\n            nullifierSpent[nullifiers[i]] = true;\n        }\n        _enforceBackingPolicy(commitments);      // imported value must be backed\n        _insertCommitments(commitments);\n    }\n\n    function _verifyTeleportProof(bytes calldata, bytes32, bytes32[] calldata, bytes32[] calldata) internal view virtual;\n    function _enforceBackingPolicy(bytes32[] calldata) internal virtual;\n    function _insertCommitments(bytes32[] calldata) internal virtual;\n}\n```\n\n## Things to know\n\n- **Status: Draft.** It is an opt-in standard; existing pools are unchanged unless they add an import method.\n- The hash function and field are left to implementations (the reference uses BN254 and Poseidon-style hashes), so two pools must agree on encodings through an adapter.\n- A valid proof alone is not permission to mint: each destination must define a **backing model** (escrowed liquidity, burn-and-mint, bridge settlement, etc.), or the pool can be inflated.\n- If the source pool cannot stop the burned note from also being spent normally, the destination must account for that double-spend risk before trusting it.\n- Privacy still leaks through timing, small anonymity sets and root update patterns; batching root updates and imports helps.\n"},"ja":{"lang":"ja","tldr":"公開の出金と再入金（両者が結びついてしまう）の代わりに、宛先に紐づいたアドレスへノートをバーンし、それをゼロ知識で証明することで、プライベートノートをある UTXO 型プライバシープールから別のプールへ移せるようにする。","tags":["privacy","zk","utxo","interoperability","notes"],"related":[7503,155,712],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-8290/","markdown":"## 何を解決するのか\n\nノートとナリファイアを使うプライバシープール（Tornado 型、Railgun 型など）は、互いに分断されています。あるプールから別のプールへ資金を移すには、公開で出金して公開で入金しなければならず、資産、金額、両方のプール、タイミング、受取人が明らかになり得て、2 つのプライベートな履歴が結びついてしまいます。\n\nERC-8290 はその移動を**事前メンバーシップの証明**に変えます。送信元プールでノートを、宛先プールの意図した受取人だけが使える特別なバーンアドレスへロックまたはバーンします。宛先プールはゼロ知識証明を検証し、対応するプライベートノートをミントします。プール間で資産が公開で動くことはなく、異なるプロトコルがノート形式を共有せずに組み合わせられます。この考え方は [EIP-7503](/eip-7503/) のバーンアドレス方式に関連しています。\n\n## 仕組み\n\n1. **バーンアドレス。** 送信者は、オーナーが次のものである送信元プールのノートを作成します。\n\n   `burnAddress = H(chainId, dstPoolAddress, receiver, burnSecret, \"ZKTELEPORT\")`\n\n   これは宛先チェーン（[EIP-155](/eip-155/) のチェーン ID）、宛先プール、受取人に紐づいているため、他の場所でリプレイすることはできません。`burnSecret` は少なくとも 128 ビットのエントロピーを持つべきです。\n2. **送信元メンバーシップ。** 証明は、バーンコミットメントが送信元プールのルートのリーフであることを示します。\n3. **正準ツリー。** 証明は、この送信元ルートが宛先の信頼する*正準ツリー*に含まれることを示します。チェーンのステートツリー、または `isValidRoot(bytes32)` を通じてレジストリがルートを保証するカスタム Merkle ツリーです。\n4. **インポート。** 宛先は証明を検証し、ナリファイアを使用済みとして記録し、裏付けポリシーを適用して、新しいコミットメントを挿入するか出金を実行します。証明は資産のコンテキスト（トークン、id、金額、送信元プール、送信元チェーン）を出力に束縛するため、改変することはできません。\n\nインポートは、たとえば回路内で検証される [EIP-712](/eip-712/) 署名などによって、受取人が承認すべきです。**アダプター**は、既存の各プロトコルのコミットメント形式、ツリーのハッシャー、バーン条件がこの方式にどう対応するかを記述します。\n\n## サンプルコード\n\n仕様のリファレンスの概要に沿った、宛先のインポート用エントリーポイント:\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ninterface ICanonicalRootRegistry {\n    function isValidRoot(bytes32 root) external view returns (bool);\n}\n\nabstract contract TeleportDestination {\n    ICanonicalRootRegistry public immutable canonicalRootRegistry;\n    mapping(bytes32 =\u003e bool) public nullifierSpent;\n\n    constructor(ICanonicalRootRegistry r) { canonicalRootRegistry = r; }\n\n    function teleport(bytes calldata proof, bytes32 canonicalRoot, bytes32[] calldata nullifiers,\n                      bytes32[] calldata commitments) external {\n        require(canonicalRootRegistry.isValidRoot(canonicalRoot), \"invalid canonical root\");\n        _verifyTeleportProof(proof, canonicalRoot, nullifiers, commitments);\n        for (uint256 i; i \u003c nullifiers.length; i++) {\n            require(!nullifierSpent[nullifiers[i]], \"already imported\");\n            nullifierSpent[nullifiers[i]] = true;\n        }\n        _enforceBackingPolicy(commitments);      // imported value must be backed\n        _insertCommitments(commitments);\n    }\n\n    function _verifyTeleportProof(bytes calldata, bytes32, bytes32[] calldata, bytes32[] calldata) internal view virtual;\n    function _enforceBackingPolicy(bytes32[] calldata) internal virtual;\n    function _insertCommitments(bytes32[] calldata) internal virtual;\n}\n```\n\n## 知っておくべきこと\n\n- **ステータス: Draft。** オプトインの標準です。既存のプールは、インポートメソッドを追加しない限り変わりません。\n- ハッシュ関数とフィールドは実装に委ねられている（リファレンスは BN254 と Poseidon 系のハッシュを使用）ため、2 つのプールはアダプターを通じてエンコーディングに合意しなければなりません。\n- 有効な証明だけではミントの許可にはなりません。各宛先は**裏付けモデル**（エスクローされた流動性、バーン・アンド・ミント、ブリッジ決済など）を定義しなければならず、さもないとプールが水増しされ得ます。\n- 送信元プールが、バーンされたノートが通常どおり使われることも防げない場合、宛先はそれを信頼する前に、そのダブルスペンドのリスクを考慮しなければなりません。\n- プライバシーは、タイミング、小さなアノニミティセット、ルート更新のパターンを通じて依然として漏れます。ルート更新とインポートをバッチ化すると効果があります。\n"},"ko":{"lang":"ko","tldr":"공개 출금 후 재입금(두 풀이 연결됨) 대신, 목적지에 묶인 주소로 노트를 소각하고 이를 영지식으로 증명해, 프라이빗 노트를 한 UTXO 방식 프라이버시 풀에서 다른 풀로 옮길 수 있게 한다.","tags":["privacy","zk","utxo","interoperability","notes"],"related":[7503,155,712],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-8290/","markdown":"## 어떤 문제를 해결하나요?\n\n노트와 널리파이어를 사용하는 프라이버시 풀(Tornado 방식, Railgun 방식 등)은 서로 고립되어 있습니다. 한 풀에서 다른 풀로 자금을 옮기려면 공개로 출금하고 공개로 입금해야 하며, 이는 자산, 금액, 두 풀, 시점, 수신자를 드러낼 수 있고 두 개의 프라이빗 이력을 연결합니다.\n\nERC-8290은 그 이동을 **사전 멤버십 증명**으로 바꿉니다. 원본 풀에서 노트를, 목적지 풀의 의도된 수신자만 쓸 수 있는 특별한 소각 주소로 잠그거나 소각합니다. 그러면 목적지 풀이 영지식 증명을 검증하고 대응하는 프라이빗 노트를 발행합니다. 풀 사이에서 자산이 공개적으로 움직이지 않으며, 서로 다른 프로토콜이 노트 형식을 공유하지 않고도 조합될 수 있습니다. 이 아이디어는 [EIP-7503](/eip-7503/)의 소각 주소 방식과 관련이 있습니다.\n\n## 어떻게 동작하나요?\n\n1. **소각 주소.** 발신자는 소유자가 다음과 같은 원본 풀의 노트를 만듭니다.\n\n   `burnAddress = H(chainId, dstPoolAddress, receiver, burnSecret, \"ZKTELEPORT\")`\n\n   이는 목적지 체인([EIP-155](/eip-155/) 체인 ID), 목적지 풀, 수신자에 묶여 있어 다른 곳에서 리플레이할 수 없습니다. `burnSecret`은 최소 128비트의 엔트로피를 가져야 합니다.\n2. **원본 멤버십.** 증명은 소각 커밋먼트가 원본 풀 루트의 리프임을 보여 줍니다.\n3. **정규 트리.** 증명은 이 원본 루트가 목적지가 신뢰하는 *정규 트리(canonical tree)*에 있음을 보여 줍니다. 체인의 상태 트리이거나, 레지스트리가 `isValidRoot(bytes32)`로 루트를 보증하는 맞춤 Merkle 트리입니다.\n4. **가져오기(import).** 목적지는 증명을 확인하고, 널리파이어를 사용됨으로 표시하며, 담보(backing) 정책을 적용한 뒤, 새 커밋먼트를 삽입하거나 출금을 실행합니다. 증명은 자산 컨텍스트(토큰, id, 금액, 원본 풀, 원본 체인)를 출력에 묶어 변경할 수 없게 합니다.\n\n가져오기는 예를 들어 회로 안에서 검증되는 [EIP-712](/eip-712/) 서명으로 수신자가 승인해야 합니다. **어댑터**는 기존 각 프로토콜의 커밋먼트 형식, 트리 해셔, 소각 조건이 이 방식에 어떻게 대응되는지 설명합니다.\n\n## 샘플 코드\n\n명세의 참조 개요를 따른 목적지의 가져오기 진입점:\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ninterface ICanonicalRootRegistry {\n    function isValidRoot(bytes32 root) external view returns (bool);\n}\n\nabstract contract TeleportDestination {\n    ICanonicalRootRegistry public immutable canonicalRootRegistry;\n    mapping(bytes32 =\u003e bool) public nullifierSpent;\n\n    constructor(ICanonicalRootRegistry r) { canonicalRootRegistry = r; }\n\n    function teleport(bytes calldata proof, bytes32 canonicalRoot, bytes32[] calldata nullifiers,\n                      bytes32[] calldata commitments) external {\n        require(canonicalRootRegistry.isValidRoot(canonicalRoot), \"invalid canonical root\");\n        _verifyTeleportProof(proof, canonicalRoot, nullifiers, commitments);\n        for (uint256 i; i \u003c nullifiers.length; i++) {\n            require(!nullifierSpent[nullifiers[i]], \"already imported\");\n            nullifierSpent[nullifiers[i]] = true;\n        }\n        _enforceBackingPolicy(commitments);      // imported value must be backed\n        _insertCommitments(commitments);\n    }\n\n    function _verifyTeleportProof(bytes calldata, bytes32, bytes32[] calldata, bytes32[] calldata) internal view virtual;\n    function _enforceBackingPolicy(bytes32[] calldata) internal virtual;\n    function _insertCommitments(bytes32[] calldata) internal virtual;\n}\n```\n\n## 알아둘 점\n\n- **상태: Draft.** 선택적으로 참여하는 표준입니다. 기존 풀은 가져오기 메서드를 추가하지 않는 한 바뀌지 않습니다.\n- 해시 함수와 필드는 구현에 맡겨져 있어(참조 구현은 BN254와 Poseidon 계열 해시를 사용) 두 풀은 어댑터를 통해 인코딩에 합의해야 합니다.\n- 유효한 증명만으로는 발행 권한이 되지 않습니다. 각 목적지는 **담보 모델**(에스크로된 유동성, 소각 후 발행, 브리지 정산 등)을 정의해야 하며, 그렇지 않으면 풀이 부풀려질 수 있습니다.\n- 원본 풀이 소각된 노트가 정상적으로도 사용되는 것을 막지 못한다면, 목적지는 이를 신뢰하기 전에 그 이중 지불 위험을 고려해야 합니다.\n- 프라이버시는 여전히 타이밍, 작은 익명성 집합, 루트 업데이트 패턴을 통해 새어 나갑니다. 루트 업데이트와 가져오기를 배치로 묶으면 도움이 됩니다.\n"},"zh":{"lang":"zh","tldr":"通过把票据销毁到与目标绑定的地址并以零知识方式证明这一点，使隐私票据能从一个 UTXO 风格的隐私池转移到另一个，而不必进行会把两者关联起来的公开提款再存款。","tags":["privacy","zk","utxo","interoperability","notes"],"related":[7503,155,712],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-8290/","markdown":"## 它解决什么问题？\n\n使用票据（note）和 nullifier 的隐私池（Tornado 风格、Railgun 风格等）彼此孤立。要把资金从一个池转到另一个池，你必须公开提款再公开存款，这可能暴露资产、金额、两个池、时间和接收方，并把两段私密历史关联起来。\n\nERC-8290 把这一转移变成一个**先前成员资格的证明**。你在源池中把票据锁定或销毁到一个特殊的销毁地址，只有目标池中的预期接收方才能使用它。目标池随后验证零知识证明并铸造相应的隐私票据。资产不会在池之间公开流动，不同协议无需共享票据格式即可组合。这一思路与 [EIP-7503](/eip-7503/) 的销毁地址方法相关。\n\n## 它如何运作\n\n1. **销毁地址。** 发送方在源池中创建一张票据，其所有者为\n\n   `burnAddress = H(chainId, dstPoolAddress, receiver, burnSecret, \"ZKTELEPORT\")`\n\n   它与目标链（[EIP-155](/eip-155/) 链 ID）、目标池和接收方绑定，因此无法在其他地方重放。`burnSecret` 应具有至少 128 位的熵。\n2. **源池成员资格。** 证明表明该销毁承诺是某个源池根下的叶子。\n3. **规范树。** 证明表明这个源池根位于目标池信任的*规范树*中：链的状态树，或某棵自定义 Merkle 树，其根由注册表通过 `isValidRoot(bytes32)` 担保。\n4. **导入。** 目标池检查证明，把 nullifier 标记为已花费，应用其储备政策，然后插入新的承诺或执行提款。证明把资产上下文（代币、id、金额、源池、源链）绑定到输出上，使其无法被篡改。\n\n导入应由接收方授权，例如使用在电路内验证的 [EIP-712](/eip-712/) 签名。**适配器**描述每个现有协议的承诺格式、树哈希器和销毁条件如何映射到该方案。\n\n## 示例代码\n\n目标池的导入入口，遵循规范的参考大纲：\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ninterface ICanonicalRootRegistry {\n    function isValidRoot(bytes32 root) external view returns (bool);\n}\n\nabstract contract TeleportDestination {\n    ICanonicalRootRegistry public immutable canonicalRootRegistry;\n    mapping(bytes32 =\u003e bool) public nullifierSpent;\n\n    constructor(ICanonicalRootRegistry r) { canonicalRootRegistry = r; }\n\n    function teleport(bytes calldata proof, bytes32 canonicalRoot, bytes32[] calldata nullifiers,\n                      bytes32[] calldata commitments) external {\n        require(canonicalRootRegistry.isValidRoot(canonicalRoot), \"invalid canonical root\");\n        _verifyTeleportProof(proof, canonicalRoot, nullifiers, commitments);\n        for (uint256 i; i \u003c nullifiers.length; i++) {\n            require(!nullifierSpent[nullifiers[i]], \"already imported\");\n            nullifierSpent[nullifiers[i]] = true;\n        }\n        _enforceBackingPolicy(commitments);      // imported value must be backed\n        _insertCommitments(commitments);\n    }\n\n    function _verifyTeleportProof(bytes calldata, bytes32, bytes32[] calldata, bytes32[] calldata) internal view virtual;\n    function _enforceBackingPolicy(bytes32[] calldata) internal virtual;\n    function _insertCommitments(bytes32[] calldata) internal virtual;\n}\n```\n\n## 需要注意\n\n- **状态：Draft。** 这是一个自愿加入的标准；现有的池除非添加导入方法，否则不受影响。\n- 哈希函数和域留给实现决定（参考实现使用 BN254 和 Poseidon 风格的哈希），因此两个池必须通过适配器就编码达成一致。\n- 仅有有效的证明并不构成铸造的许可：每个目标池都必须定义一个**储备模型**（托管流动性、销毁并铸造、桥结算等），否则池可能被增发。\n- 如果源池无法阻止已销毁的票据同时被正常花费，目标池在信任它之前必须考虑这种双花风险。\n- 隐私仍会通过时间、较小的匿名集和根更新模式泄露；对根更新和导入进行批处理会有帮助。\n"}}}
