Skip to content

Implemented a Smart Contract using Solidity. Tested and deployed on Etherscan using Hardhat. Also verified on Etherscan by writing verify.js script. Uses chainlink-VRF-v2 to generate random number. Have used modifiers, events, enums, fallback, recieve functions. Used VRFCoordinatorV2Mock from @chainlink/Contracts to make to run on local-environment

Notifications You must be signed in to change notification settings

Jay18Mehta/Blockchain-Roulette

Repository files navigation

Roulette Hardhat Project

Implemented a Smart Contract using Solidity. Tested and deployed using Hardhat. Uses chainlink-VRF-v2 to generate random number. User first have to deposit ether to play. Next he/she can select outside bets or straight-up bets . Based on the number generated ethers are deducted/added from user's deposited amount. User can withdraw ether. Also only owner can fund the contract and all remove funds from contract.

About

Implemented a Smart Contract using Solidity. Tested and deployed on Etherscan using Hardhat. Also verified on Etherscan by writing verify.js script. Uses chainlink-VRF-v2 to generate random number. Have used modifiers, events, enums, fallback, recieve functions. Used VRFCoordinatorV2Mock from @chainlink/Contracts to make to run on local-environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published