Ask a question! [email protected], Telegram Chat, Knowledge Base
Join the community! Join Discord, Join mailing list, Twitter
Now works with Claude, ChatGPT & AI Agents
This product includes a SKILL.md — a ready-made instruction set for AI agents. Connect it to Claude Projects, GPTs and configure your crypto product in minutes — no developer needed.
✓ Interview protocol ✓ Config templates ✓ Deploy guide ✓ Troubleshooting
PredictionMarket — White-label Prediction Market Platform (Polymarket Fork)
Build your own prediction market like Polymarket. Open-source Solidity smart contracts for creating and managing prediction markets on any EVM blockchain. Users bet on real-world outcomes using ERC-20 tokens, and winners claim proportional payouts automatically.
Live Demo (BSC Testnet) |
GitHub Repository
Key Features
- Create prediction markets with 2-6 possible outcomes
- ERC-20 token based betting (USDT, USDC, or any custom token)
- Proportional payout distribution to winners
- Configurable admin fees (up to 20%), can be enabled/disabled
- Fee snapshotting at market creation for fairness
- Market cancellation with full refund support
- Two-step admin transfer for security
- Emergency withdrawal after inactivity (365 days admin, 730 days onout)
- Multi-chain support: any EVM-compatible blockchain
- 47 unit tests passing — fully battle-tested
- Frontend included — ready to deploy
How it works
1. Admin deploys the PredictionMarket smart contract with their chosen ERC-20 token.
2. Admin creates markets with a question, outcomes (2-6), and end date.
3. Users connect wallets and bet tokens on outcomes they believe will happen.
4. After the event ends, admin resolves the market by selecting the winning outcome.
5. Winners claim their proportional share of the total pool (minus platform fees).
Supported Networks
- Ethereum Mainnet
- Binance Smart Chain (BSC)
- Polygon (Matic)
- Arbitrum
- Avalanche
- Base
- Any EVM-compatible blockchain
QA
What token do users bet with?
Any ERC-20 token you choose at deployment — USDT, USDC, or your custom token.
Can I disable fees?
Yes, fees can be toggled on/off. When disabled, the entire pool goes to winners.
Is the code audited?
The smart contract has 47 comprehensive unit tests covering all edge cases. Source code is fully open for review.
Can markets be cancelled?
Yes, admin can cancel a market. All users receive full refunds of their bets.
SEE also:
1. Multi Currency Wallet — Bitcoin, Ethereum, ERC20
2. FarmFactory — Staking & Yield Farming
3. DeFinance — DEX Plugin (Uniswap fork)
4. DAO Factory — Governance & Proposals
5. NFT Marketplace
6. Request a custom tool (survey)
Changelog v1.0.0
- Initial release — PredictionMarket smart contract
- Frontend dApp with wallet connection
- 47 unit tests
- BSC Testnet deployment