IoT

Build an IoT Blockchain Network for a Supply Chain

Welcome!

This course shows you how to use an IoT device or simulator to track environmental conditions for a food safety supply chain, such as refrigerated food or medical supplies, garden plant shipments, or any perishable items that are sensitive to temperature, humidity, vibration, or time. You’ll build a blockchain network that tracks the transaction history of the shipments and then build a dashboard in Node-RED to see the data.

Course overview

This course shows you how to use a an IoT asset tracking device, build a blockchain network, and configure a Node-RED dashboard to implement and visualize a perishable food network supply chain. You can also use a simulated tracker if you don’t want to purchase and set up the hardware.

The application that you create can be used to track environmental conditions for a food safety supply chain that include refrigerated medical supplies, garden plant shipments, or any perishable items that are sensitive to temperature, humidity, vibration, and time. If a shipment needs to be delivered within safe environmental parameters and time, the use of an IoT asset tracking device that combines environmental sensors, calculates the shipment’s location by using GPS, uses triangulation or beacons, and then reports its location over a cellular, 5G, Sub1GHz, SigFox, Wi-Fi network is very valuable.

When multiple participants, such as farms, manufacturers, processing plants, trucks, ports, ships, distribution centers, and consumer retail outlets, are involved in the safe shipment and payment of the cargo, you can use a blockchain network to record immutable transactions as the cargo shipment progresses through its delivery journey.

In this course, you’ll do the following main tasks:

  • Configure the Asset Tracker IoT device (or use the simulator)
  • Build a blockchain business network
  • Build an IoT application in Node-RED to visualize and analyze the data from the Asset Tracker:
    • Create an IoT starter app in IBM Cloud
    • Create Node-RED flows to control and receive events from Particle.io, write events to the blockchain network, and load blockchain transaction history
    • Use Node-RED to build an asset tracking dashboard

Learning objectives

After you complete this course, you should understand how to:

  • Build a blockchain network in Hyperledger Composer based on a sample network
  • Customize the blockchain network to track data such as geolocation
  • Deploy the blockchain application to the IBM Blockchain Starter Plan
  • Create a DevOps toolchain
  • Install Hyperledger Composer locally and move your code into your repository
  • Expose the blockchain network by using the Hyperledger Composer REST API
  • Import and then customize those Node-RED flows:
    • Set global variables to drive all of the flows
    • Load blockchain transaction history so that the tracker device routes can be plotted
    • Build a dashboard to visualize the data from the device
  • Connect the blockchain network application in Node-RED to view tracked data