Andriy-Kulak / eth_app_3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

to get started

  1. npm install
  2. ganache-cli => copy the mneomonic and paste it in metamask and go to localhost:8545
  3. truffle compile => to compile contract
  4. truffle migrate => to migrate contract
  5. npm run start to start the application

The app should work at this point and current value should become 5 after you confirm the transasction on component mount

*** The problem happens within src/App.js when I try to update the storage value to 20 (by clicking Set Value to 20). It always returns back a 5 which is weird because it returns a hash and no errors.

About


Languages

Language:JavaScript 94.1%Language:CSS 4.2%Language:HTML 1.7%