A big challenge posed in blockchain centric platforms is achieving scalability while also preserving user privacy. This report details the design, implementation and evaluation of a Layer-2 scaling solution for Hyperledger Fabric using Zero Knowledge Rollups (ZK Rollups). The proposed architecture introduces an off chain sequencer that accepts transactions immediately and sends them for batching into a Merkle tree based rollup, using ZK proofs to attest to the correctness and verifiability of the entire batch. The design aims to decouple transaction ingestion from actual on chain settlements to address Fabric scalability limitations and increase throughput under high load conditions. The baseline architecture in Hyperledger Fabric constrains transaction requests due to endorsement, ordering and validation phases, leading to a throughput of 5 to 7 TPS with an average latency of 4 seconds. Our Layer-2 solution achieves an ingestion throughput of 70 to 100 TPS, leading to an increase of nearly ten times due to the sequencer immediate acceptance of each transaction and reducing client perceived latency by nearly eighty percent to 700 to 1000 milliseconds. This work demonstrates that integrating ZK Rollups in Hyperledger Fabric enhances scalability while not compromising the security guarantees of a permissioned blockchain network.
翻译:以区块链为核心的平台面临的一大挑战是在保障用户隐私的同时实现可扩展性。本报告详述了一种基于零知识汇总(ZK Rollups)的Hyperledger Fabric Layer-2扩展解决方案的设计、实现与评估。所提出的架构引入了一个链下排序器,该排序器即时接收交易并将其分批处理至基于默克尔树的汇总中,同时利用ZK证明来验证整个批次的正确性与可验证性。该设计旨在将交易接收与实际链上结算解耦,以解决Fabric的可扩展性限制,并提升高负载条件下的吞吐量。Hyperledger Fabric的基线架构因背书、排序和验证阶段而限制了交易请求,导致吞吐量仅为5至7 TPS,平均延迟为4秒。我们的Layer-2解决方案实现了70至100 TPS的接收吞吐量,由于排序器即时接收每笔交易,吞吐量提升了近十倍,同时将客户端感知延迟降低了近百分之八十,达到700至1000毫秒。本工作表明,在Hyperledger Fabric中集成ZK Rollups可在不损害许可区块链网络安全保证的前提下,有效提升其可扩展性。