/Pet-shop

Simple web-based Pet Shop powered with blockchain. Build with Metamask, Truffle and Web3.py

Primary LanguageJavaScript

Pet-Shop

Pet-shop is Web3.js based Web UI works on Blockchain technology and can used as real time adpotion system. User will connect with website through any crytowallet (Metamask is used in this case) and adpot pet confiming identity with Blockchain medium.

Getting Started

This is complete implementation Pet-shop tutorial by Truffle. To get started follow along with intrustions below:

Prerequisites

1.node js (https://nodejs.org/en/download/)
2.truffle (https://www.trufflesuite.com/truffle)
3.Ganache (https://www.trufflesuite.com/ganache)
4.Metamask (https://metamask.io/)

Installing

  1. gitclone this repository or download it directly.
  2. Goto folder and run the command:
  npm install

This will install all other requirements of the project defined in package-lock.json. Make sure that you have installed node.js on your system.

  1. To make sure truffle is installed run command:
truffle help
  1. To connect smart contact code wit blockchain run command:
truffle migrate
  1. Start Ganache and see the Network information on top of UI
  2. Install and start Metamask on your browser and connect it with Ganache through Custom RPC option. or You can simply copy seed phrase given and paste it in Metamask
  3. Finally run command:
npm dev run

Dapp image

Authors

AJINKYA924