DecentraPredict is a community-first, open-source platform for creating and resolving prediction markets on Solana and EVM. It’s designed for fairness, auditability, and modularity — so anyone can create markets, supply liquidity, or stake tokens on real-world outcomes.
- Launch custom markets with clear yes/no (or multi-outcome) questions
- Provide liquidity to markets and enable smoother trading
- Bet with tokens and claim proportional rewards when outcomes resolve
- Use oracle feeds for automated, verifiable resolutions
- Share and grow via a built-in referral system
- Transparent & Permissionless: Smart contracts hold funds and enforce payouts — no trusted middleman.
- Oracle-Driven Resolutions: Integrates with reliable oracle providers for automated outcome checks.
- Token-Centric: Supports token staking and payout mechanics, with fee and reward handling.
- Composability: Built to plug into other Solana and EVM apps and dashboards.
- Chain: Solana and EVM
- Contracts: Anchor / Rust / Solidity
- Frontend: Next.js + Tailwind CSS
- Backend: Node.js + Express + MongoDB (optional for analytics and UX)
- Oracles: Switchboard (or alternative oracle providers)
Requirements:
- Node.js v18 or newer
- Anchor v0.29.x
- Next.js v15+
- MongoDB Atlas (optional but recommended for backend data)
Install & run:
git clone https://github.com/0xopsdev/Solana-evm-crypto-Prediction-Market.git
npm ci
# Frontend (development)
npm run dev
# Backend
npm startEnvironment variables (backend):
PORT=
DB_URL=
PASSKEY=
FEE_AUTHORITY=- Create: A user spins up a market (question, deadlines, outcomes).
- Fund: Liquidity providers add funds to improve market depth.
- Stake: Participants place bets (Yes / No or outcome-specific).
- Lock: Market closes at the stated deadline.
- Resolve: Oracle confirms the real-world result.
- Payout: Smart contracts distribute rewards to winners proportional to their stake.
The architecture favors transparency: event metadata, oracle calls, and payout calculations are auditable on-chain. Governance (if enabled) can allow the community to update fee parameters or trusted-oracle lists.
I can tailor the UI, add token integrations, or set up a private deployment for your project. Reach out over Telegram: @NightFly.
Quick walkthrough: the original guide video is attached to the repo's assets.
Open-source — check the repository for the exact license file and contributor guidelines.
telegram: @its0xopsdev