Skip to content

hyperledger/fabric-contract-api-go

Hyperledger Fabric Go Contract API

Go Report Card Scheduled build

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

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.

Community

Documentation

Documentation for all packages within this repo can be found here.

Tutorials

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 GitHub issues. Before raising an issue please check existing issues to avoid duplication.

License

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/.