"composer archive" to Generate BNA File

Q

How to package my business network source code files into a BNA file for deployment?

✍: FYIcenter.com

A

You can use the "composer archive create" command to package my business network source code files into a BNA file for deployment:

$ cd tutorial-network

$ composer archive create -t dir -n .

$ ls -l tutorial-network*
-rw-rw-r-- 1 fyicenter 6163 Apr  1 15:42 tutorial-network@0.0.1.bna

You use the "composer archive list" command to get summary information of the generated BNA file:

$ composer archive list -a tutorial-network@0.0.1.bna

Listing Business Network Archive from tutorial-network@0.0.1.bna
Identifier:tutorial-network@0.0.1
Name:tutorial-network
Version:0.0.1

Command succeeded

 

Create Peer Admin Access Card

"yo" Command to Generate Business Network

Building Business Network with Hyperledger Composer

⇑⇑ Hyperledger Composer Tutorials

2019-04-24, 248👍, 0💬