frames402
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
Videos
Tech Stack
Description
Frame Wars π¨βοΈ
Social Photo Battles with AI Judging on Arbitrum
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.
Why Frame Wars?
β‘ 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
How It Works
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
β¨ Features
Core Functionality
πΈ 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
AI Integration
π€ 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
Technical Features
β‘ 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 StackBlockchain
Arbitrum Stylus - L2 scaling solution with Rust smart contracts
Arbitrum Sepolia - Testnet for development
ethers.js v6 - Ethereum JavaScript library
Backend
Node.js 18+ - JavaScript runtime
Express.js - Web framework
x402 Protocol - Micropayment handling
Anthropic Claude - AI vision model
Pinata - IPFS pinning service
Frontend
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
Development Tools
Cargo Stylus - Rust smart contract tooling
Nodemon - Development server
ESLint - Code linting