Generating the configuration in one operation

For convenience, the trade.sh script is configured to generate the channel artifacts as well as the cryptographic material using the commands and configuration files described previously. Just run the following command from within the network folder:

./trade.sh generate -c tradechannel

Although you can specify any channel name here, note that the configurations used to develop the middleware later in this chapter will depend on that name.