1 Recipient: generate a scheme 3 meta-address
A 128-byte seed (spending, viewing, ML-KEM d, ML-KEM z) is drawn from the browser CSPRNG. ERC-8441 key generation turns it into the meta-address. The seed and all private keys stay in this tab.
2 Recipient: commit on Sepolia
Instead of storing 1,250 bytes in 41 new slots with registerKeys, commitKeys(3, meta) stores one 32-byte hash and puts the bytes in a log. commitHash(3, hash) stores only the hash and the bytes live elsewhere.
Gas, same 1,250 byte meta-address
| Call | Gas | Versus registerKeys |
|---|
Live estimate for your meta-address
Read only. eth_estimateGas on public Sepolia RPC, from a fresh random address, so the first-write cost is included. An estimate can sit a little above the gas a transaction finally uses.
Recorded transactions on Sepolia
| Transaction | Gas used | Link |
|---|
Commit with your own wallet (optional)
Needs an injected wallet such as MetaMask and a little Sepolia ETH. It sends commitKeys(3, meta) for the keys generated in step 1, about 160k gas. The wallet signs, the page never sees a key.
3 Sender: fetch, verify, derive
The sender needs only the registrant address. It reads commitmentOf(registrant, 3), finds the StealthMetaAddressCommitted log with the bytes, checks keccak256(bytes) against the commitment and the ERC-8441 section 2.2 key checks, then derives the one-time address and the announcement data.
4 Recipient: scan and derive the stealth key
For every announcement the scanner does one ECDH and one ML-KEM-768 decapsulation, combines both secrets, and only then compares the view tag. In scheme 3 the view tag cannot skip the KEM, because it comes from the hybrid secret. A match needs the view tag and the derived address to agree. Then stealth_sk = spending_sk + H(ss).
Live Sepolia Announcer logs
Local log with decoys
What this shows, and what it does not
- The commitment is one slot. The registry keeps 32 bytes per receiver and scheme. The bytes are in the log, and any other source works too, because the sender checks the hash.
- Logs are not state. A node that prunes old receipts under EIP-4444 can stop serving the log. Keep the bytes elsewhere as well (wallet server, ENS record, IPFS, payment request). The hash makes every copy checkable.
- Announce and spend are unchanged. The sender announces through the canonical ERC-5564 Announcer as in ERC-8441. Only registration changes.
- What is post-quantum. Discovery secrecy is hybrid, so recorded chain data does not let a future quantum computer link a payment to its receiver. Spending still uses a normal secp256k1 key.
- Privacy of this page. Keys and the scan run in this tab. Requests to public RPC endpoints carry only public data: the registrant address, the public meta-address in the gas estimate, block ranges. Endpoints used: publicnode.com and tenderly.co.
- Testnet only. The sketch registry is unaudited. The recorded demo recipient uses a published seed, so anyone can read that payment.
Sources
- Measured ERC-8441 costs and the one-slot registry commitment, write-up on ethresear.ch
- Measurement scripts and contract sketch, public gist
- ERC-8441 discussion on Ethereum Magicians
- ERC-8441 specification
- ERC6538Commitments on Sepolia, verified source
- Benchmark: timings, sizes and gas, scheme 3 against scheme 1