OpenViSTAI · Agents · Blockchain · Crypto
Menu
Infrastructure

Fabric Private Chaincode

Hyperledger Fabric Private Chaincode is a framework and set of Fabric extensions for developing and executing chaincode inside Intel SGX trusted execution environments. It supports encrypted ledger data accessible in clear form only to authorized parties, and provides enclave registration, attestation, and transaction verification components.

Independent OpenViST project profile, based on linked sources.

Fabric Private Chaincode — OpenViST project profile in Infrastructure.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Consider FPC when developing a Hyperledger Fabric application that needs chaincode data and computation protected from potentially untrusted peers, and the project can accommodate the documented SGX and Fabric development requirements.

Who it is for

  • Hyperledger Fabric developers building applications that need private chaincode state or computation.
  • Teams evaluating SGX-based confidential execution and enclave attestation within a Fabric network.

Documented uses

  • Execute Fabric chaincode in an SGX enclave to isolate it from the peer host.
  • Keep application data encrypted on the ledger while allowing authorized parties to access it in clear form.
  • Register and attest chaincode enclaves, then validate enclave-signed transactions before state updates are committed.
Before you choose

Requirements & limits

  • FPC is specific to Hyperledger Fabric and Intel SGX rather than a general smart-contract framework.
  • The documented default is SGX simulation mode; hardware-mode use requires SGX-capable hardware and OS support.
  • The repository warns that the implementation is a prototype and not intended for production use.
  • The README advises using the latest release rather than the potentially unstable main branch, unless contributing.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare and build the FPC development environment

Clone the repository, choose a documented development environment, and build the FPC components.

Before you start

  • Familiarity with Hyperledger Fabric and the Intel SGX SDK.
  • A single-root GOPATH, as assumed by the README's default configuration.
  • Either the Docker-based FPC development environment or a local environment with the required dependencies.

Steps

  1. Clone the repository recursively into the documented GOPATH location and set FPC_PATH to that directory.

  2. Set up the development environment using the Docker-based option or the local-dependencies option.

  3. From FPC_PATH, run make docker and then make.

Expected outcome

The documented build process builds FPC components and runs integration tests.

Guide limitations

  • The default build uses SGX simulation mode.
  • Hardware-mode operation requires SGX-enabled hardware and corresponding operating-system support.
  • The repository describes the code as prototype, not intended for production use.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
13 October 2026
Original website title
hyperledger/fabric-private-chaincode · Official homepage title · retained in its source language