Cette page est affichée en anglais. Une traduction française est en cours.
ScriptsJul 15, 2026·3 min de lecture

Hyperledger Fabric — Enterprise-Grade Permissioned Blockchain Framework

Hyperledger Fabric is a modular, permissioned distributed ledger platform for building enterprise blockchain applications with pluggable consensus, smart contracts in Go/Java/Node.js, and private data channels.

Prêt pour agents

Installation avec revue préalable

Cet actif nécessite une revue. Le prompt copié demande un dry-run, affiche les écritures, puis continue seulement après confirmation.

Needs Confirmation · 64/100Policy : confirmer
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Hyperledger Fabric
Commande avec revue préalable
npx -y tokrepo@latest install 49d92d73-804b-11f1-9bc6-00163e2b0d79 --target codex

Dry-run d'abord, confirmez les écritures, puis lancez cette commande.

Introduction

Hyperledger Fabric is a permissioned blockchain platform originally contributed by IBM and Digital Asset to the Linux Foundation. It provides a modular architecture where consensus, membership services, and ledger storage can each be swapped independently, making it suitable for enterprise use cases that require identity management and data privacy.

What Hyperledger Fabric Does

  • Runs permissioned networks where all participants have known identities via Membership Service Providers (MSPs)
  • Executes smart contracts (called chaincode) written in Go, Java, or Node.js
  • Supports private data collections so sensitive information stays between authorized peers only
  • Provides pluggable consensus with Raft ordering service for crash fault tolerance
  • Enables multi-organization governance through channel-based network partitioning

Architecture Overview

Fabric separates transaction execution from ordering and validation. Clients submit proposals to endorsing peers, which execute chaincode and return signed results. The client then sends endorsed transactions to the ordering service, which batches them into blocks. Committing peers validate each transaction against endorsement policies and append the block to their ledger copy. This execute-order-validate model allows parallel execution and deterministic finality.

Self-Hosting & Configuration

  • Deploy peers and orderers as Docker containers using the provided images from hyperledger Docker Hub
  • Generate cryptographic material with cryptogen or integrate with a Fabric CA for production PKI
  • Define network topology in configtx.yaml including organizations, policies, and channel profiles
  • Use peer lifecycle chaincode commands to package, install, approve, and commit chaincode
  • Monitor with Prometheus metrics endpoints exposed by peers and orderers

Key Features

  • Channel architecture isolates ledger data between subsets of network participants
  • Private data collections enable confidential transactions without broadcasting to all peers
  • Chaincode-as-a-Service allows running smart contracts as external processes
  • Gateway service simplifies client application development with automatic peer selection
  • Block-based ledger with LevelDB or CouchDB state database for rich JSON queries

Comparison with Similar Tools

  • Ethereum — public, permissionless with gas fees; Fabric is permissioned with no cryptocurrency requirement
  • Corda — focuses on bilateral agreements between known parties; Fabric supports broader multi-party workflows
  • Quorum — Ethereum fork with privacy features; Fabric has a fundamentally different execution model
  • Hyperledger Besu — Ethereum-compatible permissioned chain; Fabric uses its own chaincode model instead of EVM
  • Hyperledger Sawtooth — modular like Fabric but uses a different transaction processor model

FAQ

Q: Does Fabric require a cryptocurrency or token? A: No. Fabric has no built-in cryptocurrency. Transaction processing does not require gas or mining fees.

Q: What languages can I write chaincode in? A: Go, Java, and Node.js are officially supported. Go is the most commonly used in production deployments.

Q: How does Fabric handle privacy between organizations? A: Through channels (separate ledgers) and private data collections (data shared only between authorized orgs with hashes on-chain).

Q: What consensus does Fabric use? A: Production deployments use Raft-based ordering for crash fault tolerance. BFT ordering is available as of v3.0.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires