简体   繁体   中英

How to integrate Hyperledger Fabric Network and Hyperledger Composer

I am learning Hyperledger Fabric for Enterprise Blockchain. I have setup a network of an organization with orderer, ca, peer and cli running as docker containers(I will be setting up other organizations on other computers instead of dockerzing the whole process).

1.I want to know how I can use hyperledger composer in the scene. I would like to code and deploy chaincode on the channel I have setup, but I am clueless how to do so using composer.

2.The documentation of Composer has steps which involve setting up and run their blockchain docker files.

My efforts :

Went through composer documentation but to no avail. I have traversed createPeerAdminCard.sh and modified it to generate card using peer channel-artifacts of my blockchain network. But on importing it to composer via cli or composer-playground, I see None under the Business Network section of the card on browser interface of fabric-composer.

Please help as I am stuck on this problem for quite long. image of composer-playground output

Hyperledger composer is no longer in active development. It is best to implement the chaincode yourself

According to the image, it seems you have not deployed any BNA yet.

Follow this link to setup hyperledger fabric. Once everything is up and running then you can deploy sample BNA in playgound(already loaded in composer UI).

You can use composer playgound itself to create your own BNA. Sample composer setup is available here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM