Documentation
¶
Overview ¶
Package fpcclientsdk enables Go developers to build solutions that interact with FPC chaincode for Hyperledger Fabric. The FPC Client SDK builds on top of the Fabric Client SDK Go (https://godoc.org/github.com/hyperledger/fabric-sdk-go) and provides FPC specific functionality such as enclave initialization and secure interaction with a FPC chaincode. The main goal is to ease the interaction with a FPC chaincode and provide similar experience as offered by normal chaincode interaction.
Packages for end developer usage ¶
pkg/client/resmgmt: Provides resource management capabilities such as installing FPC chaincode. Reference: https://godoc.org/github.com/hyperledger-labs/fabric-private-chaincode/client_sdk/go/pkg/client/resmgmt
pkg/gateway: Enables Go developers to build client applications using the Hyperledger Fabric programming model. Reference: https://godoc.org/github.com/hyperledger-labs/fabric-private-chaincode/client_sdk/go/pkg/gateway
Usage samples ¶
samples/main.go: Illustrates the use of the FPC Client SDK. The application can be used with our test-network. Reference: https://github.com/hyperledger-labs/fabric-private-chaincode/tree/v1.0-rc1/integration/test-network
Directories
¶
| Path | Synopsis |
|---|---|
|
pkg
|
|
|
client/resmgmt
Package resmgmt provides FPC specific chaincode management functionality.
|
Package resmgmt provides FPC specific chaincode management functionality. |
|
fab/ccpackager
Package ccpackager provides functionality to package a FPC chaincode.
|
Package ccpackager provides functionality to package a FPC chaincode. |
|
gateway
Package gateway enables interaction with a FPC chaincode.
|
Package gateway enables interaction with a FPC chaincode. |
|
sgx
Package sgx provides Intel SGX specific functionality.
|
Package sgx provides Intel SGX specific functionality. |