In this project we create a simple voting DApp and we deploy it on the Avalanche Fuji testnetwork.
To install the required dependencies run
npm installWe use Hardhat to deploy and test. Since it is not a dependency on the project you can install it by using
npm install -D hardhatTo deploy the smart contracts to the Fuji network, first create a .env file with the mnemonic key of your Avalanche account
PRIVATE_KEY="<your private key here>"
Then, we deploy our contracts using Hardhat
npx hardhat run scripts/deploy.js --network fujiTo start the DApp on a local server, run
npm startTo run the tests in the test folder, you can run
npx hardhat test- Solidity: creation of smart contracts
- React: Frontend Javascript components
- Rimble-UI: Some UI Components
- Hardhat + Ethers + Chai: Deployment and Testing
- Bootstrap: CSS Styling