This project is online Blockchain game where a room of 5 players gets created, before joining the room player needs to deposit entry amout to smart contract, after the game winner gets all the ether to his address. Socket.io is getting used to create the room for players and smart contracts are used to handle the transactions.
- React
- Nodejs
- Truffle Framework
- Ganache
- Metamask
- Solidity
- start ganache at port 7545
- git clone https://github.com/bansaltushar014/gamble.git
- cd gamble
- truffle compile
- truffle migrate
- npm install
- cd frontend
- npm install
- cd ..
- npm start