https://github.com/kuestcom/prediction-market
Launch Your Own Decentralized Prediction Market in Minutes.
https://github.com/kuestcom/prediction-market
arbitrage cryptodev defi ethereum kalshi kalshi-clone liquidity opensource polygon polymarket polymarket-clone prediction-markets smartcontracts trade trade-bot web3
Last synced: 5 months ago
JSON representation
Launch Your Own Decentralized Prediction Market in Minutes.
- Host: GitHub
- URL: https://github.com/kuestcom/prediction-market
- Owner: kuestcom
- License: other
- Created: 2025-07-29T21:16:40.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2026-01-14T14:07:54.000Z (5 months ago)
- Last Synced: 2026-01-14T15:47:58.698Z (5 months ago)
- Topics: arbitrage, cryptodev, defi, ethereum, kalshi, kalshi-clone, liquidity, opensource, polygon, polymarket, polymarket-clone, prediction-markets, smartcontracts, trade, trade-bot, web3
- Language: TypeScript
- Homepage: https://kuest.com
- Size: 5.15 MB
- Stars: 27
- Watchers: 2
- Forks: 21
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# π Launch Your Decentralized Prediction Market in Minutes
> **π¨ Big Announcement (05 Jan 2026): Forkast is now Kuest.** This repo has been reset for clean redeploys β expect to redeploy from scratch, reset the DB, and update your env vars, URLs, and docs.
[](./LICENSE) [](https://github.com/kuestcom/prediction-market/actions/workflows/ci.yml)
[](https://kuest.com)
Open-source project to launch and monetize Web3 prediction markets, inspired by Polymarket, but with full transparency and control.
## β¨ Core Benefits
Tired of centralized platforms? Want to build your own business in the DeFi space? This project offers you:
- **β‘ Rapid Launch:** Get your prediction market website running in **minutes**, not months.
- **π Ready Events & Liquidity:** We sync popular events from platforms like Polymarket, ensuring you have active markets with initial liquidity for your users.
- **π° Earn Fees Automatically:** Earn **1% of traded volume** on your fork, directly via smart contracts. Another 1% goes to maintain backend infrastructure, blockchain operations, and continuous development of the base protocol.
- **π οΈ Hassle-Free & Transparent:** Infrastructure is managed for you, while you keep full control over the code and operations. Focus on growing your community and contributing to a decentralized ecosystem.
- **πΈ Arbitrage Opportunities:** Your users can profit from price differences between your platform and other prediction markets like Polymarket, creating natural trading volume and liquidity.
- **β‘ Built on Polygon:** Fast transactions with minimal fees, ideal for traders and scaling your market.
- **π³οΈ Fair Event Resolution (via UMA/Oracles):** A global voting area ensures fairness and security of results.
## π οΈ Get Started Now!
Follow these simple steps to launch your own prediction market:
### 1. Fork the Repository
Click the **Fork** button in the top right corner (and feel free to leave a **β star**!)
### 2. Create a New Project on Vercel
1. Go to [Vercel](https://vercel.com) dashboard
2. Select **Add New** β **Project**
3. Connect your **GitHub account**
4. Import and Deploy your **forked repository**
*Note: The initial deployment may fail due to missing environment variables. This is expected.
Complete Step 3 (Supabase) and Step 4 (environment) first, then redeploy from your project dashboard.*
### 3. Create Database (Supabase)
1. Go to your project dashboard
2. Navigate to the **Storage** tab
3. Find **Supabase** in the database list and click **Create**
4. Keep all default settings and click **Create** in the final step
5. Once ready, click the **Connect Project** button to link to your project
### 4. Configure Your Environment
1. **Download** the `.env.example` file from this repository
2. **Edit** it with your configuration:
- **Kuest CLOB Ordersbook**: Connect your wallet at [auth.kuest.com](https://auth.kuest.com), sign to verify ownership, and copy the API key, secret, and passphrase
- **Reown AppKit**: Get Project ID at [dashboard.reown.com](https://dashboard.reown.com)
- **Better Auth**: Generate secret at [better-auth.com](https://www.better-auth.com/docs/installation#set-environment-variables)
- **CRON_SECRET**: Create a random secret of at least 16 characters
3. Go to your Vercel project dashboard
4. Navigate to **Settings** β **Environment Variables**
5. Click **"Import .env"** button
6. Select your edited `.env.example` file
### 5. Redeploy your project
*Optionally, add your custom domain in **Settings** β **Domains** on your project dashboard.*
### 6. Sync Your Fork (via GitHub Actions)
In your forked Kuest repository:
1. Go to **Settings** β **Actions** β **General**
2. Select **"Allow all actions and reusable workflows"**
3. Click **Save** - This enables automatic sync with the main repository
**Ready! π** Your prediction market will be online with automatic database setup in a few minutes.
## π― Features
- π± Mobile Ready
- π¨ Modern UI/UX (Polymarket-style)
- π Docs
- π¨βπ» API
- β‘ Live Price Updates
- π³ Web3 Wallets (MetaMask, Reown AppKit)
- π Advanced Charts & Analytics
- π Secure Smart Contracts
## π§ Tech Stack
- **Frontend:** Next.js 16 (React 19, TS, Tailwind, Zustand, @visx)
- **Backend/DB:** Supabase (Postgres, Drizzle)
- **Auth:** Better Auth + SIWE
- **Blockchain:** Polygon (viem, wagmi)
## β οΈ Disclaimer
Kuest is provided "as is" and should be used at your own risk. Review the [Modified MIT License with Commons Clause](./LICENSE) before deploying production forks: running derivatives that alter the core on-chain contracts or orderbook modules may fall outside the permitted use. Always verify smart contracts and comply with relevant regulations in your jurisdiction.
## π Links
**π [Documentation](https://kuest.com/docs/users)** β’
**π [Live Demo](https://kuest.com)** β’
**πΊοΈ [Roadmap](https://github.com/orgs/kuestcom/discussions/51)** β’
**π¬ [Discussions](https://github.com/orgs/kuestcom/discussions)**
**π± [Discord](https://discord.gg/kuest)** β’
**π¦ [X (Follow us)](https://x.com/kuest)** β’
**π [Issues](https://github.com/kuestcom/prediction-market/issues)** β’
**β [Contribute](https://github.com/kuestcom/prediction-market/blob/main/CONTRIBUTING.md)**
---
*π§ This project is under active development.
Developers and contributors are welcome to join and help build Kuest into a fully decentralized ecosystem.*