Mandate

On-chain spending limits for autonomous DeFi agents that hold even when the agent is compromised

ETHOnline 2026Shipped September 4, 2026 Shipping#ai-agents#ai#defi#payments#identity
Visit Repo
Mandate banner

About

Imagine you hire an AI agent to trade for you and tell it "only use Uniswap, and never risk more than $10,000 at a time." Normally that rule lives inside the agent itself, in its config or instructions. That's a problem, because if the agent gets hacked, tricked, or just makes a mistake, nothing stops it from breaking its own rule. This already happened in real life. In 2026 a compromised agent wallet lost about $150,000, twice. Another sent 1000 times more than it meant to after a crash. A wave of memory poisoning attacks drained an estimated $45 million from trading agents on Solana.

Mandate moves the rule outside the agent's control entirely. The owner writes the agent's limits once, as a record on ENS. The agent can read it but cannot change it. A background service copies that record onto a smart contract so it can be checked instantly. Every time the agent wants to trade, the system checks the published limit and the agent's live reputation, pulled through The Graph. Only if both check out does the trade go through, settling in real USDC on Arc. If not, no money moves. The outcome writes back to the agent's public reputation either way, so its track record builds over time instead of being guessed at.

We also built MandateGate, using 1inch's SwapVM. Instead of only checking permissions before a trade, this opcode checks them inside the swap itself, so the rule can't be skipped even by a bug elsewhere. We proved this with four real Sepolia transactions: one allowed trade that went through, one blocked trade that reverted on chain, one that only worked because we changed permissions after the contract was already live, and one against a real concentrated liquidity position instead of a simple swap. All contracts are verified and publicly viewable.

Nothing here is simulated. The agent is really registered on Sepolia, the data feeds are live, and our public server returns real answers to anyone who queries it. We've completed 9 real settlements on Arc worth $12.71, and 10 real reputation entries written by a second account, since an agent can't rate itself. One honest gap: our dashboard still uses the simpler off-chain check for its own trades. MandateGate is proven on chain but not wired into the main app yet, a real capability sitting ready rather than something clickable today.

Built for ETHOnline 2026. Submitting for ENS, The Graph, and 1inch.

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?

ShippingLast push 46 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.

Leash_dash

Keep your AI agents on a leash: bind an agent, set on-chain spend limits, cut it off with one write.