Welcome to Kuest Prediction Market
Kuest is an open-source prediction market platform that enables you to launch your own decentralized prediction market in minutes. Built on Polygon for low fees and fast settlement, Kuest provides a complete, production-ready stack with shared liquidity, UMA oracle integration, and bot-ready APIs.Quick Start
Deploy your prediction market to Vercel in 15 minutes
Architecture
Understand the system design and tech stack
API Reference
Explore trading APIs and integration options
View on GitHub
Star and fork the repository
What is Kuest?
Kuest is a full-stack prediction market platform that provides everything you need to run a decentralized prediction market:- Complete Web UI: Polymarket-inspired interface with market pages, trading panels, portfolios, and leaderboards
- Polygon Native: Low-cost transactions with USDC on Polygon - compatible with Polymarket infrastructure
- Shared Liquidity: All forks share the same liquidity pool via the Kuest CLOB (Central Limit Order Book)
- UMA Oracles: Decentralized, verifiable outcome resolution powered by UMA’s Optimistic Oracle
- Bot-Ready: Public SDKs in Python and Rust for automated trading and arbitrage
- Zero Backend Maintenance: Serverless architecture with no infrastructure to manage
Production Status: Kuest is in active development and approaching MVP readiness. The platform is currently running on Polygon Amoy testnet with mainnet deployment coming soon.
How Prediction Markets Work
Prediction markets allow users to trade on the outcomes of future events. Here’s how it works:Trading
Users buy and sell YES or NO shares. Prices represent market probability (e.g., YES at $0.65 = 65% chance)
Example Trade
- You buy 100 YES shares at 65 cost
- If YES wins: You receive 1.00) = $35 profit
- If NO wins: Your shares expire worthless = $65 loss
Key Features
On-Chain Trading Infrastructure
- Conditional Tokens Framework (CTF): ERC-1155 tokens representing YES/NO outcomes
- Central Limit Order Book: Shared order matching engine across all forks
- Configurable Fees: Set custom trading fees per fork (on-chain configurable)
- Affiliate System: Trustless on-chain fee sharing for affiliates
Modern Tech Stack
Next.js 16
App Router, Server Components, and Parallel Routes
Polygon
Low-fee L2 with native USDC support
UMA Protocol
Decentralized oracle for outcome resolution
Supabase
PostgreSQL database and file storage
Reown AppKit
WalletConnect v2 integration
Better Auth
Secure authentication with wallet support
Trading Features
- Market Orders: Execute immediately at best available price
- Limit Orders: Set your desired price and wait for fills
- Split & Merge: Convert USDC to outcome tokens and vice versa
- Portfolio Tracking: Real-time PnL calculation and position management
- Negative Risk Positions: Automatic conversion of negative positions
Platform Features
- Multi-Language Support: Built-in i18n with next-intl
- Custom Themes: Full theme customization via admin panel
- Recurring Markets: Automated crypto, Nasdaq, and social metrics markets
- Sports Integration: Live sports markets with streaming support
- Activity Feed: Real-time trading activity and notifications
- Leaderboard: Track top traders and volumes
Use Cases
White-Label Markets
Launch a branded prediction market with custom fees and branding
Community Markets
Create niche markets for specific communities or topics
Trading Bots
Build automated trading strategies with Python/Rust SDKs
Arbitrage
Connect to Polymarket and Kalshi for cross-platform arbitrage
Why Kuest?
Instant Launch
Deploy to Vercel in 15 minutes with one-click Supabase integration
Shared Liquidity
All forks share the same order book for deeper liquidity
Earn Trading Fees
Configure custom fees and earn from your fork’s trading volume
Open Source
MIT+Commons license - fork, customize, and contribute
No Infrastructure
Serverless architecture with zero backend maintenance
Production Ready
Battle-tested components and comprehensive test coverage
Getting Started
Ready to launch your prediction market? Follow our quickstart guide:Deploy to Vercel
Complete deployment guide with environment setup and configuration
Community & Support
GitHub
Star the repo and open issues
Discord
Join our community
Follow for updates
Demo
Try the live demo
Next Steps
Explore the documentation to learn more:- Quickstart: Deploy your first prediction market
- Architecture: Understand the system design
- Configuration: Configure your deployment
- API Reference: Integrate with the trading APIs