🎮 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 install
in the root directory of the project to download it's dependencies.$ npx hardhat node
in the root directory to start up the local blockchain. NOTE: This terminal MUST be kept open!$ npx hardhat run scripts/deploy.js
to deploy the smart contract to the local blockchain network.$ cd client && npm install
to enter the React app & install it's dependencies.$ npm run dev
from theclient
directory, then on your browser go tohttp://localhost:3000
.