Tools, FAQ, Tutorials:
"first-network" - Building Your First Network
What is BYFN (Build Your First Network)?
✍: FYIcenter.com
BYFN (Build Your First Network) is a tutorial provided
in the Hyperledger Fabric "Samples, Binaries and Docker Images" package
provided at http://bit.ly/2ysbOFE.
After installing the binary package, the BYFN tutorial is located at ~/hyperledger-binaries/fabric-samples/first-network directory.
You can play with BYFN with the shell script provided in this tutorial directory:
$ cd hyperledger-binaries/fabric-samples/first-network $ ./byfn.sh -h Usage: byfn.sh <mode> [-c <channel name>] [-t <timeout>] [-d <delay>] [-f <docker-compose-file>] [-s <dbtype>] [-l <language>] [-o <consensus-type>] [-i <imagetag>] [-v] <mode> - one of 'up', 'down', 'restart', 'generate' or 'upgrade' - 'up' - bring up the network with docker-compose up - 'down' - clear the network with docker-compose down - 'restart' - restart the network - 'generate' - generate required certificates and genesis block - 'upgrade' - upgrade the network from version 1.3.x to 1.4.0 -c <channel name> - channel name to use (defaults to "mychannel") -t <timeout> - CLI timeout duration in seconds (defaults to 10) -d <delay> - delay duration in seconds (defaults to 3) -f <docker-compose-file> - specify which docker-compose file use (defaults to docker-compose-cli.yaml) -s <dbtype> - the database backend to use: goleveldb (default) or couchdb -l <language> - the chaincode language: golang (default) or node -o <consensus-type> - the consensus-type of the ordering service: solo (default) or kafka -i <imagetag> - the tag to be used to launch the network (defaults to "latest") -v - verbose mode
For more information on BYFN, see the tutorial document at hyperledger-fabric.readthedocs.io/en/release-1.4/build_network.html.
Â
⇒ "byfn.sh generate" - Generate BYFN Configuration
⇠Hyperledger Fabric Sample Networks
⇑ Hyperledger Fabric Sample Networks
⇑⇑ Hyperledger Tutorials
2020-05-05, 907👍, 0💬
Popular Posts:
How to dump (or encode, serialize) a Python object into a JSON string using json.dumps()? The json.d...
How to use the "find-and-replace" Policy Statement for an Azure API service operation? The "find-and...
How To Control Vertical Alignment? By default, text in all table cells are aligned to the top vertic...
How to use the Atom Online Validator at w3.org? w3.org feed validation service is provided at http:/...
How to use the "set-body" Policy Statement for an Azure API service operation? The "set-body" Policy...