Skip to content

slugb0t/SupplyChain-Contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supply Chain dApp

Supply chain contract with front end web page using Drizzle

Create Product Details and Particpants who will be stored onto the blockchain ledger Built using truffle and solidity Front End

Installation

  1. Install Truffle and Ganache CLI globally and dependencies for React. If you prefer, the graphical version of Ganache works as well
npm install -g truffle
npm install -g ganache-cli
npm install //Installs React node_modules
  1. Download the box. This also takes care of installing the necessary depenencies.
truffle unbox drizzle
  1. Run the development blockchain
ganache-cli
  1. Compile and migrate the smart contracts. Note inside the development console we don't preface commands with truffle.
compile
migrate --reset
  1. Run the webpack server for front-end hot reloading (outside the development console). Smart contract changes must be manually recompiled and migrated.
// Serves the front-end on http://localhost:3000
npm run start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published