Tools, FAQ, Tutorials:
What Is basic-network Sample Network
What is basic-network Sample Network?
✍: FYIcenter.com
basic-network is a Hyperledger Fabric network example
included in the "Samples, Binaries and Docker Images" package.
The basic-network Sample Network provides scripts and configuration files to create a simple Hyperledger Fabric network with a single organization on your local host for learning purposes.
The basic-network sample network is also used by other sample tutorials like WYFA (Write Your First Application) tutorial.
1. Review contents in the basic-network directory:
$ cd ~/hyperledger-binaries/fabric-samples/ $ ls -l basic-network -rw-rw-r-- 1 fyicenter 770 Apr 1 23:01 README.md drwxrwxr-x 2 fyicenter 4096 Apr 1 23:01 config -rw-rw-r-- 1 fyicenter 4341 Apr 1 23:01 configtx.yaml -rw-rw-r-- 1 fyicenter 1157 Apr 1 23:01 connection.json -rw-rw-r-- 1 fyicenter 710 Apr 1 23:01 connection.yaml drwxrwxr-x 4 fyicenter 4096 Apr 1 23:01 crypto-config -rw-rw-r-- 1 fyicenter 3555 Apr 1 23:01 crypto-config.yaml -rw-rw-r-- 1 fyicenter 4772 Apr 1 23:01 docker-compose.yml -rwxrwxr-x 1 fyicenter 1213 Apr 1 23:01 generate.sh -rwxrwxr-x 1 fyicenter 277 Apr 1 23:01 init.sh -rwxrwxr-x 1 fyicenter 1116 Apr 1 23:01 start.sh -rwxrwxr-x 1 fyicenter 258 Apr 1 23:01 stop.sh -rwxrwxr-x 1 fyicenter 468 Apr 1 23:01 teardown.sh
2. View the REAME.md file to see some instructions provided in basic-network:
$ more basic-network/README.md ## Basic Network Config Note that this basic configuration uses pre-generated certificates and key material, and also has predefined transactions to initialize a channel named "mychannel". To regenerate this material, simply run ``generate.sh``. To start the network, run ``start.sh``. To stop it, run ``stop.sh`` To completely remove all incriminating evidence of the network on your system, run ``teardown.sh``. ...
For download and install "Samples, Binaries and Docker Images", please see previous tutorials or hyperledger-fabric.readthedocs.io/en/release-1.4/install.html Website.
⇒ start.sh - Start basic-network
⇐ basic-network Sample Network
2020-04-25, ∼2185🔥, 0💬
Popular Posts:
How To Access a Global Variable inside a Function? in PHP? By default, global variables are not acce...
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
How to access Query String parameters from "context.Request.Url.Que ry"object in Azure API Policy? Q...
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...
How to use the "set-backend-service" Policy Statement for an Azure API service operation? The "set-b...