(ii) Hyperledger Fabric to start your first network

Source: Internet
Author: User
Tags hyperledger fabric
First, preparatory work

1. Through the tutorial-"(i) Hyperledger fabric in the CentOS7.2 64-bit system development environment build" to determine has been downloaded Hyperledger Fabric official sample codes.

ii. generation of networks 1. Generate Network Identification

CD < your catalogue >/fabric-samples/first-network
chmod–r +x byfn.sh
./byfn.sh–m Generate


Results after successful execution:

2. Start Network

./byfn.sh–m Up

Startup success:


Intermediate output slightly


Go is the default language for Chaincode, where mirroring has been compiled to the container, as well as support for Node.js Chaincode.

The development language can be modified to Nodejs using the following command:

./byfn.sh-m up-l Node

3. Shut down the network

./byfn.sh–m Down

Shutdown success:

iii. Description of the tools 1. Cryptogen

The Build password (X509 certificate and signature key) is provided to various network entities. These certificates are representatives of identities that allow for signature and authentication during entity communication and processing.


If you have any questions, please leave me a message or contact me directly, and you are welcome to criticize.

Contact Way

qq:247706624

Email:liuyeying1103@163.com/code_captain@163.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.