Skip to content

sg3des/fabric-sdk-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyperledger Fabric Client SDK for Go

Build Status Go Report Card GoDoc

The Hyperledger Fabric Client SDK makes it easy to use APIs to interact with a Hyperledger Fabric blockchain.

This SDK is targeted both towards the external access to a Hyperledger Fabric blockchain using a Go application, as well as being targeted at the internal library in a peer to access API functions on other parts of the network.

NOTE: In an effort to make the codebase more modular, there will be interface changes over the course of the next week.

This is a read-only mirror of the formal Gerrit repository, where active development is ongoing. Issue tracking is handled in Jira

Build and Test

This project must be cloned into $GOPATH/src/github.com/hyperledger. Package names have been chosen to match the Hyperledger project.

Execute go test from the fabric-client and fabric-ca-client to build the library and run the basic headless tests.

Execute go test in the test/integration to run end-to-end tests. This requires you to have:

  • A working fabric, and fabric-ca set up. It is recommended that you use the docker-compose file provided in test/fixtures. Refer to the Hyperledger Fabric documentation on how to do this.
  • Customized settings in the test/fixtures/config/config_test.yaml in case your Hyperledger Fabric network is not running on localhost or is using different ports.

Compatibility

This client was last tested and found to be compatible with the following Hyperledger Fabric commit levels:

  • fabric: v1.0.0-alpha
  • fabric-ca: v1.0.0-alpha

Packages

No packages published

Languages

  • Go 94.6%
  • Shell 4.2%
  • Makefile 1.2%