This repository containts an Ethereum DApp that demonstrates a Supply Chain flow between a Seller and Buyer. The user story is similar to any commonly used supply chain process. A Seller can add items to the inventory system stored in the blockchain. A Buyer can purchase such items from the inventory system. Additionally a Seller can mark an item as Shipped, and similarly a Buyer can mark an item as Received.
- Transaction ID: 0xae7a2d26ea20e8fa8c961e23916d71fe6bc298f7c42a8f48b235033e352e63d7
- Contract address (Contract deployed in Rinkeby)
- Install
npm install -g ganache-cli
- Install
npm install [email protected] -g
- Clone the repo
- Go to the folder project-6
- Run
truffle develop
- Migrate contracts
migrate --reset
- Run
test
inside the truffle console
- Go to the folder project-6
- Install dependencies with
npm install
- Run local server
npm run dev
- Open
localhost:3000
in your browser
- Run
truffle migrate --reset --network rinkeby