🎮 Demo App: https://coinflip-eth.vercel.app/
🎨 Tools Used: Solidity, Hardhat, Ethers.js, TypeScript, React, Waffle, ERC20, Tailwind CSS, Next.js, Chai.
Using the Rinkeby test network will be the easiest way to use this app.
If using the app on the Rinkeby test network, you must get some test Ether from a faucet.
You can also easily test out the app using a local blockchain by running a Hardhat node.
- Clone this repository.
$ npm installin the root directory of the project to download it's dependencies.$ npx hardhat nodein the root directory to start up the local blockchain. NOTE: This terminal MUST be kept open!$ npx hardhat run scripts/deploy.jsto deploy the smart contract to the local blockchain network.$ cd client && npm installto enter the React app & install it's dependencies.$ npm run devfrom theclientdirectory, then on your browser go tohttp://localhost:3000.