- Clone repo with
git clone
- Install dependencies
yarn
- install
near-cli
globably
npm install -g near-cli
--- check scripts in ./scripts
---
- This smart contract can be used by a delivery company to track deliveries from the warehouse to the item's destination
- at every point the item moves, the delivery agent will need to update the current location, basically by creating a shipment with the same information and only changing the
status
andcurrentLoction
- in the end the status will be changed to delivered and the current location will be set to the destination.