Skip to content

Solana Stock Predict that users can place bets on the price movements of stocks, cryptocurrencies, and tokens, with fast transactions, low fees, and transparent results powered by Solana smart contracts

Notifications You must be signed in to change notification settings

ptcbink/solana-stock-predict

Repository files navigation

Solana Stock Predict - A Decentralized Prediction Market Game

Screenshot_2

Decentralized prediction market game that allows users to wager on the future price movements of stocks, cryptocurrencies, and tokens. Built on the Solana blockchain

Key Features

  • Predict & Earn: Place bets on price movements (Up/Down) Win rewards based on accurate predictions
  • Decentralized & Transparent: Leverages smart contract to ensure a trustless environment where the results cannot be manipulated
  • Low Fees & Fast Transactions: Built on Solana, offers minimal transaction costs and high-speed execution
  • Secure & Fair: Data and logic are secured on the blockchain, ensuring fairness and immutability for every user
  • Global Leaderboards: Compete with traders worldwide in real-time. Top performers are rewarded for their insights and predictions
  • Referral Program: Invite friends and earn additional rewards when they participate in the game

Tech Stack

  • Blockchain: Solana - A high-performance blockchain designed for dApps
  • Smart Contracts: Developed using Anchor Framework and Rust
  • Frontend: Built with React, TypeScript, and Next.js
  • Wallet Integration: Seamless integration with popular Solana wallets, including Phantom, Solflare, and others using the Solana Wallet Adapter
  • Data Oracles: Real-time price feeds fetched from decentralized price oracles on-chain
  • NFT Integration: Optional, users can stake NFTs or collect special items based on their performance in prediction markets.

Core Technical Concepts

  • Program Derived Addresses (PDA): Key game state and user data (such as bets, rewards, and competition rankings) are stored at PDAs, ensuring that account interactions are tamper-proof and decentralized
  • Decentralized Oracles: Price predictions are based on decentralized price oracles that fetch real-time asset data from external sources, ensuring trustless and verifiable predictions

Security

  • Smart Contract Audits: contracts undergo thorough third-party security audits to ensure they are free from vulnerabilities
  • On-Chain Data Integrity: game data (bets, predictions, results) are stored on Solana, making the game results fully transparent and verifiable
  • Cryptographic Integrity: Leverage Solana’s native cryptographic capabilities to ensure that all transactions are secure and immutable

How to Get Started

  1. Connect Your Wallet: Use your Solana-compatible wallet like Phantom, Solflare, or Sollet to interact with the platform
  2. Make a Prediction: Choose an asset and predict if its price will go up or down. Enter your bet size and confirm your prediction
  3. Wait for Results: The results are automatically calculated once the prediction period ends, and the Solana smart contract processes the outcome
  4. Earn Rewards: If your prediction was correct, earn rewards based on your bet. Top players are rewarded on the leaderboard

About

Solana Stock Predict that users can place bets on the price movements of stocks, cryptocurrencies, and tokens, with fast transactions, low fees, and transparent results powered by Solana smart contracts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published