Skip to content

This tutorial 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.

Notifications You must be signed in to change notification settings

kennethhutw/pet_shop_tutorial

Repository files navigation

pet_shop_tutorial

This tutorial 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.

Step :

1. donwload source code from this repository

2. install package

    npm install

3. execute ganache

ganache

4. open terminal (Mac) or command line (windows) ,make sure you are in the root of the directory that contains the dapp and type:

    truffle compile

5. Back in terminal or command line, migrate the contract to the blockchain.

    truffle migrate

6 Using the dapp, Start the local web server:

    npm run dev

dapp

PS : Please check that your Ethereum client and the port in truffle.js are the same if it can not connect to your Ethereum client.

ganache-cli

ganache-migrate

ganache

ganache-migrate

About

This tutorial 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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages