GitHunt
VA

valeh/cryptovote

PoC implementation for the blockchain based election protocol – CryptoVote

cryptovote

PoC implementation for the blockchain based election protocol – CryptoVote

  • Install required gems
bundle install
  • Start an observer node
PORT=7075 ./observer.rb
  • Access the blockchain
curl http://localhost:7075/chain
  • Vote
OBSERVER_ADDRESS=http://localhost:7075/chain ./voter.rb -p 000000000000000000000000000000004a0f1e1ec8b44d4bba77616574b177ce -c "Hulk"
  • Count the votes
./counter.rb -c http://localhost:7075/chain

Languages

Ruby100.0%

Contributors

Created May 27, 2018
Updated January 10, 2021
valeh/cryptovote | GitHunt