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
- Host: GitHub
- URL: https://github.com/hyperledger/fabric-contract-api-go
- Owner: hyperledger
- License: apache-2.0
- Created: 2019-11-15T17:55:57.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-04-03T17:49:56.000Z (about 1 year ago)
- Last Synced: 2025-05-08T10:53:09.201Z (12 months ago)
- Language: Go
- Homepage: https://pkg.go.dev/github.com/hyperledger/fabric-contract-api-go/v2
- Size: 723 KB
- Stars: 238
- Watchers: 16
- Forks: 108
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Hyperledger Fabric Go Contract API
[](https://goreportcard.com/report/github.com/hyperledger/fabric-contract-api-go/v2)
[](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.
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/.