Build with with:
- Nextjs
- Wagmi
- Rainbow Kit
- Web3.storage
- Ethers.js
Preview:
Step 1.
mkdir decentralized voting
git clone https://github.com/adityabhattad2021/Chainlink-hackathon-frontend.git
git clone https://github.com/adityabhattad2021/Decentralized-Voting.gitStep 2.
Rename "Decentralized-Voting" to "smart-contracts" and "Chainlink-hackathon-frontend" to "nextjs-frontend"
Step 3.
In smart-contracts/deploy/01-deploy-voting-contract.js uncomment line 42-48
Step 4.
Configure the required keys in .env file of both "smart-contracts" and "nextjs-frontend"
Step 5.
cd smart-contracts
yarn
hh node
hh run scripts/mockVoting.js --network localhost
cd ../nextjs-frontend
yarn
yarn dev






