Web3 dAppsLivePolygon

BCoinBets: Bitcoin price prediction game on Polygon

Predict Bitcoin's next move, compete with friends, and settle on-chain.

My role
Smart contracts and full-stack web app
Year
2025
Status
Live
Screenshot of BCoinBets

The problem

Prediction games live or die on trust. Players need to know the pot cannot be tampered with and that payouts follow the rules, which means the game logic has to live on-chain.

What I built

  • Wrote the Solidity contracts that hold predictions and settle rounds based on Bitcoin's price movement, deployed to Polygon mainnet.
  • Built the MERN-stack web app with wallet connection so players can place predictions and track results from the browser.
  • Integrated ethers.js for contract calls and event listening so the UI reflects on-chain state without manual refreshes.
  • Tested the contracts with Hardhat before the mainnet deployment.