Skip to content

rketan/react-blockchain

Repository files navigation

ZotChain - Counterfeit Product Detection Using Blockchain

Screen Shot 2022-06-26 at 11 31 21 AM



To run the application

  1. Install Ganache

https://trufflesuite.com/ganache/index.html

  1. Install Metamask Chrome Extension

https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn?hl=en

  1. Download any IDE

  2. Check the port ganache is running on

Generally it should be 127.0.0.1:7545 or 127.0.0.1:8545 Update truffle-config.js accordingly

  1. Connect to your local account in Metamask

http://blockchainsfalcon.com/using-ganache-ethereum-emulator-with-metamask/

  1. Install truffle

npm install -g truffle

  1. Migrate

cd /path-to-the-repo/ truffle migrate --reset

  1. Start the front-end server

cd /path-to-the-repo npm install npm run dev (should default use 3000 port)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •