Hush Protocol

Send USDC to a @username on Arc. A ZK proof breaks the on-chain link between deposit and withdraw.

Hush Protocol banner

About

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.

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?

No public repo linked, so we can't tell.

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.

ZadeLending

ZK-powered cross-chain lending: deposit collateral privately, untraceable loan withdrawal