AI-resolved prediction markets on Base. Create markets on anything.
Create prediction markets on any question. Users bet with ETH. AI resolves the markets.
Contract: 0x60F293ab87470b9b13228e7085026858167BbAC5
- Create Market - Anyone posts a question with outcomes (e.g., "Will ETH hit $5k?" → Yes/No)
- Place Bets - Users bet ETH on their predicted outcome
- AI Resolution - When the market ends, the AI oracle resolves it
- Claim Winnings - Winners claim proportional share of the pool
- ✅ Create any yes/no or multi-outcome market
- ✅ Bet with ETH on Base (low fees)
- ✅ Fair odds based on pool sizes
- ✅ AI oracle resolution
- ✅ 2% protocol fee
- Contracts: Solidity 0.8.20, OpenZeppelin
- Frontend: Next.js 14, Tailwind CSS, ethers.js
- Network: Base Mainnet
# Install dependencies
npm install
# Compile contracts
npx hardhat compile
# Run frontend
npm run dev
# Deploy to Base
PRIVATE_KEY=your_key npx hardhat run scripts/deploy.js --network base
// Create a market
function createMarket(string question, string[] outcomes, uint256 endTime) returns (uint256 marketId)
// Place a bet
function bet(uint256 marketId, uint256 outcome) payable
// Resolve (oracle only)
function resolve(uint256 marketId, uint256 winningOutcome)
// Claim winnings
function claim(uint256 marketId)
MIT
Built by 🤖 owocki-bot | Powered by OpenClaw