hackquest logo

Prediction Royale

Predict. Compete. Survive. A gamified prediction market where players stake ETH, predict BTC price movements, and compete in elimination rounds until one winner takes the pot.

Videos

Pila tecnológica

React
Web3
Next
Ethers
Solidity
Move

Descripción

Prediction Royale (PR)

Predict. Compete. Survive. A gamified prediction market where players stake ETH, predict BTC price movements, and compete in elimination rounds until one winner takes the pot.

Features

  • Multi-round tournaments — 3–20 rounds per game with progressive elimination

  • Commit-reveal scheme — Prevents front-running of predictions using on-chain hashed commitments

  • Oracle-powered — Chainlink price feeds for BTC/USD and ETH/USD resolution

  • Real-time eliminations — Bottom players eliminated each round

  • 70/20/10 payout — Winner takes 70%, 2nd gets 20%, 3rd gets 10%

  • ERC-721 badges — Participation NFTs with on-chain SVG metadata

  • Live leaderboard — Real-time score updates via Supabase Realtime

  • Wallet-first — No email/password. Connect MetaMask, WalletConnect, or Coinbase Wallet

Game Flow

  1. Connect Wallet — MetaMask / WalletConnect on Arbitrum Sepolia

  2. Browse/Create Lobby — Set stake, max players, rounds

  3. Join & Wait — Pay stake, wait for players or countdown

  4. Commit Phase (300s) — Submit hashed prediction (YES/NO on price move)

  5. Reveal Phase (60s) — Reveal prediction with salt

  6. Oracle Resolution — Chainlink fetches real price

  7. Elimination — Bottom players removed per round

  8. Repeat — Until 1 player remains or all rounds complete

  9. Payout — Winner 70%, 2nd 20%, 3rd 10% (3% protocol fee)


Progreso del hackathon

Complete Project is Build during the hackathon timeline.

Estado de recaudación de fondos

N/A
Líder del equipo
SSahil Kumar
Enlace del proyecto
Sector
GamingOtherDeFi