Tools, FAQ, Tutorials:
"composer network" - Deploy BNA File
How to deploy and start a business network BNA file to the local Hyperledger Fabric developer environment?
✍: FYIcenter.com
You can use the "composer network" command
to deploy and start a business network BNA file on the local
Hyperledger Fabric developer environment:
$ cd tutorial-network $ composer network install --card PeerAdmin@hlfv1 \ --archiveFile tutorial-network@0.0.1.bna ✔ Installing business network. This may take a minute... Successfully installed business network tutorial-network, version 0.0.1 Command succeeded
Then you can start the business network you just deployed.
$ cd tutorial-network $ composer network start --networkName tutorial-network \ --networkVersion 0.0.1 --networkAdmin admin \ --networkAdminEnrollSecret adminpw \ --card PeerAdmin@hlfv1 --file networkadmin.card \ Successfully started business network tutorial-network, version 0.0.1 Command succeeded
Your business network is up and running in the Hyperledger Composer developer environment now.
Â
⇒ "composer network install" Errors
⇠Create Peer Admin Access Card
2021-02-04, 645👍, 0💬
Popular Posts:
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
How to add request body examples to my Azure API operation to make it more user friendly? If you hav...
How to access Request body from "context.Request.Body" object in Azure API Policy? Request body is t...
Where Is the Submitted Form Data Stored in PHP? When a user submit a form on your Web server, user e...
How to Test API as a Publisher Administrator? You can follow this tutorial to test an API operation ...