Create peer and channel with sdk #594
-
Morning, In this newer version of the SDK with java is it possible to create peers and manage the entire network via SDK?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Since Fabric v2.2 the focus of the client application SDKs has been on support application runtime (transaction invocation and eventing), not on administrative operations. Neither fabric-gateway (for Fabric v2.4 and later) or fabric-gateway-java (for earlier Fabric versions) provide any API for creating peers or managing the network. Instead, the Fabric CLI commands have been the primary tool for administrative tasks. More recently there has been work on fabric-admin-sdk to provide support for programmatic network configuration. There is so far only an implementation in Go and JavaScript, with no Java implementation. The SDK is also still in development and, while it is pretty much fully functional, is only just reaching API stability. If you are deploying to Kubernetes then alternatives you could consider are a Kubernetes operator for managing Fabric deployments, such as: For a GUI-based experience, there is also hyperledger-labs/fabric-operations-console. |
Beta Was this translation helpful? Give feedback.
Since Fabric v2.2 the focus of the client application SDKs has been on support application runtime (transaction invocation and eventing), not on administrative operations. Neither fabric-gateway (for Fabric v2.4 and later) or fabric-gateway-java (for earlier Fabric versions) provide any API for creating peers or managing the network. Instead, the Fabric CLI commands have been the primary tool for administrative tasks.
More recently there has been work on fabric-admin-sdk to provide support for programmatic network configuration. There is so far only an implementation in Go and JavaScript, with no Java implementation. The SDK is also still in development and, while it is pretty much fully …