Use Hyperledger Composer and IBM Blockchain Starter Plan to increase efficiency in the supply chain of a coffee retailer

Summary

The journey from mountaintop to countertop is long. Gaps in accountability and transparency open the door to delays and fraud. Enter IBM Blockchain. In this developer code pattern, we will create a blockchain app that increases visibility and efficiency in the supply chain of a coffee retailer, giving you a taste of a traceable, trackable coffee trade. See how blockchain can help farmers, roasters, and everyone in between bring you a fresher, fairer cup.

Description

Have you been interested in learning about creating applications that mimic a food trust supply chain with Hyperledger Composer? This developer code pattern can help you do just that.

Learn how to create a blockchain app that increases visibility and efficiency in the supply chain of a coffee retailer. The private keys and credentials of the blockchain application will be stored on a Cloudant® database. We will use different transactions to show different possible actions for the different participants in the supply chain. This sample application will record all transactions on the IBM Blockchain Starter Kit and enable a coffee retailer to assure the customer that the coffee is organic and fair-trade.

When you have completed this code pattern, you will understand how to:

Interact with IBM Blockchain Starter Kit.

Build a blockchain back end using Hyperledger Composer.

Create and use Cloudant NoSQL Database.

Deploy a Cloud Foundry application that writes and queries to the ledger.

Flow

The user deploys the app in IBM Cloud. The user submits transactions.

The transaction is submitted to the blockchain.

When the transaction conforms to the business logic, the data is written to the ledger.

A block is appended to our chain on the IBM Blockchain Starter Kit for the specific channel.

The user queries the blockchain to retrieve relevant details about their transaction.

Instructions

Find the detailed steps for this pattern in the README. The steps will show you how to: