ZK Stack developers can now build custom ‘hyperchains’ on Ethereum

Matter Labs’ Anthony Rose says the system includes all the “core components” that together construct “hyperchains”


optimarc/Shutterstock modified by Blockworks


It’s official. ZK Stack is now available to developers.

Matter Labs, developers of the zero-knowledge layer-2 scaling solution zkSync Era, recently released the open-source code to the public.

So what’s so special about it?

Matter Labs’ Alex Gluchowski and Anthony Rose spoke to Blockworks on the 0xResearch podcast (Apple/Spotify) about the nuts and bolts of the Ethereum-compatible open-source protocol that rivals Optimism’s OP Stack.

ZK Stack is a modular framework for building highly customizable blockchains, CEO Gluchowski told Blockworks. The layer-2 tech uses cryptographic zero-knowledge proofs rather than the “optimistic” approach to rollups, which assumes transaction validity unless proven otherwise. 

Senior vice-president of technology Rose says the system includes all the “core components” that together would be used to form “hyperchains.”

The stack will also include “the tooling around that,” he says, like compilers, SDKs for configurations and so forth. “Essentially,” it’s everything needed “to be able to deploy a version of this system that looks like Era today, but over time could be more flexible.”

Customize or copy-paste

“You can start with all the defaults. Just copy the configuration of zkSync Era,” Gluchowski explains. “Or you can say, I want this component to look differently.” 

Gluchowski explains the sequencer can be customized to be centralized or decentralized in functionality, depending on the developer’s needs and preferences. 

While certain enterprises, banks or gaming companies might not feel a need to decentralize the sequencer, Gluchowski expects most chains to sequence transactions in a decentralized manner.

“You will be able to choose all of the parameters, which consensus algorithm you want to use, how you secure it, what token you want to use there and so on.”

The data availability mechanism is also customizable, Gluchowski continues. 

“ZK rollup is an architecture in which you publish data availability through the Ethereum network,” He says. “You rely on Ethereum’s layer-1 as your data availability layer.”

Because the technology relies on Ethereum’s mainnet for security, it is “by far, the most secure option,” he says. But as of now, he admits, this security comes “at a price.”

“All the rollups on Ethereum — Optimistic and ZK rollups alike — share the same data bandwidth, the same limited block space which you can utilize for your data.”

“It’s currently pretty limited,” he says, but will be extended once proto-danksharding is implemented on Ethereum. Data availability demands will be “a bottleneck” for now, he says, adding it may need to be managed by other parties in the meantime to handle demands.

A seamless experience

According to Gluchowski, one major advantage of the new tech is its ability to provide complex interactions between decentralized parties in seamless transactions. 

Users will be able to interact with all the DeFi protocols like Uniswap or Curve “on the ZK rollup side,” he says.

“Imagine Uniswap would launch their own ‘Uni-chain’ as a separate hyper chain in the zkSync network,” he says. The chain would be fully separate with its own sequencer and enjoy all the benefits of security provided by Ethereum.

If an individual with funds in a wallet on zkSync Era wanted to interact with Uniswap on-chain and execute a trade, it would appear as one seamless transaction to the user, he says. 

The transaction would bridge from Era over a “hyper-bridge” to the Uniswap chain, where it would reach the smart contract and swap tokens. The tokens would then be sent back over the bridge to the user wallet.

“All of that will happen asynchronously, but atomically,” Gluchowski says. In other words, “all of these transactions will be scheduled and they cannot be stopped.”

“For you as a user, you just wait a couple of minutes and the funds come back.”

Start your day with top crypto insights from David Canellis and Katherine Ross. Subscribe to the Empire newsletter.

Explore the growing intersection between crypto, macroeconomics, policy and finance with Ben Strack, Casey Wagner and Felix Jauvin. Subscribe to the On the Margin newsletter.

The Lightspeed newsletter is all things Solana, in your inbox, every day. Subscribe to daily Solana news from Jack Kubinec and Jeff Albus.


Upcoming Events

Salt Lake City, UT

MON - TUES, OCT. 7 - 8, 2024

Blockworks and Bankless in collaboration with buidlbox are excited to announce the second installment of the Permissionless Hackathon – taking place October 7-8 in Salt Lake City, Utah. We’ve partnered with buidlbox to bring together the brightest minds in crypto for […]

Salt Lake City, UT

WED - FRI, OCTOBER 9 - 11, 2024

Permissionless is a conference for founders, application developers, and users. Come meet the next generation of people building and using crypto.

recent research

Research Report Templates (1).png


Solana Mobile is a highly ambitious foray into the mobile consumer hardware market, seeking to open up a crypto-native distribution channel for mobile-first applications. The market for Solana Mobile devices has demonstrated a phenomenon whereby external market actors (e.g. Solana-native projects) continuously underwrite subsidies to Mobile consumers. The value of these subsidies, coming in the form of airdrops, trial programs, and exclusive NFT mints, have consistently covered the cost of the phone and generated positive returns for consumers. Given this trend in subsidies, the unit economics in the market for Mobile devices, and the initial growth rate and trajectory of sales, it should be expected that Solana mobile can clear 1M to 10M units over the coming years. As more devices circulate amongst users, Solana Mobile presents a promising venue for the emergence of killer-applications uniquely enabled by this mobile-first, crypto-native distribution channel.


Plus, a look into Lighting Labs’ newest feature


Crypto’s Wild West era is over — it’s time to embrace regulation to secure the future of digital assets


Plus, Solana has now surpassed Ethereum in trailing 30-day decentralized exchange volume


Polymarket betters say Kamala Harris has better odds than Biden of winning against Trump


Bitcoin’s down Tuesday, while ETH-correlated assets like ENS and ARB see growth