In this episode, Alex Glukowski of Matter Labs discusses zkSync, a scaling and privacy engine for Ethereum. They also talk about the Redshift protocol, a transparent zkSNARK system. The podcast covers building the zkSync blockchain, differences between pair chains and layer one blockchains, creating a censorship-resistant network, building with UX and Devx in mind, programming environment of CK Sync and CK transaction receipts, and trusted setups and Redshift in smart contracts.
Read more
AI Summary
AI Chapters
Episode notes
auto_awesome
Podcast summary created with Snipd AI
Quick takeaways
ZK-Sync aims to provide a scalable solution for blockchains, focusing on mass user adoption and offering a mixture of trade-offs and additions beyond a pure roll-up.
Redshift is a transparent snark that enables efficient recursive proofs, supports batching of transactions, and aims to optimize performance and reduce costs in blockchain systems.
Deep dives
ZK-Sync: A Vision for Scalability on Layer 2 Blockchain
ZK-Sync, based on the ZK roll-up architecture, aims to provide a scalable solution for blockchains, focusing on mass user adoption. With ZK-Sync, the goal is to achieve trustless security, high throughput, and properties that make scaling useful for mass user adoption. The system offers a mixture of trade-offs and additions beyond a pure roll-up, resulting in what they call the 'full package' of how scaling should work on layer 2 blockchains. ZK-Sync is designed to be lightweight client-friendly, allowing users to easily verify transactions without the need for heavy computational or bandwidth capacities. The consensus mechanism in ZK-Sync relies on validators who produce blocks and guardians who ensure validators don't engage in censorship. The validators and guardians participate in a governance system to secure the network. ZK-Sync will have its own token, and users can seamlessly bring ERC-20 tokens onto the platform. While privacy is not a priority at this stage, ZK-Sync plans to gradually introduce privacy features to the platform, offering privacy as a basic feature for personalized finance. The current test environment shows potential throughput of up to 10,000 transactions per second, and the goal is to achieve high speed, low-cost transaction processing. ZK-Sync is being built with a focus on user experience and developer experience, taking inspiration from companies like Stripe and Twilio, aiming to provide users with simplicity and smooth interactions. The long-term vision is to combine scalability with privacy, allowing for private smart contracts and confidential transactions on the platform. While initially built for Ethereum, ZK-Sync can potentially be deployed on other blockchains as well.
Redshift: A Transparent Snark
Redshift is a transparent snark that takes R1CS-based circuits as input and is derived from proof systems based on polynomial commitments. The goal of Redshift is to achieve efficient recursive proofs, enabling embedding of verification for other circuits into a compound circuit. Redshift supports batching of transactions and offers performance benefits, potentially with millions of transactions per second. While privacy is not the primary focus of Redshift, the system aims to gradually incorporate privacy features for payments and smart contracts. With Redshift, the team behind ZK-Sync seeks to optimize performance, reduce costs, and introduce new possibilities for scalability and privacy in blockchain systems.
ZK-Sync and Ethereum 2.0
ZK-Sync is built on Ethereum 1.x and does not require significant changes with the introduction of Ethereum 2.0. The focus is on scalability and not on sharding or other multi-chain paradigms. However, ZK-Sync can potentially be deployed on other blockchains besides Ethereum, depending on demand and use cases. The team is open to supporting other chains by rewriting the smart contract part while keeping the protocol intact. The goal is to offer a seamless switch between different layer 1 chains, providing scalability and performance enhancements across various blockchain platforms.
ZK-Sync and Future Developments
ZK-Sync is currently concentrated on scalability and efficiency, prioritizing high throughput and low gas costs. The system has the potential to process thousands of transactions per second in a test environment, and the team aims to improve processing times to below one minute. Privacy features will be gradually introduced, focusing initially on payment privacy. The long-term vision is to incorporate privacy features for smart contracts and provide end-to-end privacy for users. ZK-Sync is designed to prioritize user experience and developer experience, offering simplicity, reliability, and efficiency in building applications on the platform.
In this week's episode of the podcast, we catch up with Alex Glukowski of Matter Labs to hear about zkSync, the latest iteration of their zkRollup implementation built to be a scaling and privacy engine for Ethereum. We also touch on the Redshift protocol, a new transparent zkSNARK system that emerged as a result of work on this system.