Skip to content

0xnightfly/EVM-Solana-Prediction-Market

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 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:

create_fund_trading.mp4

πŸ—οΈ 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/HyperBuildX/Solana-Prediction-Market
cd decentrapredict

# 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 information below.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published