Migration of fabric-ca-client package to be included in fabric-gateway #637
Replies: 1 comment 2 replies
-
The Fabric Gateway client API (similar to the fabric-network package that preceded it) focuses only on enabling client business applications to invoke (evaluate and submit) transactions, and receive chaincode and block events. It intentionally omits capability for administrative operations, such as chaincode deployment, channel creation, or identity registration / enrolment. For administrative tasks, there are a few potential options:
For chaincode deployment and channel management, there is a pretty complete Golang implementation in the fabric-admin-sdk repository. That repository also contains a Node admin implementation (based on code developed here) with code to interact with the CA. I am not sure how stable and/or functional the Node implementation is. |
Beta Was this translation helpful? Give feedback.
-
As a hyperledger developer, I am migrating to the HLF v2.5 version, then I see the SDKs for v2.2 are deprecated, specifically the fabric-ca-client states in its npm registry page (https://www.npmjs.com/package/fabric-ca-client):
" Note: This API is deprecated as of Fabric v2.5. When developing applications for Hyperledger Fabric v2.4 and later, you should use the Fabric Gateway client API."
However, the fabric-gateway client api currently does not include the fabric-ca-client functionality.
Our application is making use of the fabric-ca-client package, so I would need it to be ported to the fabric-gateway package, if fabric-ca-client is deprecated and eventually removed.
I would appreciate if you can share any rough time plan, or provide alternatives.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions