We have opened two Terminals so far and deployed the chaincode to the peer node. It is time to install and test our chaincode function.
Running and testing the smart contract
How to do it...
Open the third container to issue the cli command and test our smart contract. In this Terminal, we will start the cli container and issue the cli command to interact with the chaincode container. Launch an example cli container as follows:
docker exec -it cli bash
Installing the assermgr chaincode
Install the assermgr chaincode through the cli container by running the following command...