# 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. ## Install Save as a script file and run: # Hyperledger Fabric — Enterprise-Grade Permissioned Blockchain Framework ## Quick Use ```bash curl -sSLO https://raw.githubusercontent.com/hyperledger/fabric/main/scripts/install-fabric.sh chmod +x install-fabric.sh ./install-fabric.sh docker samples binary cd fabric-samples/test-network ./network.sh up createChannel -c mychannel ./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go ``` ## 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 - https://github.com/hyperledger/fabric - https://hyperledger-fabric.readthedocs.io/ --- Source: https://tokrepo.com/en/workflows/asset-49d92d73 Author: Script Depot