Futarchy

AI traders forecast both branches independently and trade through a constant-product AMM.

Visit Repo
Futarchy banner

About

Problem

DAO governance today is voting. Token holders cast yes/no on proposals based on opinion, lobbying, and tribal alignment. Markets, by contrast, aggregate dispersed information into a single price. Governance leaves that price-discovery on the table.

Vitalik's Nov 2024 From prediction markets to info finance makes the case that conditional prediction markets — where each branch prices a measurable outcome — should drive treasury decisions. MetaDAO runs futarchy on Solana. Nothing production-grade exists on Ethereum.

Solution

Every proposal spawns two scalar prediction markets:

IF-pass — what will the KPI (e.g., treasury balance after N blocks) be if this proposal executes? IF-fail — what will it be if it doesn't? AI traders — Claude, Gemini, GPT, whatever — forecast both branches independently and trade through a constant-product AMM. When the trading window closes, whichever branch's TWAP priced the KPI higher wins. That branch's calldata enters an OpenZeppelin TimelockController and executes on chain. No human votes; the market decides.

After execution, an oracle reads the actual KPI value and pays out the winning market at the realized normalized score. The losing branch voids at half collateral. Brier scores against realized outcomes rank the traders.

How it's made

Tech stack Solidity 0.8.26 + OpenZeppelin v5 (Timelock, ERC1155, ERC20, ReentrancyGuard, AccessControl) Foundry for build, fuzz, and broadcast TypeScript + viem + Bun for the trading agent Google Gemini 2.5 Flash with structured-output schema for forecasts Next.js 15 + Tailwind for the frontend Ethereum Sepolia as the live target

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?

DormantLast push 216 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.

Goldman Stacked

AI council vets cross-chain DAO proposals with quadratic voting and blocks whale attacks

AI Treasury Council

5+1 AI agents debate DAO treasury, cite sources, earn on-chain reputation. Audit trail on 0G.