I am trying to set up a rest API that is connected to an IBM blockchain resource. I have developed a model file, logic file, and acl file. I have it all packed up in a nice tidy.BNA, and now I would like to deploy it to a channel of my IBM cloud blockchain 2.0 resource, running on a free Kubernetes cluster.
Everything on the cloud blockchain resource is set up perfectly, and all orgs, peers, orderers, msps, and CAs are set up correctly. The channel is set up properly and has nodes and an MSP connected. I have all the admin cred .jsons
The channel only accepts smart contract files, so I tried repackaging the files (logic.js, permissions.acl, and model.cto) by putting them in a contract folder, and using the IBM Blockchain vsCode plugin to package them as a smart contract, but trying to install on the IBM cloud crashes the browser.
I am thinking maybe I have to remote connect into the IBM Kubernetes cluster that the blockchain resource is sitting on, and use the hyper ledger composer CLI to install the.BNA Seems very unintuitive, but that's the one thing I can think to try while I wait for this question to get answered.
I expected to just be able to install the.BNA as a smart contract, like a .cds.
http://bit.ly/39IMmN1
------------------------------
Christina Joy
------------------------------