Skip to content

Hyperledger Fabric Go client built on top of the fabric-sdk-go.

License

Notifications You must be signed in to change notification settings

TommyStarK/fabric-go-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fabric-go-client

Build Status codecov Go Report Card GoDoc MIT licensed

The aim of this client is to facilitate the development of solutions that interact with Hyperledger Fabric thanks to the fabric-sdk-go.

It is a wrapper around the fabric-sdk-go. The client has been designed for being able to manage multiple channels and interact with multiple chaincodes.

The client uses the new chaincode lifecycle as well as the gateway programming model, it is meant to be compliant with Hyperledger Fabric v2.3 .

If you wish to use the legacy chaincode lifecyle and run the client against Hyperledger Fabric v1.4, please take a look at this version of the client.

⚠️ For the moment, the client is only able to manage Go chaincodes, meaning you cannot install neither Node.js nor Java chaincodes with it.

Contribution

Each Contribution is welcomed and encouraged. I do not claim to cover each use cases neither completely master the Go nor Hyperledger Fabric. If you encounter a non sense or any trouble, you can open an issue and I will be happy to discuss about it 😄

Usage

❯ go get github.com/TommyStarK/fabric-go-client@v1.0.0-hlf-2.3

You will find an example of how to instantiate and use the client here. An example of how to configure the client is also available here.

Test

❯ ./hack/run-integration-tests.sh