A Truffle DApp tutorial; An Adoption tracking system for a pet shop
Ethereum Pet Shop is a tutorial that will take you through the process of building your first dapp—an adoption tracking system for a pet shop!
This tutorial is meant for those with a basic knowledge of Ethereum and smart contracts, who have some knowledge of HTML and JavaScript, but who are new to dapps.
- Visual Studio Code
- Solidity - Solidity support for Visual Studio code
- Truffle - the most popular development framework for Ethereum
- MetaMask - allows you to run Ethereum dApps right in your browser without running a full Ethereum node.
npm install -g truffle
npm install
truffle compile
truffle develop (to launch Truffle's built-in personal blockchain)
truffle migrate (to deploy contracts in the blockchain)
truffle test (to run unit tests)
npm run dev
- Official Truffle Documentation for compelte and detailed guides, tips, and sample code.