SideBet is a real-time, peer-to-peer Web3 prediction market built for Gen-Z.
Users stake crypto tokens on real-world events, and smart contracts handle everything — from escrow to payouts — in a fully trustless environment.
- Aryan Bansal
- Vansh Singla
- Arnav Negi
- 🔮 Create or join bets on real-world events
- 💸 Stake ETH or tokens with another user — winner takes all
- 🛡️ Smart contract ensures secure and fair payouts
- ⏱️ Real-time interaction through MetaMask + Ethers.js
- 🌐 Chainlink integration for event verification (WIP)
Layer | Tech |
---|---|
Frontend | React.js, Tailwind CSS, Ethers.js |
Blockchain | Solidity, Hardhat, MetaMask, Chainlink |
Backend/API | Node.js (optional for activity logs) |
git clone https://github.com/algo-aryan/sidebet-project.git
cd sidebet-project
cd client
npm install
npm start
cd ../contracts
npm install
npx hardhat compile
npx hardhat node
npx hardhat run scripts/deploy.js --network localhost
- Connect to
http://127.0.0.1:8545
- Import test accounts using Hardhat private keys
- ✅ India vs Pakistan match — Bet 0.05 ETH with your friend
- ✅ Bitcoin > $80k by year-end? — Create a public bet
- ✅ College dares — Settle it on-chain with SideBet
createBet(string memory description, uint amount)
joinBet(uint betId)
declareWinner(uint betId, address winner)
- Funds locked using escrow pattern
- Future scope: Chainlink Oracles for auto result
This project is licensed under the MIT License © 2025
Built with 💙 by Aryan Bansal, Vansh Singla, and Arnav Negi