Creating a blockchain network
To develop a blockchain network, we will first have to create a business network project using the Yeoman command line, and then name the business network:
$ yo hyperledger-composer
Welcome to the Hyperledger Composer project generator
?Please select the type of project:Business Network
You can run this generator using: 'yo hyperledger-composer:businessnetwork'
Welcome to the business network generator
?Business network name:food-safety-b10407
?Description:Hands-on IoT solutions with Blockchain
?Author name:Maximiliano and Enio
?Author email:max.santos@gmail.com
?License:Apache-2.0
?Namespace:com.packtpublishing.businessnetwork.foodsafety
?Do you want to generate an empty template network?Yes: generate an empty template network
createpackage.json
createREADME.md
createmodels/com.packtpublishing.businessnetwork.cto
createpermissions.acl
create.eslintrc.yml
The Yeoman generator creates a folder with a basic empty structure for a Hyperledger Composer business...