{"id":53574,"library":"hyperledger-fabric-sdk-go","title":"Hyperledger Fabric SDK for Go","description":"Enables Go developers to build applications that interact with Hyperledger Fabric blockchain networks.","status":"active","version":"1.0.0","language":"go","source_language":null,"source_url":"https://github.com/hyperledger/fabric-sdk-go","tags":["blockchain","hyperledger","fabric","sdk"],"install":[{"cmd":"go get github.com/hyperledger/fabric-sdk-go","lang":"bash","label":"Install github.com/hyperledger/fabric-sdk-go"}],"dependencies":[],"imports":[{"symbol":"fabricsdk","correct":"github.com/hyperledger/fabric-sdk-go"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/hyperledger/fabric-sdk-go/pkg/client/channel\"\n\t\"github.com/hyperledger/fabric-sdk-go/pkg/core/config\"\n\t\"github.com/hyperledger/fabric-sdk-go/pkg/fabsdk\"\n)\n\nfunc main() {\n\tsdk, err := fabsdk.New(config.FromFile(\"config.yaml\"))\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer sdk.Close()\n\tclientCtx := sdk.ChannelContext(\"mychannel\", fabsdk.WithUser(\"Admin\"))\n\tclient, err := channel.New(clientCtx)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tresp, err := client.Query(channel.Request{ChaincodeID: \"mycc\", Fcn: \"query\", Args: [][]byte{[]byte(\"key\")}})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(string(resp.Payload))\n}","lang":"go","description":"Initializes the Fabric SDK and performs a chaincode query."},"warnings":[{"fix":"Check the Fabric network version and use the corresponding SDK version (e.g., v2 for Fabric 2.x).","message":"The SDK has multiple major versions with breaking changes; v1.0.0 is stable but may not be compatible with newer Fabric networks.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'applic':11 'blockchain':17,19 'build':10 'develop':8 'enabl':6 'fabric':2,16,21 'go':5,7 'hyperledg':1,15,20 'interact':13 'network':18 'sdk':3,22","created_at":"2026-06-15T07:45:33.914917+00:00","updated_at":"2026-06-15T07:45:33.914917+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/hyperledger/fabric-sdk-go","github":"https://github.com/hyperledger/fabric-sdk-go","docs":"https://pkg.go.dev/github.com/hyperledger/fabric-sdk-go#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["cloud","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}