Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 935 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 935 Bytes

ETHEREUM PET SHOP

http://truffleframework.com/tutorials/pet-shop

used ganache as a test node https://github.com/trufflesuite/ganache

After completing the tutorial also added a disown button which would 'unadopt' a pet.

Issues:

  • Ganache would crash randomly and then metamask would give an unkown nonce error.
    • Had to reinstall ganache and metamask to continue.
  • Truffle would sometimes get confused as to the number of parameters a function needed.
    • To fix the build folder would have to be deleted and everything recompiled.
  git clone https://github.com/christsim/truffle-pet-shop-tutorial.git 
  cd truffle-pet-shop-tutorial/
  npm install -g truffle
  truffle develop

-- in a new window

  npm run compile
  npm run test
  npm run migrate

install metamask

use candy maple cake sugar pudding cream honey rich smooth crumble sweet treat

  npm run dev

adopt away