Solution overview

Here, we will be dealing with one of the most important parts of the farm-to-fork food life cycle: moving products from the food factory to the grocery store. 

The following diagram shows the solutions that should be implemented for each of the given stages:

Let's look at the preceding diagram in detail. We will start with the four participants:

  • Factory: This is the starting point of this food safety solution. It is responsible for gathering raw materials from farms and creating a box that is sent to the warehouse. The actions allowed for this participant are adding a new box and transferring the box to the transporter.
  • Transporter: This is the company that's responsible for handling transportation from the factory to the warehouse and from the warehouse to the grocery store in controlled temperatures. The actions defined for the transporter are adding temperature measurements to an asset that is under its control and transferring assets to a warehouse or grocery store.
  • Grocery Store: This is a company that sells the food box to the consumer. The grocery store is the end of the chain, and it's where the consumer can retrieve information from the food box. Grocery stores can check pallets and box data.
  • Consumer: They are the target of the food box. The consumer is interested in tracking the box chain, so there's a mapped action of viewing the information for a box.

We will create an instance of the Composer REST server using a business card for each participant, and so we will have four Composer REST server instances in total. There's also the box and the pallet. The definitions for these assets are as follows:

  • FoodBox: It represents the product that is produced at the factory and is handled throughout the entire chain
  • Pallet: This represents a set of boxes that are grouped together to be sent from the warehouse to the grocery store

Let's start with our blockchain network solution.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.9.124