fpcclientsdk

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: Apache-2.0, MIT Imports: 0 Imported by: 0

README

FPC Client SDK for Go

The FPC Client SDK for Go builds on top of the Fabric Client SDK Go. For more documentation, see godoc and a sample program to illustrate it use.

Testing

See sample/main.go for a simple test program and integration/test-network/README.md for instructions to run it.

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.

Jump to

Keyboard shortcuts

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