SolPredict - Prediction Game deployed on the Solana Blockchain
SolPredict is my first project which I am developing to learn Rust + Solana Blockchain tech.
Currently SolPredict is deployed on the Solana Devnet
The current price displayed on the game in the frontend is pulled from the game's state on the blockchain.
With 5 game cranks running on one IP address, the rate limiting which could occur requires a slow rate of transactions to update the game state.
This can be remidied by pulling the oracle data for each frontend client (live price feed updates).
sdk - Typescript SDK
frontend - VueJS Frontend
server - NodeJS Host for Frontend/Aggr and API
crank - Typescript Crank Bot
The idea is heavily inspired by BSC PancakeSwap's Prediction Game
Speculate if the price is going to be higher/lower than the starting price
Round Length by default is 5 minutes
the first half of the round is unlocked for placing predictions
the second half of the round is locked until the end
at the end of the round each prediction is settled
winning predictions gain a % of the losing pools' total amount
placing a prediction when there is a claimable amount, subtracts from the claimable before requesting for more quote asset to be deposited
- Solana Devnet
- Pyth, Chainlink, Switchboard Oracles (feel free to request more solana oracles through github issues)
- Crank Code
- Airdrop Devnet USDC
- Claim Winnings
- Admin UI
- Dedicated RPC
- UX/UI Developer
https://devnet.solpredict.io --- not running, don't have a reliable RPC