What is ZkSync?

25cD...q8Un
3 Jan 2024
35

What is ZkSync?

ZkSync is a Layer 2 scaling solution for the Ethereum blockchain that uses zk-rollup to increase scalability and efficiency. Zk rollups collects transactions from Ethereum main transactions and sends transaction proofs to Ethereum. This significantly increases Ethereum's transaction volume, where the revenue is pooled into a single transaction that is verified and secured by Ethereum. Specifically, this approach helps alleviate attenuation and reduce gas fees, making it more convenient for users to grant permissions and send tokens via Ethereum smart contracts. Despite its off-chain processing, zkSync provides a high level of security and attribution of user assets by connecting the finality of the transaction to the Ethereum mainnet. In short, Zksync is an Ethereum scaling project that tries to reduce weight on Ethereum while providing security by remaining connected to the Ethereum main network.

Collect Transactions > Generate Evidence > Send to L1

Zksync uses Zero-knowledge-proof technology to scale Ethereum. Zero-knowledge-proof technology is; It can be called a method of transaction verification without providing proof with cryptographic security. It is also called Zero Knowledge Proof in short. For example, zk-rollup solutions establish that a particular transaction is correct without disclosing its proof. In simple terms, zk-rollups follow the "trust me on this" approach. While this may seem inconsistent to the layman, Zero-knowledge-proof is considered one of the most promising scaling and privacy solutions for Ethereum.

zkSync 2.0

The platform previously launched zkEVM; This means zkSync is both EVM compatible and EVM equivalent, and can execute smart contracts thanks to support of most Ethereum opcodes. A key element of zkSync 2.0 is zkPorter, which is designed to strengthen the aggregation component of the protocol by providing an off-chain data availability component. It will be fully compatible and interoperable with zkSync, with on-chain data availability assured. In simple language, this means that the project is taking another step towards mass adoption by offering faster and cheaper options for using blockchain. zkSync 2.0 claims to offer 20,000 tps speeds and a further 100x fee reduction for zkPorter users.


How is zkSync different from other Layer-2 networks?


ZkSync, Optimism, and Starknet are layer 2 scaling solutions for Ethereum, but they differ in their underlying technology and security models. zkSync uses zk-Rollup technology with zero-knowledge proofs for robust security. It processes transactions off-chain and connects their finality to the Ethereum mainnet. Polygon, on the other hand, provides a versatile scaling framework with a variety of options such as sidechains, their private Supernets, and the latest zkEVM. This versatility allows developers to fine-tune their solutions to their unique needs and goals. Optimism, on the other hand, uses Optimistic Rollup technology. It assumes the validity of the transaction as evidence and resolves disputes in the chain through fraud evidence. Optimistic Rollup also has a different security model than zkSync while offering high efficiency and scalability. In StarkNet, Starknet relies on zk-STARKs, while zkSync uses zk-SNARKs. This results in differences in installation procedures, scalability, and resistance to potential quantum computer attacks. Zk also differs in speed, especially transactions in zkSync reach Ethereum when the SNARK proof of the zkSync block is created and accepted by the smart contract. The proof time is expected to be around 10 minutes to generate, so 10 minutes after being sent, the zkSync (proof) transaction will be as fast as any L1 Ethereum transaction located on the same Ethereum block as the transaction containing the proof.

Get fast shipping, movies & more with Amazon Prime

Start free trial

Enjoy this blog? Subscribe to 0xKemal

3 Comments