Unlink

A Tornado Cash withdrawal proof that pays its own gas through the alt mempool without any Relayer.

ETHGlobal MumbaiShipped November 5, 2026 Dormant#privacy#zk#infra
Visit Repo
Unlink banner

About

Unlink lets a Tornado Cash withdrawal proof authorise its own payout. Anyone can submit the transaction, the recipient doesn't need any ETH, and the gas fee is paid directly from the amount being withdrawn. There's no designated relayer involved. We built it on the EIP-8141 frame-transaction devnet using the ERC-8421 alternative mempool. Interestingly, the public mempool rejects these transactions, and that's exactly why the alternative mempool matters.

The problem we're trying to solve has existed since Tornado Cash launched in 2019. When someone withdraws from a mixer, they ideally want to receive their funds at a fresh address that can't be linked to the original deposit. But a fresh address has no ETH to pay for gas. The usual solution is a relayer: you generate your withdrawal proof, send it to a server someone else operates, and they submit the transaction using their funded wallet in exchange for a fee. It works, but introduces a dependency that shouldn't really need to exist. The relayer sees your withdrawal first, can refuse to process it, log requests, censor users, or simply go offline. It also becomes an obvious centralised service for regulators to target. We wanted to see if we could remove that dependency entirely.

EIP-8141 makes this possible by changing how transactions are authorised. Instead of requiring an ECDSA signature from an account holding ETH, a transaction can contain multiple frames, with a smart contract deciding whether the transaction is valid. This means we can use the Tornado Cash zero-knowledge withdrawal proof itself as the authorisation. Unlink uses a single contract, `UnlinkAccount`, which sits in front of the existing Tornado Cash pool without modifying the pool or its circuits. The account holds a small ETH float to cover gas upfront and acts as both the sender and payer of a two-frame transaction.

The first frame is a VERIFY frame. The account decodes the withdrawal calldata, verifies the Groth16 proof using Tornado Cash's original December 2019 verifying key, checks that the Merkle root exists in the pool's history, and confirms the nullifier hasn't already been spent. It also checks that the withdrawal fee covers the transaction's worst-case cost using `MAX_COST` from `TXPARAM`, and that the second frame contains exactly the same withdrawal call. The second frame is a SENDER frame that actually calls `withdraw()` on the original pool. The pool sends the withdrawn ETH minus the fee to the recipient and returns the fee to `UnlinkAccount` in the same transaction. So the account effectively fronts the gas cost and gets reimbursed from the withdrawal itself. The interesting part is that the transaction doesn't need anyone's cryptographic signature. Its signature field is literally `ARBITRARY` (scheme 0), with an empty signer and empty signature. The ZK proof is the authorisation.

The alternative mempool is essential here, not just an implementation choice. The public EIP-8141 frame mempool limits validation to 100,000 gas and doesn't allow validation to read another contract's storage. Our verification requires roughly 289,000 gas, largely because of Groth16 verification, and needs to read two storage slots from the Tornado Cash pool. So the public mempool rejects it. ERC-8421 takes a different approach: rather than banning expensive validation or third-party storage reads, it allows them under additional economic and safety constraints. After staking 0.012 ETH in the devnet registry, `UnlinkAccount` gets a 1 million gas validation budget and permission to read third-party storage, with the node tracing those reads to limit how many pending transactions a state change could invalidate.

For Unlink, those storage reads are quite limited. We check the pool's root history, which retains 100 roots, and the nullifier for the specific note being withdrawn. Spending one note can therefore invalidate at most the pending withdrawals attempting to spend that same note, rather than unrelated withdrawals. We also give each note its own EIP-8250 nonce lane derived from its nullifier hash. Duplicate submissions of the same note become replacements rather than spam, while withdrawals from different notes don't compete with each other. There's also no opportunity for someone watching the mempool to steal the funds. The proof's public inputs already bind the recipient, relayer, and fee, and the account checks that the execution frame matches the verified withdrawal call byte-for-byte. Someone can copy and submit the transaction, but they can't redirect the payout or increase the fee.

We got the whole flow working on the devnet. Transaction `0xc517e289...36eb98`, included in block 9750 as a type `0x6` transaction, successfully withdrew 0.1 ETH to an address that had never held ETH before. The VERIFY frame used 288,806 gas, while the SENDER frame used 296,072 execution gas plus 281,520 state gas. The recipient's balance went from 0 to 0.09 ETH, and the account's ETH float increased from 0.2075 to 0.2157 ETH after receiving the withdrawal fee. The recipient didn't need to fund their address or sign a transaction with a private key. We also submitted the exact same transaction bytes to the public mempool, which rejected them with `Frame transaction prefix gas budget (frames + sig cost) exceeds MAX_VERIFY_GAS`, because the required budget was 450,100 gas against the public limit of 100,000. The demo shows both the successful withdrawal through the alternative mempool and the rejection through the public one.

One thing worth clarifying is what we mean by "relayerless." Transactions still need to propagate through the network, and gateways, peers, and block producers are still involved. We're not claiming to remove those. What we've removed is the designated application relayer: the separate service that receives a user's withdrawal proof, decides whether to submit it, and pays the gas from its own wallet. With Unlink, users can construct and broadcast the withdrawal transaction themselves, even from a machine with no funded Ethereum account. They don't have to trust a particular service to process their withdrawal, and anyone else can submit the same transaction without being able to change where the money goes. The proof authorises the withdrawal, the contract pays for execution, and the withdrawal reimburses the contract. That's really the idea behind Unlink: making private withdrawals self-authorising, without relying on a designated relayer to execute them.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

DormantRepo not reachable

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Unrelayed

Relayer-free Tornado Cash withdrawals: a staked contract pays the gas via the ERC-8421 alt mempool

ETHGlobal MumbaiPrize winner Shipping#privacy#zk

Halo2 Privacy Frames

Private withdrawals that pay their own gas, with Halo2 proofs in EIP-8141 frame transactions

Tornado Cash 2.0

Native EVM Privacy-Preserving Lending Platform: Leveraging the Poseidon Hash, Noir DSL, IMTs, Aave, Intents, & ZKPs