In the previous recipes, we used the fabric-samples prebuilt devmode environment to deploy and test our asset manager chaincode using chaincode-docker-devmode. In this recipe, we will write UI code to interact with chaincode from blockchain. We will also build a Fabric CA container to improve the security of our application. Fortunately, fabric-sample provides the basic-network template, which can help us set up a basic Fabric network.
Developing an application with Hyperledger Fabric through the SDK
How to do it...
We first need to write a Fabric script to start the Fabric network and deploy the chaincode in this network. Using the cli container, we then install and instantiate the chaincode. The authorized client with the...