EIPs Explained

EIP-8182 · Review · Core · 2026-03-03

EIP-8182: Private ETH and ERC-20 Transfers

Installs a protocol-managed shielded pool as a system contract so anyone can privately hold and send ETH and compatible ERC-20 tokens, with one shared anonymity set upgraded only by hard fork.

What problem does it solve?

Public transfers on Ethereum are easy and standard: pick a token, an address, click send. Private transfers have no shared default, even though payroll, treasury management and donations often need the sender, recipient or amount hidden.

App-level privacy pools struggle because privacy depends on how many users share the same pool, so a small pool gives weak privacy however good the product. They also face a governance dilemma: an upgradeable pool can be abused by whoever controls upgrades, while an immutable one cannot react when cryptography weakens. This EIP proposes one common pool, managed by Ethereum's hard-fork process, for ETH and ERC-20 tokens.

How it works

At fork activation, clients install a system contract (the spec names 0x0000000000000000000000000000000000081820) with no proxy and no admin key. Its code can only change via a later hard fork. No new opcode, precompile or transaction type is added.

  • Notes (UTXO model). Balances are private notes recorded as Poseidon commitments in a depth-32 Merkle tree. Spending a note publishes a nullifier so it cannot be spent twice; the link between note and nullifier stays hidden.
  • Deposit (no proof). deposit(token, amount, ownerCommitment, outputNoteData) takes ETH or ERC-20 publicly and inserts a note for a hidden recipient commitment.
  • Transact (two proofs). transact(poolProof, authProof, publicInputs, …) spends up to two notes and creates up to three outputs (recipient, change, optional private fee note), or withdraws publicly.
    • The pool proof (Groth16 over BN254, verification key fixed by a trusted-setup ceremony) enforces value conservation, Merkle membership, nullifiers and token consistency. Only a hard fork can change it.
    • The auth proof is checked by an authVerifier contract the user chose. Anyone can deploy one (ECDSA, passkeys, multisig…), so authentication methods can evolve without forks.
  • Auth-policy registry. Each address registers a hidden set of allowed auth methods in a private Merkle tree, without revealing which verifier belongs to whom.
  • Proof intents expire (at most 24 hours ahead) and carry a replay ID.

Sample code

Shielding ETH into the pool (ethers v6). Computing ownerCommitment needs the recipient's registered key hash and a Poseidon library, so it is left abstract here:

import { Contract, ZeroAddress, parseEther } from "ethers";

const POOL = "0x0000000000000000000000000000000000081820"; // per the spec
const pool = new Contract(POOL, [
  "function deposit(address token, uint256 amount, uint256 ownerCommitment, bytes outputNoteData) payable",
  "function isNullifierSpent(uint256) view returns (bool)",
], signer);

const amount = parseEther("1");
// ownerCommitment = poseidon(OWNER_COMMITMENT_DOMAIN, recipientOwnerNullifierKeyHash, noteSecret)
await (await pool.deposit(ZeroAddress, amount, ownerCommitment, encryptedNoteForRecipient, { value: amount })).wait();

Things to know

  • Status is Review; details may still change.
  • Deposits and withdrawals are public; only transfers inside the pool hide amount, token and counterparties. Timing and amounts at the edges can still link users.
  • End-to-end privacy also needs off-chain pieces this EIP leaves out: note delivery to recipients, mempool encryption and network-level anonymity.
  • Fee-on-transfer and rebasing tokens must not be deposited; deposits check the received balance delta.
  • No compliance mechanism is built in; the spec leaves that to companion standards.
  • A bug in the pool circuit would put every note at risk; a bug in an auth verifier only affects users who registered it.

#privacy #shielded-pool #zk #system-contract #erc-20

Details

Authors
Tom Lehman (@RogerPodacter)
Status
Review
Type
Standards Track / Core
Created
2026-03-03
Requires

Machine-readable: Markdown · JSON