Decentralized Voting dApp where users can connect their wallet and create a voting poll with options and other users can vote each options. A user can only vote once on a given poll.
Hosted on: https://govote.on.fleek.co/
- Clone the project
- Open terminal on the project and cd into "hardhat" folder
- Run: npm install - to install all the dependences
- Rename the .env.example file to .env and provide the values to the parameters
- Run: npx hardhat compile - to compile your smart contracts
- Run: npx hardhat run scripts/deploy.js --network ropsten
- Copy the contract address that is logged on the console - you will need it to interact with the frontend
- cd into the client folder
- Run npm install
- Replace the contract address in the: constants/index.js
- Replace the abis but this is optional
- Run npm start