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”

article-image

optimarc/Shutterstock modified by Blockworks

share

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.

Tags

Upcoming Events

Salt Lake City, UT

WED - FRI, OCTOBER 9 - 11, 2024

Pack your bags, anon — we’re heading west! Join us in the beautiful Salt Lake City for the third installment of Permissionless. Come for the alpha, stay for the fresh air. Permissionless III promises unforgettable panels, killer networking opportunities, and mountains […]

recent research

Screen Shot 2024-04-22 at 11.51.05.png

Research

The Jito Network is MEV-aware infrastructure that strengthens the performance, decentralization, and security of Solana. As the chain matures, Jito and all of its market-leading products are poised to play a vital role.

article-image

The Fed once again opted to not surprise markets on Wednesday, moving to hold interest rates

article-image

Celebrity crypto ads should only exist if they do something really creative or really silly — Eminem’s ad did neither

article-image

The profits were driven by interest earned on US Treasury holdings, as well as market gains on bitcoin and gold

article-image

The world’s largest asset manager led a $47 million funding round by a blockchain-focused firm it has worked with before

article-image

They both may be in prison for an overlapping 120 days, but the similarities stop there

article-image

The tokenization of real-world assets is set to continue as a “defining trend” for institutional crypto in 2024, Anchorage Digital CEO says