简体   繁体   中英

deploy BNA file on ibm bluemix blockchain service

I am trying to deploy a BNA file on the IBM bluemix blockchain service. I have obtained the BNA file from the composer playground and i could not find a way to push that file on bluemix blockchain service.
I have tried this tutorial but they are trying to make a chaincode and then deploying it on the blockchain service of bluemix.
Why do i have to create a chaincode for deploying? can't i just push the models and javascript transaction processor functions and then use it via a REST API from the bluemix blockchain service.
A step by step process for deploying the BNA file(obtained from composer playground) on the bluemix blockchain service would be much appreciated.
Regards

The link you provide is for Go Lang chaincode, not a Composer Business Network (BNA). I would suggest the following link, Fabric composer integration with Bluemix blockchain service .

You're supposed to deploy a chaincode, to IBM-Blockchain, not a .bna file. To link your .bna file with the deployed code, you'd need to download the connections settings of your blockchain (which can be found at Overview/Connection Profile) and put it at the same directory of your .bna file.

The image below says where you can find the connections settings:

连接配置文件

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