Hyperledger Fabric is a permissioned blockchain platform designed for enterprise use, offering modular architecture, privacy, and scalability. Key features include customizable consensus mechanisms, private transactions, and smart contracts (Chaincode). The transaction flow follows an Execute-Order-Validate approach, ensuring secure and efficient processing of transactions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
43 views34 pages
Unit 3 Part A Hyperledger Fabric
Hyperledger Fabric is a permissioned blockchain platform designed for enterprise use, offering modular architecture, privacy, and scalability. Key features include customizable consensus mechanisms, private transactions, and smart contracts (Chaincode). The transaction flow follows an Execute-Order-Validate approach, ensuring secure and efficient processing of transactions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34
Blockchain Architecture Design (BCS063)
Unit 3
Hyperledger Fabric
Hyperledger Fabric Mohit Kumar Saxena
Hyperledger Fabric • Hyperledger Fabric is a permissioned blockchain platform designed for enterprise use. • It was introduced by the Linux Foundation under the Hyperledger Project to provide a modular and flexible blockchain infrastructure. • Hyperledger Fabric is a robust, enterprise-grade blockchain platform designed for businesses that prioritize privacy, security, and scalability. • Its modularity allows organizations to customize the network for their specific use cases
Hyperledger Fabric Mohit Kumar Saxena
Key Features of Hyperledger Fabric: • Permissioned Network: Only authorized participants can join and interact. • Modular Architecture: Components like consensus algorithms, membership management, and smart contracts are customizable. • Private Transactions: Supports confidential and private data sharing using channels. • Pluggable Consensus: Consensus mechanism can be selected based on business needs. • Smart Contracts: Referred to as Chaincode, written in languages like Go, Java, or Node.js. Hyperledger Fabric Mohit Kumar Saxena Advantages of Hyperledger Fabric • Permissioned Access: Ensures only trusted entities participate. • High Scalability: Supports thousands of transactions per second. • Flexible Consensus: Customizable for different applications. • Privacy: Offers secure and private channels. • Modular Design: Components like consensus and identity management can be tailored to business needs.
Hyperledger Fabric Mohit Kumar Saxena
Transaction Flow in Hyperledger Fabric • The transaction process in Hyperledger Fabric follows a unique Execute-Order-Validate approach instead of the traditional Order-Execute model.
Hyperledger Fabric Mohit Kumar Saxena
Transaction Flow in Hyperledger Fabric
Hyperledger Fabric Mohit Kumar Saxena
Architecture of Hyperledger Fabric Membership Service Provider (MSP)
• Manages identity and access control using digital
certificates.
• Participants are authenticated through a Certificate
Authority (CA).
• Ensures only authorized users can interact with the
network. Hyperledger Fabric Mohit Kumar Saxena Peers • Nodes in the network that maintain the ledger and run smart contracts (Chaincode). Types of Peers: • Endorser Peer: Simulates and verifies transactions.
• Committer Peer: Validates transactions and adds them
to the blockchain.
• Anchor Peer: Facilitates communication between
organizations across channels.
Hyperledger Fabric Mohit Kumar Saxena
Orderer (Ordering Service)
Hyperledger Fabric Mohit Kumar Saxena
Channel
Hyperledger Fabric Mohit Kumar Saxena
Steps in Transaction Flow: Proposal Submission: • A client application submits a transaction proposal to the endorsing peers. Transaction Simulation and Endorsement: • Endorsing peers simulate the transaction using the smart contract (Chaincode). • They sign and return the endorsed result to the client. Ordering: • The client submits the endorsed transactions to the Ordering Service. • The Ordering Service batches transactions into blocks. Validation and Commitment: • Committing peers validate transactions using endorsement policies. • Valid transactions Hyperledger are writtenFabric to Mohit the Kumar Saxenaledger, and the world Consensus in Hyperledger Fabric
Hyperledger Fabric Mohit Kumar Saxena
Privacy and Confidentiality
Hyperledger Fabric Mohit Kumar Saxena
Smart Contracts (Chaincode)
Hyperledger Fabric Mohit Kumar Saxena
Use Cases of Hyperledger Fabric
Hyperledger Fabric Mohit Kumar Saxena
Use Cases of Hyperledger Fabric: Supply Chain
Hyperledger Fabric Mohit Kumar Saxena
Decomposition of the Consensus Process in Hyperledger Fabric
Hyperledger Fabric Mohit Kumar Saxena
Ordering (Transaction Sequencing)
Hyperledger Fabric Mohit Kumar Saxena
Validation (Transaction Commitment)
Hyperledger Fabric Mohit Kumar Saxena
Consensus Mechanisms in Hyperledger Fabric
Hyperledger Fabric Mohit Kumar Saxena
Comparison with Traditional Consensus Models
Hyperledger Fabric Mohit Kumar Saxena
Solo Consensus in Hyperledger Fabric
Hyperledger Fabric Mohit Kumar Saxena
Kafka/Zookeeper Consensus in Hyperledger Fabric
Hyperledger Fabric Mohit Kumar Saxena
Raft Consensus in Hyperledger Fabric
Hyperledger Fabric Mohit Kumar Saxena
Comparison of Solo, Kafka, and Raft
Hyperledger Fabric Mohit Kumar Saxena
Advantages of Decomposing Consensus in Hyperledger Fabric • Improved Performance: Transactions do not need to be executed by all nodes.
• Security and Flexibility: Customizable consensus
mechanisms.
• Scalability: Modular approach allows handling high
transaction throughput.
• Enterprise-Ready: Supports role-based permissions and
private data sharing. Hyperledger Fabric Mohit Kumar Saxena Hyperledger Fabric Components • The key components of Hyperledger Fabric include: