简体   繁体   English

在ibm bluemix区块链服务上部署BNA文件

[英]deploy BNA file on ibm bluemix blockchain service

I am trying to deploy a BNA file on the IBM bluemix blockchain service. 我正在尝试在IBM bluemix区块链服务上部署BNA文件。 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. 我已经从作曲家游乐场获得了BNA文件,但我找不到将其推送到bluemix区块链服务上的方法。
I have tried this tutorial but they are trying to make a chaincode and then deploying it on the blockchain service of bluemix. 我已经尝试过本教程,但是他们正在尝试制作一个链码,然后将其部署到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. 我不能只是推送模型和javascript事务处理器功能,然后通过bluemix区块链服务中的REST API使用它。
A step by step process for deploying the BNA file(obtained from composer playground) on the bluemix blockchain service would be much appreciated. 在Bluemix区块链服务上部署BNA文件(从Composer游乐场获得)的分步过程将非常受赞赏。
Regards 问候

The link you provide is for Go Lang chaincode, not a Composer Business Network (BNA). 您提供的链接用于Go Lang链码,而不是Composer商业网络(BNA)。 I would suggest the following link, Fabric composer integration with Bluemix blockchain service . 我建议以下链接,即Fabric composer与Bluemix区块链服务的集成

You're supposed to deploy a chaincode, to IBM-Blockchain, not a .bna file. 您应该将链码部署到IBM-Blockchain,而不是.bna文件。 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. 要将您的.bna文件与已部署的代码链接,您需要下载区块链的连接设置(可在Overview / Connection Profile中找到),并将其放置在您的.bna文件的同一目录中。

The image below says where you can find the connections settings: 下图显示了在哪里可以找到连接设置:

连接配置文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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