kuestcom / prediction-market
Launch Your Own Web3 Decentralized Prediction Market in Minutes (Polymarket like)
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing kuestcom/prediction-market in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewKuest — Open-Source Prediction Market White-label prediction market infrastructure built on Polygon. Deploy it, brand it, and earn trading fees — in under 15 minutes. kuest.com · Live Demo · Launch · Roadmap --- Why this exists Prediction markets are processing **$18B+ in monthly trading volume** — and 66% of that demand comes from outside the US, without a single local operator to capture it. Kalshi (CFTC-regulated, 200x annual volume growth) just signed its **first international brokerage deal** with XP Inc. — Brazil's largest investment platform with 4.7M clients. Their co-founder put it plainly: > *"It makes sense for us to go through these international partners. They already have the customers and the brand."* > — Luana Lopes Lara, co-founder & COO, Kalshi · Bloomberg, March 2026 Kalshi can do that one deal at a time. Kuest makes the same capability available to any operator — without a bilateral negotiation. **Kuest is the infrastructure layer.** You bring the brand and audience. We handle the rest. --- What you get • **Your own branded prediction market** — custom domain, logo, categories, fee rate • **Shared liquidity from day one** — mirrored Polymarket markets with live order flow • **Trading fees go directly to you** — no revenue share, no intermediary • **Full Web3 stack, zero backend work** — Polygon, USDC, UMA resolution, Vercel deploy • **Bot-ready APIs and SDKs** — Python / Rust, compatible with existing Polymarket tooling • **Multi-language UI** — built-in i18n, theme customization, mobile-ready --- Stack > **Why Polygon + Polymarket-derived contracts?** > Most prediction market liquidity already lives here. Existing bots, market makers, and USDC balances are already in this environment. Smart contracts are derived from Polymarket's audited CLOB architecture and adapted to support shared liquidity across multiple operator frontends. --- Launch | | Option | Best for | |---|---|---| | ⚡ | **No-code at kuest.com/launch** — fill out a form, market live in 15 min | Most operators | | 🔧 | **Vercel + Supabase** — fork and deploy with full codebase control | Developers | | 🏗️ | **Custom infrastructure** — Docker, bare metal, your own cloud | Advanced / enterprise | --- Who is this for | Operator type | Why prediction markets | |---|---| | **Brokerages & investment platforms** | Add a new asset class for clients — event contracts on rates, elections, macro indicators. XP just did this with Kalshi. You can do it without the bilateral deal. | | **Financial media & news groups** | Turn your audience's market conviction into a tradeable product. Embed live markets. Earn fees instead of running ads. | | **Fintech & neobrokers** | Differentiate with an instrument your competitors don't offer. First mover in your market. | | **Crypto projects & DAOs** | Launch community prediction markets with on-chain fee distribution and shared liquidity. | | **Creators & communities** | Sports, politics, entertainment — any niche with a passionate audience. | --- Roadmap **Completed** • [x] Polymarket-compatible UI and market pages • [x] Polygon mainnet support • [x] Shared liquidity across forks • [x] Configurable fees per operator • [x] On-chain affiliate / trustless fee sharing • [x] CLOB engine + relayer • [x] Matching engine • [x] UMA oracle resolution • [x] Safe-compatible proxy wallet flows • [x] Public bot SDK (Python / Rust) • [x] PnL system + trader leaderboard • [x] Multi-language UI + theme customization • [x] Crypto, Nasdaq, sports, and community markets • [x] Fork-created markets with opt-in cross-fork sharing **In progress** • [ ] 🏆 MVP — stress tests, security, and financial consistency checks • [ ] MOOV2 integration (whitelist) • [ ] Gamma metadata API (fork-isolated) • [ ] Move matching engine to mainnet • [ ] Kalshi market mirroring + arbitrage connector --- Follow --- **License:** Kuest MIT+Commons — forks for branding, frontend changes, and custom UX are welcome. Production deployments must use Kuest infrastructure. Running an independent trading stack or white-glove institutional deployment requires a commercial agreement.