/eth-app

A simple voting app made using ethereum

Primary LanguageJavaScriptMIT LicenseMIT

Election app using ethereum blockchain

This project was created using truffle boilerplate

    truffle unbox pet-shop

Start ganache for local Blockchain network

compile your smart contract using (initial)

    truffle migrate

once changed compile your smart contract using:

    truffle migrate --reset

Test your smart Contract using:

    truffle test

Some important note about solidity

    view

view keyword in function indicates that the function will not change the current state of contract