/eth-roulette

Ethereum Roulette Dapp created with Hardhat & Vue 3

Primary LanguageVueMIT LicenseMIT

ETH Roulette

This is a Roulette game dApp where you can bet on either Red / Black or a specific number.

Test out the live version here

Check out a demo video here

🚨 Notice: The random number generation is done using the hash of the next block, so it isn't very secure and should not be used with real funds!

Technologies used

  • Hardhat
  • Ethers.js
  • Vue 3

Installation

Clone the repository

npm install

In another terminal run

npx hardhat node

and leave it running

Then run

npx hardhat run scripts/deployCasino.ts --network localhost

change into the frontend

cd vue-frontend

and run

npm install

After that simply run

npm run dev

And verify Metamask is connected to your local hardhat node

Licensing

ETH Roulette is released under the terms of the MIT license. For more information, see https://opensource.org/licenses/MIT.