/ethVote

An ethereum based proof-of-concept voting application.

Primary LanguageJavaScript

Ethereum Voting Application

An ethereum based proof-of-concept voting application.

Front-end Application

Commands

Install dependencies

npm install

Note: solc@0.4.26 is the last Solidity compiler version before the breaking 0.5.0 update. Compile and deploy scripts broke because of this, and 0.4.26 is used in this project.

Compile contracts

node .\ethereum\compile.js

Deploy contracts using Infuria

node .\ethereum\deploy.js

Note: To hide API keys, a config file was used. Create .\ethereum\config.js and use this template:

module.exports = {
    mnemonic: '',
    provider: 'https://rinkeby.infura.io/v3/accountspecificaddress'
}