This decentralized voting app is developed using smart contracts.
- Creating a voter by paying with Metamask
- Creating a candidate by paying with Metamask
- Uploading files to the IPFS server using Pinata
- Casting votes
- Metamask integration for creating candidates, voters, and casting votes
- Automatic selection of the winner based on the most votes
- and many more features...
-
Restart: Delete Artifacts, Cache, Create.json in Context, after deploying deploy.js move Create.json from artifact to context file
-
Open terminal:
git clone https://github.com/AIMAN10001/voting-app cd voting-app npx hardhat node npx hardhat run --network localhost scripts/deploy.js npm run dev