The circuit compiles to 12,261 wires. Seven public inputs, 42 private. It builds a Merkle path, checks a Poseidon commitment, derives a nullifier, and proves you own a deposit without saying which one. It works. I ran a full deposit-to-withdrawal integration against a local chain and watched a proof verify on-chain, in a browser, with no server in the loop.
Then I left it sitting there, and I am not deploying it.
That decision is the useful part, so I want to be exact about how I got to it. The code is in coin_droppa. The game that ships alongside it is live on Polygon at coindroppa.com. The pool is not, and the configuration that would wake it up is four empty strings.
The Thing Itself
A Tornado-style pool is a small idea executed carefully. You deposit a fixed amount with a commitment. Later, someone withdraws that same fixed amount by proving they know the secret behind a commitment in the tree, without revealing which. The contract remembers spent nullifiers so nobody withdraws twice.
MixerPool.sol has exactly two external functions that move state. Not two dozen. Two.
function deposit(uint256 commitment) external payable nonReentrant {
if (msg.value != denomination) revert InvalidDepositAmount();
There is no receive(). No fallback(). No owner, no pause, no upgrade path, no admin key. You cannot subsidize the pool, you cannot top it up, and you cannot turn it off. Send it anything that is not exactly one POL attached to a commitment and the transaction reverts.
That is correct design and it is also the first thing that gave me pause. Everything else I have deployed, I could walk away from. The unused token contracts on Polygon sit there costing nothing. This one would hold other people's money with no handle on it, forever.
Red Team: How It Gets Traced
Before deploying a privacy tool, model the person who breaks it. I wrote scripts/test-privacy-linkability.mjs for that, and it is deliberately not a test of my code — it is a test of the design's claims.
function depositsWithinWindow(events, timestamp, windowSeconds) {
return priorDeposits(events, timestamp).filter(
(event) => timestamp - event.timestamp <= windowSeconds
);
}
function matchingDepositSenders(events, address) {
const normalizedAddress = address.toLowerCase();
return events.filter((event) => event.sender.toLowerCase() === normalizedAddress);
}
Three heuristics, and they are the same three a blockchain analyst reaches for.
Attack Vector: anonymity set of one. The proof hides which commitment you spent, among the commitments that exist. If four people have ever deposited, the proof hides you among four. If you are the first depositor and you withdraw before anyone else arrives, the proof hides you among one, and the cryptography has done nothing at all. The math is perfect and the privacy is zero. This is not a flaw in Groth16. It is arithmetic.
Attack Vector: timing correlation. One POL in at 14:02, one POL out at 14:09, and nothing else happening in that window. depositsWithinWindow is seven lines and it is most of the attack. Mixers leak through latency, and a low-traffic pool leaks constantly.
Attack Vector: address reuse. matchingDepositSenders catches the obvious own-goal — deposit from a wallet, withdraw to the same wallet, or to a wallet that has ever touched it. Users do this routinely. No contract can stop it.
Attack Vector: the relayer's view. The design includes a relayer so the withdrawer does not need gas in a fresh wallet, which would itself be a link. I built it with an origin allowlist, idempotency records, and private file permissions on its state. It still sees the proof, the recipient, the IP address, and the request metadata. The architecture moves the trust; it does not delete it. The published client says so in those words, because a privacy tool that will not describe its own leaks is marketing.
Attack Vector: the setup. This is the one that ends the conversation. Groth16 needs a trusted setup, and phase two of mine is this:
const entropy = crypto.randomBytes(64).toString('hex');
run(['zkey', 'contribute', initialZkey, stagedZkey], `${entropy}\n`);
One contribution. Generated on my machine. Never written to disk, never witnessed by anyone. I believe it was discarded because I wrote the line that discards it, and that belief is worth exactly nothing to a depositor. Whoever holds that value can forge withdrawal proofs and drain the pool. Phase one is fine — pinned to an approved Powers of Tau digest, verified before use. Phase two is one person saying trust me.
Blue Team: The Parts That Hold
Not everything here is a cautionary tale. Several defenses are real and worth lifting.
Defense Layer: fail closed on configuration. The client refuses to operate before it refuses to be unsafe.
if (!/^0x[0-9a-fA-F]{40}$/.test(poolAddress) || chainId !== 137 || ...) {
throw new Error('No reviewed Polygon pool deployment is configured. Deposits and withdrawals are disabled.');
}
The mixer interface never unhides until that check passes and the contract's hasher, verifier, denomination, and fee recipient match the configuration on-chain. A blank config is not a degraded mode. It is off.
Defense Layer: fixed denomination. Variable amounts are a fingerprint. One POL, every time, no exceptions, enforced in the contract rather than the interface.
Defense Layer: a publish allowlist, not a denylist. The site build ships an explicit file list. Everything else stays private by default, including the proving artifacts, the contracts, the research notes, and the environment file. A denylist means every new file leaks until someone remembers to exclude it. I have the inverse, and the build prints what it withheld on every run.
Defense Layer: verify the bytecode, not the repository. The game's three token dispensers were checked by pulling deployed runtime bytecode and matching it against published sources — a Sourcify exact match for one, and independent recompilation reproducing the exact 2,770-byte runtime and keccak hash for the other two. Source on a block explorer is a claim. Matching bytecode is evidence.
Defense Layer: reachability over audit noise. npm audit reports 28 vulnerable nodes. npm audit --omit=dev reports zero. I inspected the browser bundle's source map directly and confirmed that none of the flagged modules — zod, minimatch, ejs, elliptic through an old ethers — appear in shipped code. Advisory counts are not a threat model.
The Arithmetic of Not Deploying
The deployment plan is three contracts and 5,092,399 gas. Poseidon alone is 2,175,413 of it. At the base fee the day I priced it, call it 1.27 POL. Roughly a quarter. Cost was never the obstacle.
The obstacle is that a mixer with few depositors is worse than no mixer. It is a product whose entire value is the crowd, shipped to a crowd that does not exist yet, holding funds, with no pause function, on a setup nobody witnessed. Every one of those is survivable alone. Together they describe a thing I would not use myself.
So it stays off. The configuration stays blank, the interface stays hidden, and the repository says plainly that there is no deployed pool and no production privacy. That is not a roadmap note. That is the state.
What Implementation Teaches That Reading Does Not
I came out of this understanding mixer tracing in a way I did not before, and the reason is mechanical. When you have written the nullifier derivation, you know precisely what the chain records and what it does not. When you have sized an anonymity set in code, you stop treating "it uses zero-knowledge proofs" as an answer. When you have built the relayer, you know the relayer is a witness.
Analysts track this infrastructure constantly — ransomware cash-out, sanctioned pools, state-linked laundering. Most of that work is done from the outside. Building one is a different kind of literacy, and it is cheap to acquire compared to what it tells you.
The cryptography was the easy part. The hard part was looking at a working system and deciding the honest move was to leave it off.
GhostInThePrompt.com // One contribution, unwitnessed. Every proof after that is a promise.