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.
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Jay18Mehta/Blockchain-Roulette
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published