The ZK Stack is a modular, open-source framework developed by the team behind ZKsync Era for building custom ZK-powered Layer 2 and Layer 3 blockchains, known as Hyperchains. It provides the core components—such as the zkEVM virtual machine, ZK-proof system, and data availability modules—required to launch a sovereign, interoperable blockchain that inherits Ethereum's security through ZK Rollup technology. Unlike a monolithic chain, the ZK Stack allows developers to choose and configure components like the sequencer, prover, and data availability layer to suit specific use cases, from high-throughput DeFi applications to private enterprise networks.
ZK Stack
What is ZK Stack?
The ZK Stack is a modular, open-source framework for building custom ZK-powered Layer 2 and Layer 3 blockchains, known as Hyperchains, using ZKsync's ZK Rollup technology.
A core architectural principle of the ZK Stack is hyperbridging, which enables seamless, trust-minimized communication between all Hyperchains in the ecosystem. This creates a network of interconnected chains, or a Hyperchain, where assets and messages can be transferred with the same security guarantees as on the parent chain. This interoperability is powered by native ZK proofs, eliminating the need for external bridging protocols and their associated risks. The framework is designed for sovereignty, giving each Hyperchain's community control over its governance, tokenomics, and upgrade path while remaining part of a unified, scalable network.
The practical use cases for the ZK Stack are diverse. Projects can deploy application-specific chains (appchains) optimized for gaming or social media, enterprise chains with custom privacy features, or Layer 3 chains that settle to a ZKsync Era Layer 2 for even lower costs. By abstracting away the immense complexity of zero-knowledge cryptography and blockchain consensus, the ZK Stack lowers the barrier to launching a secure, Ethereum-aligned chain. Its open-source nature and modular design position it as a foundational tool in the modular blockchain landscape, competing with other stack-based solutions like the OP Stack by offering ZK-proof-based security and native interoperability as its key differentiators.
How ZK Stack Works
The ZK Stack is a modular, open-source framework for building custom ZK-powered Layer 2 and Layer 3 blockchains, known as Hyperchains, that are natively interoperable within a single ecosystem.
The ZK Stack works by providing developers with a comprehensive set of modular components—including a zkEVM, a Data Availability (DA) layer, a sequencer, and a prover—that can be configured and deployed to create sovereign, yet connected, blockchains. This modularity allows teams to choose their own virtual machine, data availability solution (like using Ethereum L1, a DAC, or a validium), and governance model, while still leveraging the shared security and native interoperability of the ZK Stack's underlying ZK-proof technology. The core innovation is the ZK Rollup architecture, where transaction batches are compressed and their validity is proven off-chain before a succinct Zero-Knowledge Proof (ZKP) is posted to a base layer, typically Ethereum.
A key operational principle is the concept of Hyperbridges, which enable seamless, trust-minimized communication between any two Hyperchains built with the ZK Stack. Unlike traditional bridges that require separate trust assumptions, Hyperbridges leverage the same cryptographic security as the chains themselves, using ZK-proofs to verify the state of the origin chain on the destination chain. This creates a unified network of networks where assets and messages can be transferred with the same finality and security as within a single chain. The shared L1 settlement layer, often Ethereum, acts as a hub for proof verification and dispute resolution, anchoring the entire ecosystem's security.
From a developer's workflow, using the ZK Stack involves selecting and configuring the desired components via its open-source codebase, then deploying a new chain. This chain operates with its own tokenomics, governance, and fee models, but its state transitions are continuously proven by a decentralized network of provers. The resulting proofs are then verified on a settlement layer, finalizing the chain's state. This design empowers projects to launch application-specific Layer 3 chains or full-featured Layer 2 networks that balance sovereignty—controlling their own sequencer and DA—with the ability to tap into a broader, interoperable liquidity and user pool across the ZK Stack ecosystem.
Key Features
The ZK Stack is a modular, open-source framework for building sovereign ZK-powered Layer 2 and Layer 3 blockchains, known as Hyperchains, using ZKsync's proven ZK technology.
Sovereign Hyperchains
The core unit of the ZK Stack is a Hyperchain—a sovereign, ZK-powered chain with its own data availability, sequencer, and governance. Hyperchains can be Layer 2s (settling to Ethereum) or Layer 3s (settling to another Hyperchain), forming a Hyperbridge-connected network.
Modular & Composable Design
Developers can choose and combine components from a library of pre-built, audited modules, including:
- Consensus & Sequencing
- Data Availability (on-chain, off-chain DACs)
- Proof Systems (e.g., Boojum)
- Governance Models This enables tailored chains for specific use cases like gaming or DeFi.
Shared Security & Bridgeless Communication
Hyperchains are natively connected via the Hyperbridge protocol, enabling trustless, atomic cross-chain communication without external bridges. They inherit security from the chain they settle to (e.g., Ethereum) and can share liquidity and state across the entire ZK Stack ecosystem.
Ethereum-Aligned & EVM-Compatible
Built with Ethereum alignment as a first principle, Hyperchains use Ethereum for settlement and data availability. They are EVM-compatible, supporting the standard Ethereum toolchain (Solidity, Vyper) and offering native account abstraction, lowering the barrier for developer adoption.
Proven ZK Technology
The stack is powered by ZKsync's battle-tested ZK proof system, currently the Boojum SNARK. This ensures high throughput, low-cost finality, and inherits Ethereum's security for all verified state transitions. The system is designed for continuous performance upgrades.
Permissionless & Open Source
The ZK Stack is fully open-source under the MIT/Apache 2.0 licenses. Anyone can permissionlessly deploy a Hyperchain, fostering a decentralized ecosystem of interoperable chains. This contrasts with curated, permissioned rollup-as-a-service models.
Core Components
The ZK Stack is an open-source modular framework for creating zkRollups and Layer 3 blockchains, built on the foundational technology of zkSync Era.
Examples & Use Cases
The ZK Stack is a modular framework for building sovereign zkRollups and Layer 3s. These examples showcase its diverse applications across scaling, security, and specialized ecosystems.
Specialized Application Rollups
Tailoring a chain for a specific use case, such as:
- High-Frequency Trading (DeFi): Chains with ultra-low latency and custom fee markets.
- Gaming & Social: Chains with high TPS for micro-transactions and social graph data.
- Enterprise: Private chains with permissioned validators that still settle proofs to a public Layer 1 for auditability.
Unified Liquidity & Interoperability
The ZK Stack's shared proving system enables seamless cross-chain communication. This allows:
- Native token transfers between Hyperchains without external bridges.
- Composable DeFi where protocols on different chains can interact trust-minimally.
- A unified liquidity layer that aggregates depth across the entire ecosystem.
ZK Stack vs. Other Frameworks
A technical comparison of frameworks for building ZK-rollups, focusing on architecture, tooling, and operational characteristics.
| Feature / Metric | ZK Stack | OP Stack | Polygon CDK | Arbitrum Orbit |
|---|---|---|---|---|
Underlying Proof System | zkSync's ZK Circuit & Boojum | Fault Proofs (Optimistic) | Plonky2 / zkEVM | AnyTrust / BOLD (Optimistic) |
Native Data Availability | zkSync Era L1 | Ethereum L1 | Ethereum L1 or Celestia | Ethereum L1 or DAC |
Settlement Layer | zkSync Era L1 | Ethereum L1 | Ethereum L1 | Ethereum L1 |
Sequencer Decentralization | Planned (ZK Stack roadmap) | Planned (Superchain vision) | Validator Set | Permissioned Set |
Time to Finality | < 1 hour (ZK-proven) | ~7 days (challenge period) | < 1 hour (ZK-proven) | ~7 days (AnyTrust) or ~1 week (BOLD) |
Primary Programming Language | Rust, Solidity, Vyper | Solidity, Vyper | Solidity, Vyper | Solidity, Vyper |
Native Account Abstraction | ||||
Shared Bridging & Liquidity | Native to ZK Stack chains | Via Superchain protocols | Via Polygon AggLayer |
ZK Stack
The ZK Stack is an open-source modular framework for building custom ZK-powered Layer 2 and Layer 3 blockchains, known as **hyperchains**, that are natively interoperable within a unified ecosystem.
Developed by the team behind zkSync Era, the ZK Stack provides the foundational components—such as a ZK-rollup sequencer, zkEVM prover, and data availability layer—to launch sovereign, highly customizable chains. Unlike monolithic frameworks, it embraces a modular architecture, allowing developers to select and configure components like consensus mechanisms, data availability solutions, and tokenomics to suit specific use cases, from gaming to DeFi to enterprise applications. This approach grants hyperchain creators sovereign control over their technology stack and governance while ensuring seamless connectivity.
The core innovation enabling this interoperability is ZK-powered native bridges. Hyperchains built with the ZK Stack can communicate trustlessly and instantly without relying on external bridging protocols. This is achieved through shared ZK proofs and a shared bridging hub, which validates state transitions across the network. This creates a cohesive hyperchain ecosystem where assets and data can flow between chains with the same security guarantees as moving within a single chain, effectively solving the fragmentation problem common in multi-chain environments.
From a developer's perspective, the ZK Stack offers a balance of flexibility and security. Teams can fork and modify the codebase to create a sovereign chain with its own validator set and governance, or they can launch as a ZK Stack chain that leverages the shared security of the zkSync Era mainnet for sequencing and proving. This modular security model allows projects to choose their trade-offs between decentralization, throughput, and cost, all while being part of a larger, connected network with a unified liquidity pool and user experience.
Security & Trust Model
The ZK Stack is a modular framework for building zero-knowledge-powered Layer 2 and Layer 3 blockchains. Its security model is defined by cryptographic proofs, decentralized sequencing, and shared infrastructure.
Validity Proofs
The core security guarantee of a ZK Stack chain is enforced by validity proofs (ZK-SNARKs). A prover generates a cryptographic proof that a batch of transactions was executed correctly according to the chain's rules. This proof is then verified on the underlying Layer 1 (e.g., Ethereum), ensuring the state transition is valid without re-executing all transactions. This provides cryptographic security equivalent to the L1.
Decentralized Sequencers
To prevent censorship and single points of failure, ZK Stack promotes a decentralized sequencer model. Multiple independent operators can sequence transactions into blocks. This is a key upgrade from a single, centralized sequencer, enhancing liveness and resilience. The framework provides the tooling for networks to implement their own sequencer sets and consensus mechanisms for block production.
Shared Prover Network
ZK Stack introduces a shared prover network, a decentralized marketplace for proof generation. Chains can outsource the computationally intensive task of creating validity proofs to a pool of specialized provers. This separates consensus (sequencing) from proof generation, reducing operational costs and barriers to entry while maintaining the same cryptographic security guarantees.
Ethereum as the Root of Trust
Every ZK Stack chain ultimately derives its final security from Ethereum. The chain's state roots and validity proofs are published and verified on Ethereum L1. This makes Ethereum the root of trust and the final arbiter of the chain's canonical state. Users can always force-exit their assets directly on L1 using these published proofs, even if the L2 operators are offline or malicious.
Permissionless Validation
Anyone can independently verify the correctness of a ZK Stack chain's state. By running a node and checking the validity proofs posted to Ethereum, a verifier can be cryptographically assured of the chain's integrity without trusting the sequencers or provers. This enables trust-minimized bridges and allows users and exchanges to verify deposits and withdrawals independently.
Upgradeability & Governance
The security model includes mechanisms for upgradeability. Smart contracts on Ethereum that define the chain's rules (like the Verifier and Bridge) can be upgraded, typically via a multi-signature wallet or a DAO controlled by the chain's developers or token holders. This introduces a trust assumption in the upgrade keys, making their security and decentralization critical for the long-term health of the chain.
Frequently Asked Questions
ZK Stack is a modular framework for building custom ZK-powered Layer 2 and Layer 3 blockchains. These FAQs address common technical and strategic questions for developers and teams evaluating the technology.
ZK Stack is an open-source modular framework for building hyperchains, which are custom ZK-powered Layer 2 and Layer 3 blockchains that share Ethereum's security via ZK proofs. It works by providing a suite of composable components—such as a ZK Rollup engine, decentralized sequencers, and cross-chain bridges—that developers can configure to launch a sovereign, interoperable chain. Each hyperchain runs its own virtual machine (e.g., zkEVM, zkVM) and generates validity proofs (ZK-SNARKs) that are verified on Ethereum, ensuring the integrity of its state transitions while maintaining independent governance and throughput.
Get In Touch
today.
Our experts will offer a free quote and a 30min call to discuss your project.