Hyperledger Cookbook
上QQ阅读APP看书,第一时间看更新

Implementing Hyperledger Fabric

In the previous chapter, we learned about how to set up and configure Hyperledger Fabric. We explored its key components, including channels, Membership Service Providers (MSPs), the ordering service, and Fabric Certificate Authority (CA).

In this chapter, we are going to build a simple device asset management DApp. We will exploit this example by writing chaincode implemented by various programming languages and we'll also build, test, and deploy our DApp.

First, we will look at inventory asset management, and then the rest of the chapter will be divided into the following recipes:

  • Writing chaincode as a smart contract
  • Compiling and deploying Fabric chaincode
  • Running and testing the smart contract
  • Developing an application with Hyperledger Fabric through the SDK