0xagarg
EVM-Solana-Prediction-Market
TypeScript

Solana | EVM Prediction Market where users can create market, add liquidity, and bet, forking polymarket

Last updated Jun 22, 2026
10
Stars
4
Forks
0
Issues
0
Stars/day
Attention Score
45
Language breakdown
No language data available.
โ–ธ Files click to expand
README

๐Ÿง  DecentraPredict - A Decentralized Prediction Market

DecentraPredict is an open-source decentralized prediction market built on Solana, allowing users to create, participate, add liquidity and resolve prediction events using smart contracts.

โš–๏ธ Bet on real-world outcomes. Earn if you're right. Built for transparency, fairness, and community governance.

โœจ Features

  • ๐Ÿ“Š Create custom markets with clear outcomes
  • ๐Ÿ’ฐ Add fund to increase liquidity
  • ๐Ÿ” Decentralized and trustless smart contracts
  • ๐Ÿงพ Transparent resolution and reward distribution
  • ๐Ÿ’ธ Supports token-based betting and rewards
  • ๐Ÿง  Oracle integration for automatic result fetching
  • ๐Ÿ‘จ๐Ÿฟโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ Referral link system

๐ŸŽž How it works

You can reference the guide video here:

https://github.com/user-attachments/assets/8f48a641-7edb-4af3-a17e-c5464bfef660


๐Ÿ—๏ธ Tech Stack

  • Blockchain: Solana
  • Smart Contracts: Anchor / Rust
  • Frontend: Next.js + TailwindCSS
  • Backend: Node.js + Express + MongoDB
  • Oracles: Switchboard

๐Ÿš€ Getting Started

Prerequisites

  • Node.js v18+
  • Anchor 0.29.0
  • Next.js v15.2.1+
  • MongoDB Atlas (for backend data)

Installation

# Clone the repository
git clone https://github.com/Buckybonez/Solana-EVM-Prediction-Market
cd Solana-EVM-Prediction-Market

Install dependencies

npm install

Run frontend

npm run dev

Run backend

npm start

Backend env setting

env PORT = DB_URL = PASSKEY = FEE_AUTHORITY = ```

๐Ÿง  How It Works

  • Create Market โ€“ A user creates a prediction event: e.g., "Will BTC hit $80k by Dec 2025?"
  • Add liquidity โ€“ A user fund any market to increase liquidity
  • Participants Bet โ€“ Users place stakes on "Yes" or "No"
  • Locking Period โ€“ Market closes at deadline; no more bets
  • Resolution โ€“ Oracle fetches real-world outcome
  • Payout โ€“ Winners are rewarded proportionally

๐Ÿ’ฌ Contact

If you have any questions or would like a more customized app for specific use cases, please feel free to contact us at the contact

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท 0xagarg/EVM-Solana-Prediction-Market ยท Updated daily from GitHub