Open desAweis opened 1 year ago
I'm also looking for a go counterpart for something that is similar to a node SDK.
But I just have no idea how to create a so-called context
and config provider
mentioned in code.
There is no constructor for it, i do not know how to manually build a config provider for it.
The codes are poorly documented and so highly nested compared to the node examples.
Hello there,
I want to run a Fabric CA Server and Fabric CA Client using this SDK, to implement the functionality like the offical document using binary 'fabric-ca-server' and 'fabric-ca-client'. I want to use this SDK to start a new organization CA server, then register admin and enroll admin and so on.
Unfortunately, I couldn't find a useful tutorial online. Is it possible to do that using this SDK or Fabric CA SDK?
Thank you!
Best, Wei
After some investigation, I did find something interesting in one of their mock example defined here func (f testFixture) setup() fabsdk.FabricSDK which defines a configuration process which overrides the original test_server yaml defines here
I guess that's all we needed for building a fabric-ca-client + fabric-ca-server here.
For your CA-server specific issue , I guess you can check something here
https://github.com/hyperledger/fabric-sdk-go/blob/main/pkg/msp/test/mockmsp/mockfabriccaserver.go
which comes with a dedicated mock server setup. Hopes it will work for you.
Hello there,
I want to run a Fabric CA Server and Fabric CA Client using this SDK, to implement the functionality like the offical document using binary 'fabric-ca-server' and 'fabric-ca-client'. I want to use this SDK to start a new organization CA server, then register admin and enroll admin and so on.
Unfortunately, I couldn't find a useful tutorial online. Is it possible to do that using this SDK or Fabric CA SDK?
Thank you!
Best, Wei