![Hyperledger Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/682/36698682/b_36698682.jpg)
上QQ阅读APP看书,第一时间看更新
How to do it...
Since we need add the new organization, Org3, to BYFN, we will first bring up the BYFN network. Follow these steps:
- Bring up the first network using the following command:
$ cd ~
$ cd fabric-samples/first-network
$ sudo ./byfn.sh generate
$ sudo ./byfn.sh up
- Execute the script to add Org3 into the mychannel channel:
$ cd ~
$ cd fabric-samples/first-network
$ sudo ./eyfn.sh up
The following screenshot confirms org3 is added to mychannel successfully:
![](https://epubservercos.yuewen.com/21D760/19470379601494606/epubprivate/OEBPS/Images/e945764b-1127-44c8-811d-f00bd71131ce.png?sign=1738856273-ZSezNmloAclgwFPlouOuGWOLSXuDNa37-0-febb2af13ae26dc1c56caf1e1445d9a4)
We can test this by running a query against Org3 peer0.
- To shut down and clean up the network, execute the following:
$ cd fabric-samples/first-network
$ sudo ./eyfn.sh down
$ sudo ./byfn.sh down