Re: Creating HLF network with fabric-go-sdk and kubernetes #kubernetes #fabric-sdk-go #testnetwork


Bruno Andreghetti
 

Hi!

I have been studying the Go SDK for the past few weeks to use it for administrative tasks, since the Node SDK does not support them anymore. Now to answer your questions:

1) You can do it both ways, the CLI and the SDK are both interoperable. I believe the only thing that is CLI-only is the creation of genesis blocks using configtxgen, which AFAIK is not supported by any SDK.

2) For the SDK you need a config file like this one. Check the E2E integration test for examples on how to perform administrative tasks with the SDK.

Regards,

Bruno Andreghetti @ GoLedger

Join fabric@lists.hyperledger.org to automatically receive all group messages.