I have configured my hyperledger fabric network using the ibm operator, at this moment I have my kubeternes cluster that is running in eks ready and I am trying to associate an identity, but when trying to do so it shows me the following message: the certificate could not be generated
Doing some validations and searching the pod logs I can't find any additional information. The version of hyperledger installed is 1.5.5-1
Is there an official operator or yaml to install Hyperledger Fabric on Kubernetes?
I have seen this: https://hyperledger-fabric.readthedocs.io/en/release-2.2/deployment_guide_overview.html#dg-create-a-peer
IBM Blockchain Platform V1 has(had) a nice API to interact with the blockchain itself. Here is the link to the swagger: https://ibp-sp.eu-gb.ibm-blockchain-5-prod.cloud.ibm.com/api-docs/
Among others, we could install and instantiate chaincodes (thus, we could have some kind of automation for chaincode deployment).
However, based on this documentation for IBM Blockchain Platform V2, there is not API to install/instantiate chaincode. We can only manage the network.
So my questions are:
Is it not possible to manage chaincodes via API with IBP2?
If it is possible, where is the documentation?
If it is not possible, why has it been removed and it it planed to be added in the future?
It is possible to manage chaincodes via API in IBP2.
According to the documentation that you posted above, there is a big yellow block that says Important: Also, you can use the Fabric Node SDK or peer CLI commands to install and instantiate smart contracts.
This means that you can use the Hyperledger Fabric APIs to install / instantiate your chaincode.
For example, one of my peers that is running in IBM Blockchain platform has the following URL, according to the connection profile:
grpcs://cd8945b468274f94b24b0dce0b0d6583-peer443d9f.horea-blockchainbean2-ap.sjc03.containers.appdomain.cloud:7051
Thus, to install a chaincode on this peer, we would do the following command:
CORE_PEER_ADDRESS=grpcs://cd8945b468274f94b24b0dce0b0d6583-peer443d9f.horea-blockchainbean2-ap.sjc03.containers.appdomain.cloud:7051 peer chaincode install -n mycc -p github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -v v0
Note that we have to do this command from inside the CLI container. So before we run this command we would have to do docker exec -it cli bash. You can see the documentation here
I have written my chaincode in golang and now I want to deploy it on a cloud (aws).
Is the golang file enough to deploy it or do I need to package additional files for deployment?
Just the golang file. Is going to ask your for the dependencies also, but you can get them on the machine that you will deploy the chaincode.
i have done a PoC of hyperledger fabric for KYC now it's time for deployment.I have been through several tutorial for the deployment of hlf project.What i found is to deploy on amazon using instances.Hyperledger being a decentralised app how can it be deployed to a centralised server in this case Amazon cloud.Where should i supposed to Deploy my project in order to make it fully decentralised.