v1.2.2 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: Apache-2.0


Hyperledger Fabric Go Contract API

Build Status

This repository contains the packages for the implementation of the contract API for use in Go chaincode running on Fabric v2.1

We welcome contributions to the Hyperledger Fabric project in many forms. There’s always plenty to do! Check the documentation on how to contribute to this project for the full details.



Documentation for all packages within this repo can be found here


Tutorials for how to create smart contracts using packages in this repo can be found here

Some sample chaincodes built using packages from this repo are simple and asset-transfer-basic

Other examples can be found in this project's integration tests, and in the fabric-samples repository.

Raising issues

Issues for packages in this repository are raised and tracked using JIRA under the project Fabric Contract API Go (FABCAG). You can view the current open issues by visiting https://jira.hyperledger.org/projects/FABCAG/issues?filter=allopenissues. Before raising an issue please check existing issues to avoid duplication.

To raise an issue in JIRA press the create button at the top of the page, set the project to "Fabric Contract API Go (FABCAG)" and fill in the remainder of the form setting the issue type, providing a summary and giving a description. For bugs it is helpful if the description contains details on how they can be replicated.


Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Hyperledger Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL