Blockchain based solution to validate physical assets in supply chain.
Use "npm start" to run app.
POD.sol contains the smart contract. deploy smart contract and use the address and the abi before running the app. Copy and paste the abi and address in the POD.js file in ./src folder.
Sets up wallet - use addresses in your metamask to deploy the app
Injects web3 object to your browser to interact with smart contract (need to implement newer version of web3)
The contract consists of 5 entities
- Buyer
- Seller
- Transporter
- Arbritrator
- Attestation authority
The state change in the contract by each of the entities happen in a sequential manner.
These state changes are designed so that each participating entity has an incentive to act honestly in the contract.