ChainGuess is a fast, fully onchain prediction game where users compete by forecasting crypto prices in real time.
ChainGuess allows users to submit price predictions directly onchain.
After the real price is revealed, the smart contract determines the closest prediction and selects a winner automatically.
Built to demonstrate how quickly a real onchain app can be launched using Canopy Templates + AI.
- π Fully onchain prediction system
- π Wallet connection (MetaMask)
- π Submit and store predictions onchain
- π Automatic winner selection
- β‘ Built in minutes using Canopy Templates + AI
- Frontend: React + Vite
- Smart Contract: Solidity
- Web3: Ethers.js
- Wallet: MetaMask
contract/ βββ ChainGuess.sol
frontend/ βββ src/ βββ index.html βββ package.json
git clone https://github.com/botol177/chainguess-canopytest.git
cd chainguess-canopytest/frontend
2. Install dependencies
npm install
3. Run app
npm run dev