Skip to content

adityabhattad2021/Chainlink-hackathon-frontend

Repository files navigation

A Fully Decentralized Voting System (Frontend).

Build with with:

  • Nextjs
  • Wagmi
  • Rainbow Kit
  • Web3.storage
  • Ethers.js

Preview:

  • Main page Page1

  • Start new voting round page Page2

  • Add candidate page Page3

  • Voter Registeration (To be removed in later version) Page4

  • Manage voter page Page6

  • Voting page Page5

  • Winner decleration page Page7

  • Find winners of previous round page Page8

    Try it out :

Step 1.

mkdir decentralized voting
git clone https://github.com/adityabhattad2021/Chainlink-hackathon-frontend.git
git clone https://github.com/adityabhattad2021/Decentralized-Voting.git

Step 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

Link to smart contract with solidity

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors