Frame402 demonstrates how Arbitrum Stylus + x402 enable a new class of consumer prediction markets, combining AI judgment, instant micropayments, and social gameplay — built end-to-end during the ha
Bet on photos. Claude AI co-judges. Winner takes all. Built with Arbitrum Stylus + x402 micropayments.
🎯 About
Frame Wars brings social prediction markets to Arbitrum, combining photo competitions with AI judging and instant micropayments. Think of it as "Jpeg meets Arbitrum" with powerful enhancements.
⚡ 10-100x Cheaper - Rust smart contracts via Arbitrum Stylus
💸 Instant Payments - x402 protocol with ~2 second USDC settlement
🤖 AI Co-Judging - Claude analyzes every photo and provides commentary
🎨 Consumer Focus - Simple, fun, and actually usable
🏆 Fair & Transparent - All bets on-chain, provably fair winner selection
Upload Photo → Pay 0.01 USDC entry fee
AI Analysis → Claude instantly rates your photo (0-10) with commentary
Community Bets → Users bet on photos they think will win
Battle Resolves → Photo with most total bets wins after 24h
Winners Paid → 95% of pot distributed proportionally to winning betters
📸 Daily Photo Battles - Themed competitions with 24-hour duration
🎨 Photo Submissions - Upload to IPFS with instant AI analysis
💰 Betting System - Place bets on your favorite photos
🏆 Automatic Resolution - Smart contract determines winner
💵 Prize Distribution - Proportional payouts to winners
🤖 Claude Vision API - Analyzes photo quality, composition, creativity
⭐ 0-10 Scoring - Objective rating system
💬 Commentary - Entertaining AI-generated feedback
🔥 Vibe Checks - "Legendary", "Based", "Mid", "Cringe" categories
⚡ Stylus Smart Contracts - Rust-based for gas optimization
💸 x402 Micropayments - HTTP 402 Payment Required standard
🔗 IPFS Storage - Decentralized photo hosting via Pinata
🔐 Web3 Wallet - MetaMask integration with Arbitrum Sepolia
📱 Responsive Design - Works on desktop, tablet, and mobile
🛠 Tech Stack
Arbitrum Stylus - L2 scaling solution with Rust smart contracts
Arbitrum Sepolia - Testnet for development
ethers.js v6 - Ethereum JavaScript library
Node.js 18+ - JavaScript runtime
Express.js - Web framework
x402 Protocol - Micropayment handling
Anthropic Claude - AI vision model
Pinata - IPFS pinning service
Next.js 15 - React framework with App Router
React 18 - UI library
Tailwind CSS 3 - Utility-first CSS
Lucide React - Icon library
React Hot Toast - Notifications
Cargo Stylus - Rust smart contract tooling
Nodemon - Development server
ESLint - Code linting
🚀 Progress During Hackathon Week 1 — Foundation & Core Infra ✅ Deployed Arbitrum Stylus smart contract (Rust-based) ✅ Implemented battle lifecycle: create → submit → bet → resolve ✅ Integrated x402 micropayments for entry fees & bets (USDC, ~2s settlement) ✅ Wallet connection + Arbitrum Sepolia support Outcome: A fully on-chain, gas-efficient betting primitive ready for consumer use. Week 2 — AI + Storage Layer ✅ Anthropic Claude Vision integration Photo scoring (0–10) Commentary + vibe labels (“Legendary”, “Mid”, etc.) ✅ IPFS uploads via Pinata ✅ Backend orchestration (AI + IPFS + contract sync) Outcome: Clear differentiation vs traditional prediction markets — AI as a co-judge, not a gimmick. Week 3 — Product UX & Payments ✅ Frontend built with Next.js 15 ✅ Battle feed, photo grid, betting UI ✅ Real-time pot tracking & resolution states ✅ Payment-gated APIs using HTTP 402 pattern Outcome: End-to-end user journey: Upload → AI feedback → Bet → Win → Get paid. Week 4 — Polish, Testing & Demo ✅ End-to-end testing on Arbitrum Sepolia ✅ Hackathon demo flow finalized ✅ Documentation + architecture clarity ✅ Positioned as consumer-first prediction market.
Current Status ❌ No external funding raised yet ❌ No SAFEs, tokens, or private rounds ✅ Fully bootstrapped during the hackathon Post-Hackathon Fundraising Plan 🎯 Apply for Arbitrum ecosystem grants 🎯 Seek pre-seed / builder grants (consumer + infra crossover) 🎯 Angel interest from: Consumer crypto AI-native apps Prediction market founders Revenue Paths (Validated in MVP) Platform fee (5% of pot) Sponsored battles / brand drops NFT mints of winning photos DAO-governed premium battles