Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 583 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 583 Bytes

E-Voting

An E-Voting System with Blockchain, Smart Contract

Install

Run

  • start testnet
    $ ganache-cli -m=E-Voting

  • Compile Contract
    $ solc --bin Contract/Voting.sol > Contract/Voting.bin
    $ solc --abi Contract/Voting.sol > Contract/Voting.abi

  • Paste bin and abi Contract/ in to Config.ini

  • Deploy Contract
    python3 Deployment.py

  • Run Organizer
    python3 Organizer.py

  • Run Voter
    python3 Voter.py

  • Run Verify.py to count the valid ballods python3 verify.py