Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 861 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 861 Bytes

Ethereum Voting Application

An ethereum based proof-of-concept voting application.

Front-end Application

Commands

Install dependencies

npm install

Note: [email protected] 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'
}