Building a tracking application
Now that we have configured an instance of AMB and members, in this section, we’ll cover a practical example of how we can build a decentralized application for tracking products on a supply chain. We’ll use Hyperledger Fabric since we deployed that in the AMB instance seen in the previous sections of this chapter.
Reference architecture
The supply chain of reference has two members only, for simplicity: a retailer, who has products in-store and sells them to the public, and its supplier, who manufactures the products and ships them to the retailer. The following diagram shows the AMB components in this solution:
Figure 4.12 – Tracking application solution components in AMB
The ordering service broadcasts new blocks of transactions to the nodes in Hyperledger Fabric. Each participant in the supply chain leverages a certificate authority for managing the authorized access to the network by registered...