Gantry

A Uniswap v4 hook that prices every swap by the caller's on-chain behaviour. Nobody gets blocked.

ETHOnline 2026Shipped September 4, 2026 Quiet#defi#privacy
Visit Repo
Gantry banner

About

A sandwich bot waits for your trade, buys in front of it, sells right after, and pockets the difference. As far as the pool is concerned that bot is just another customer paying exactly the same fee as you. Gantry changes that.

Gantry is a Uniswap v4 hook that prices each swap by the behaviour of the address actually paying for it. A clean wallet pays 0.05%. An address nobody has scored pays 0.30%. Something that looks like it is extracting pays 0.60%, and a confirmed sandwicher pays 1.00%. Nobody is ever blocked and nothing is blacklisted. If you want to sandwich the pool you still can, you just pay twenty times what a clean wallet pays for the privilege, and that extra goes to the liquidity providers you took it from.

Tiers are not something we assign by hand. An off-chain scorer reads real Ethereum mainnet behaviour, the scoring itself runs inside a Chainlink confidential workflow, and the result reaches the chain as a DON-signed report. The contract holding tiers only accepts writes from the Chainlink receiver address, so the deployer cannot set anyone's tier.

One design detail worth calling out: shared infrastructure is protected. Uniswap's own router reverts more often than almost anything else we measured, which on raw numbers reads as extraction. But thousands of ordinary people trade through that router, so charging it would charge all of them. Any address marked as shared gets clamped back to the default tier no matter what it scores.

It is live on Sepolia. The site shows every swap the pool has priced so far, including one wallet that paid 1.00%, then 0.30%, then 0.05% on the same pool at the same size, because its tier moved between trades.

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 83 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.

OniBlock

Uniswap v4 hook where an AI prices toxic arbitrage every block, and loses power if it's wrong.

Poincaré

A Uniswap v4 hook that detects trends and makes trend-chasing swaps pay a spread to the LPs

ETHGlobal MumbaiPrize winner Shipping#ai-agents#ai

Adaptive Hook AMM

Uniswap v4 dynamic-fee hook that neutralizes sandwich attacks & LVR via intra-block MEV dampening.