Coder Social home page Coder Social logo

Is there a tutorial to introduce how to implement 'fabric-ca-server/fabric-ca-client' functionality using this SDK like the official document about fabric-sdk-go HOT 2 OPEN

hyperledger avatar hyperledger commented on August 24, 2024
Is there a tutorial to introduce how to implement 'fabric-ca-server/fabric-ca-client' functionality using this SDK like the official document

from fabric-sdk-go.

Comments (2)

ToolmanP avatar ToolmanP commented on August 24, 2024

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.

from fabric-sdk-go.

ToolmanP avatar ToolmanP commented on August 24, 2024

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.

from fabric-sdk-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.