A decentralized voting app running on ethereum blockchain.
Deploy smart contract
- Change timestamps in contract/voting-contract.sol
- Deploy contract/voting-contract.sol on Ropsten
- Change consts in index.js and state/state.js
Start local ethereum node
geth --testnet --rpc --rpccorsdomain "*" --rpcapi="db,eth,net,web3,personal"
Install and run state server
cd state
npm install
node state.js