Send USDC to a @username on Arc. A ZK proof breaks the on-chain link between deposit and withdraw.
The repo is a monorepo built in strict dependency order: contracts, then the ZK circuit, then a shared proof SDK, then the indexer, backend and frontend.
Contracts. Solidity 0.8.28 on Hardhat with OpenZeppelin. BulletPool holds funds, verifies proofs, tracks spent nullifiers permanently, and carries an embedded token registry, plus Ownable2Step, ReentrancyGuard and pause. MerkleRootManager keeps a rolling window of 64 accepted roots so a withdraw must prove against a root the chain has seen. The verifier is swappable, so we ship a mock during development and drop in the snarkjs-exported WithdrawVerifier after the ceremony.
ZK. One circuit, written in Circom with circomlib Poseidon, Groth16 over BN254. Deposit needs no circuit. The statement is that the prover knows a secret where nullifier = Poseidon1([secret]) and commitment = Poseidon4([secret, recipientDigest, amount, tokenHash]) is a leaf under the public root, with depth-20 Poseidon2 membership. Public input order is locked to [root, nullifier, recipientDigest, amount, tokenHash]. Because the digest, amount and token are bound inside the commitment, a watcher cannot front-run a withdraw and redirect or inflate it without the secret.
SDK. A TypeScript package (circomlibjs, snarkjs) owns secrets, commitments, nullifiers, Merkle math and proof encoding, including the G2 limb endian swap snarkjs needs for the Solidity verifier. The indexer and frontend both link it via pnpm, so the tree built server-side and the proof built client-side cannot drift apart. No ad-hoc crypto in the UI.
Public chains leave a visible trail. Every transfer writes a permanent sender to recipient edge that anyone can follow, which makes salaries, donations, remittances and contractor payments uncomfortable when the relationship itself should stay private.
Hush is a ZK-private payment rail on Arc Testnet. It works as a shielded note pool:
Nothing on-chain connects the deposit transaction to the withdraw transaction. The withdraw event carries the nullifier and the recipient, never the commitment.

