This box has all you need to get started with our Pet Shop tutorial.
-
Install truffle and an ethereum client. For local development, try EthereumJS TestRPC.
npm install -g truffle // Version 3.0.5+ required. npm install -g ethereumjs-testrpc
-
Download box.
truffle unbox pet-shop
-
Compile and migrate the contracts.
truffle compile truffle migrate
-
Run the
liteserver
development server for front-end hot reloading. For now, smart contract changes must be manually recompiled and migrated.npm run dev
NOTE: This box is not a complete dapp, but the starting point for the Pet Shop tutorial. You'll need to complete that for this to function.