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
Asked
Active
Viewed 387 times
0

Nitin Kumar
- 69
- 10
-
I am facing the same issue here. IBM lacks in documentation and they don't give us a step by step on how to deploy a simple application on their service since the creation of a .bna file, generating a card, etc. We need to do a cherry pick on a thousands of tutorials to try to figure out how to deploy it properly. I also opened an issue here, if you want to get updates, here is the link: https://stackoverflow.com/questions/54661203/ibm-blockchain-simple-application – lat94 Feb 13 '19 at 13:31
2 Answers
1
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.

Jon Dockter
- 88
- 6
0
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:

lat94
- 511
- 1
- 5
- 18