An open API service indexing awesome lists of open source software.

https://github.com/hyperledger/fabric-contract-api-go

Packages for the implementation of the contract API for use in Go chaincode
https://github.com/hyperledger/fabric-contract-api-go

Last synced: 12 months ago
JSON representation

Packages for the implementation of the contract API for use in Go chaincode

Awesome Lists containing this project

README

          

# Hyperledger Fabric Go Contract API

[![Go Report Card](https://goreportcard.com/badge/github.com/hyperledger/fabric-contract-api-go/v2)](https://goreportcard.com/report/github.com/hyperledger/fabric-contract-api-go/v2)
[![Scheduled build](https://github.com/hyperledger/fabric-contract-api-go/actions/workflows/schedule.yml/badge.svg)](https://github.com/hyperledger/fabric-contract-api-go/actions/workflows/schedule.yml)

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](https://hyperledger-fabric.readthedocs.io/en/latest/CONTRIBUTING.html) to this project for the full details.

## Community

- [Hyperledger mailing lists and archives](https://lists.lfdecentralizedtrust.org/)
- [Hyperledger Chat](https://discord.gg/hyperledger)
- [Hyperledger Fabric Issue Tracking](https://github.com/hyperledger/fabric/issues)
- [LF Distributed Trust Code of Conduct](https://lfdecentralizedtrust.org/code-of-conduct)

## Documentation

Documentation for all packages within this repo can be found [here](https://pkg.go.dev/github.com/hyperledger/fabric-contract-api-go/v2).

## Tutorials

Tutorials for how to create smart contracts using packages in this repo can be found [here](./tutorials).

Some sample chaincodes built using packages from this repo are [simple](https://github.com/hyperledger/fabric-contract-api-go/tree/main/integrationtest/chaincode/simple) and [asset-transfer-basic](https://github.com/hyperledger/fabric-samples/tree/main/asset-transfer-basic/chaincode-go).

Other examples can be found in this project's [integration tests](https://github.com/hyperledger/fabric-contract-api-go/tree/main/integrationtest/chaincode), and in the [fabric-samples repository](https://github.com/hyperledger/fabric-samples).

## Raising issues

Issues for packages in this repository are raised and tracked using [GitHub issues](https://github.com/hyperledger/fabric-contract-api-go/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](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/.