Skip to content

christsim/truffle-pet-shop-tutorial

Repository files navigation

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

  

About

Truffe pet-shop tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published