chaincode

package module
v0.0.0-...-e267800 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

README

Hyperledger Fabric Packages for Go Chaincode

This repository contains the packages used by go implementations of Fabric chaincode.

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

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

Documentation

Overview

Package chaincode contains the code necessary for chaincode to interact with a Hyperledger Fabric peer.

Directories

Path Synopsis
pkg
attrmgr
Package attrmgr contains utilities for managing attributes.
Package attrmgr contains utilities for managing attributes.
cid
Package shim provides APIs for the chaincode to access its state variables, transaction context and call other chaincodes.
Package shim provides APIs for the chaincode to access its state variables, transaction context and call other chaincodes.
internal/mock
Code generated by counterfeiter.
Code generated by counterfeiter.
Package shimtest provides a mock of the ChaincodeStubInterface for unit testing chaincode.
Package shimtest provides a mock of the ChaincodeStubInterface for unit testing chaincode.
mock
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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