PrivBatch

Private batch swaps on Uniswap V4 with autonomous agents & ZK proofs.

HackMoney 2026Shipped January 30, 2026Prize winner Quiet#ai-agents#defi#privacy#zk#uniswap
Repo
PrivBatch banner

About

PrivBatch enables private, batched token swaps on Uniswap V4 through a commit-reveal mechanism backed by zero-knowledge proofs. Autonomous trading agents monitor pools, make strategy-driven decisions (momentum, arbitrage, liquidity-based, mean reversion), and submit trades privately. Individual trade details (amounts, directions, recipients) are never publicly visible—only aggregate net deltas reach the AMM. This protects traders from MEV extraction, frontrunning, and information leakage while enabling efficient batch execution. The system combines a Uniswap V4 hook contract, TypeScript trading agents with multiple strategies, and Circom ZK circuits for commitment verification.

How it's made

Built with Solidity (Foundry) for the PrivBatchHook Uniswap V4 hook contract, TypeScript for autonomous trading agents, and Circom for zero-knowledge proof circuits. The hook implements commit-reveal batch execution where agents submit hashed swap intents off-chain, then reveal them on-chain for batched execution. Agents use ethers.js to monitor pools via extsload (V4's state reading mechanism), implement multiple trading strategies (momentum, arbitrage, liquidity, mean reversion), and coordinate through an AgentManager. ZK circuits (Groth16) prove commitment validity without revealing trade parameters. The frontend uses React for monitoring agent performance and batch execution status. Key hack: using V4's extsload for efficient state reads without custom view functions.

Prizes

  • Uniswap Foundation · Uniswap v4 Privacy DeFi · 1st place

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?

QuietLast push 92 days ago

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.