Rapid prediction markets on Base — bet on 10-minute crypto price movements.
A mobile-first prediction market platform on Base L2. Users bet on whether BTC/ETH goes up or down in the next 10 minutes. Parimutuel pool with 2% rake. Instant wallet payouts.
| Layer | Choice |
|---|---|
| Framework | Next.js 14 (App Router) |
| API | tRPC |
| Database | Neon PostgreSQL + Prisma |
| Blockchain | Solidity on Base L2 |
| Auth | Web3Modal (MetaMask, WalletConnect, Coinbase Wallet) |
| Real-time | Socket.io |
| Styling | Tailwind CSS + shadcn/ui |
| State | Zustand (client) + tRPC (server) |
AGENTS.md ← Cursor agent rules (auto-read)
docs/
PRD.md ← Product requirements
TASKS.md ← Ordered task queue with AC + verify
DECISIONS.md ← Locked tech choices + OSS accelerators
RUNBOOK.md ← All dev commands
- Clone this repo
- Open in Cursor → Agent mode → type "go"
- Cursor reads
AGENTS.mdand works throughdocs/TASKS.mdtask by task - Approve terminal commands when prompted
That's it. No mega prompt needed.
pnpm install # install deps
pnpm dev # dev server
pnpm lint # lint
pnpm typecheck # type check
pnpm test # run tests- Base Blockchain: https://base.org
Generated by Prof's AI Council (BUILD_KIT workflow)