Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 510 Bytes

File metadata and controls

24 lines (17 loc) · 510 Bytes

elections-dapp

Elections dapp tutorial

installation

  1. enter desired npm environment using nvm (if desired)
  2. npm install -g yarn
  3. yarn global add truffle
  4. install ganache
  5. yarn
  6. yarn migrate to generate the contract address
  7. Add the contract address to /interface/src/contract-address.js

testing

  1. Run ganache
  2. Run yarn test

running the dapp

  1. Run ganache
  2. Connect your MetaMask to your local ganache
  3. Run yarn start