Get the code
By John Walicki | Published April 22, 2018 - Updated April 22, 2018
This pattern addresses the very real problem of the safe delivery of perishable goods (food, medicine, livestock, etc.) that are sensitive to environmental conditions during shipment. Every shipment of perishable goods has thresholds (refrigeration requirements, avoidance of shocks or vibration, etc. ) to protect the goods from contamination or damage. If the shipment exceeds these thresholds, the goods are damaged and might become a health hazard. By recording the details (Where, What, and When) of a shipment that experienced extreme conditions (thresholds specified in the smart contract) developers can verify that the goods were delivered successfully (or not). Then, payment is predicated on successful delivery. Tracking the conditions of the shipment across multiple participants using a blockchain provides verification and trust in these processes. This IBM Code pattern provides an exemplar solution of IoT Asset Tracking via a Blockchain.
You can use this code pattern to track environmental conditions for a food safety supply chain, refrigerated medical supplies, garden plant shipments, or any perishable shipment that are sensitive to the temperature, humidity, vibration, or time. If a cargo needs to be delivered within safe environmental parameters and a safe amount of time, it is extremely valuable to use an IoT Asset Tracking device that combines environmental sensors, calculates its location via GPS, triangulation, or beacons, and then reports its location via Cellular, 5G, Sub1GHz, SigFox, or WiFi networks. When multiple participants, such as farms, manufacturers, processing plants, trucks, ports, ships, distribution centers, consumer retail outlets, are involved in the safe shipment and payment of the cargo, a Hyperledger blockchain can be used to record immutable transactions as the shipment progresses through its delivery journey.
Find the detailed steps for this pattern in the README. The steps will show you how to:
October 13, 2019
Back to top