An ethereum based proof-of-concept voting application.
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.
node .\ethereum\compile.js
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'
}