---
eip: 8182
label: EIP-8182
title: Private ETH and ERC-20 Transfers
status: Review
type: Standards Track
category: Core
created: 2026-03-03
requires: 20
official: https://eips.ethereum.org/EIPS/eip-8182
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8182.md
canonical: https://eips.huatuo.xyz/eip-8182/
lang: en
tldr: 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.
tags: [privacy, shielded-pool, zk, system-contract, erc-20]
---

# EIP-8182: Private ETH and ERC-20 Transfers

> A canonical validity layer for private ETH and compatible ERC-20 transfers via a system contract and a split-proof architecture.

**TL;DR:** 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](/eip-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:

```ts
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.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-8182
