We have tested the composer application in the playground, so next we will deploy it to the blockchain:
- Create a folder called insurance-claim-network, and navigate to the folder.
- Generate a business network project template, as follows:
yo hyperledger-composer:businessnetwork
It will prompt a few questions. Enter insurance-claim-network as the network name and choose the empty template network, as shown in the following screenshot:
This will generate a few files with a default template. Replace the contents of com.packt.quickstart .claim.cto with our earlier tested model file.
Create a new folder called lib ...