Back to Course

3. Advanced Course

0% Complete
0/0 Steps
  1. 1. What is Taproot?
  2. 2. Blockchain bridges – what are they?
  3. 3. What is Ethereum Plasma?
  4. 4. What is Ethereum Casper?
  5. 5. What is Zk-SNARK and Zk-STARK? 
  6. 6. What is Selfish Mining? 
  7. 7. What is spoofing in the cryptocurrency market? 
  8. 8. Schnorr signatures - what are they? 
  9. 9. MimbleWimble - what is it? 
  10. 10. What is digital property rights in NFT?
  11. 11. What are ETFs and what role do they play in the cryptocurrency market? 
  12. 12. How to verify a cryptocurrency project – cryptocurrency tokenomics 
  13. 13. What is the 51% attack on blockchain?
  14. 14. What is DAO, and how does it work?
  15. 15. Zero-knowledge proof – a protocol that respects privacy 
  16. 16. What is EOSREX?
  17. 17. What is Proof of Elapsed Time (PoET)?
  18. 18. Mirror Protocol – what it is? 
  19. 19. What are synthetic assets? 
  20. 20. How to create your own NFT? 
  21. 21. Definition of DeFi, and what are its liquidations?
  22. 22. New identity system - Polygon ID
  23. 23. Ethereum Foundation and the Scroll protocol - what is it?
  24. 24. What is Byzantine fault tolerance in blockchain technology?
  25. 25. Scalability of blockchain technology - what is it?
  26. 26. Interchain Security - new Cosmos (ATOM) protocol
  27. 27. Coin Mixing vs. Coin Join - definition, opportunities, and threats
  28. 28. What is Ethereum Virtual Machine (EVM) and how does it work?
  29. 29. Soulbound Tokens - what are they, and how do they work?
  30. 30. Definition of LIDO - what is it?
  31. 31. What are Threshold Signatures, and how do they work?
  32. 32. Blockchain technology and cyberattacks.
  33. 33. Bitcoin script - what it is, and what you should know about it.
  34. 34. What is zkEVM, and what are its basic features?
  35. 35. Do confidential transactions on blockchain exist? What is a Confidential Transaction?
  36. 36. Algorithmic stablecoins - everything you should know about them.
  37. 37. Polygon Zk Rollups ZKP - what should you know about it?
  38. 38. What is Web3 Infura?
  39. 39. Mantle - Ethereum L2 scalability - how does it work?
  40. 40. What is the NEAR Rainbow Bridge?
  41. 41. Liquid Staking Ethereum and LSD tokens. What do you need to know about it?
  42. 42. Top 10 blockchain oracles. How do they work? How do they differ?
  43. 43. What are Web3.js and Ether.js? What are the main differences between them?
  44. 44. What is StarkWare, and recursive validity proofs
  45. 45. Quant Network: scalability of the future
  46. 46. Polygon zkEVM - everything you need to know
  47. 47. What is Optimism (OP), and how do its roll-ups work?
  48. 48. What are RPC nodes, and how do they work?
  49. 49. SEI Network: everything you need to know about the Tier 1 solution for DeFi
  50. 50. Types of Proof-of-Stake Consensus Mechanisms: DPoS, LPoS and BPoS
  51. 51. Bedrock: the epileptic curve that ensures security!
  52. 52. What is Tendermint, and how does it work?
  53. 53. Pantos: how to solve the problem of token transfer between blockchains?
  54. 54. What is asymmetric encryption?
  55. 55. Base-58 Function in Cryptocurrencies
  56. 56. What Is the Nostr Protocol and How Does It Work?
  57. 57. What Is the XDAI Bridge and How Does It Work?
  58. 58. Solidity vs. Rust: What Are the Differences Between These Programming Languages?
  59. 59. What Is a Real-Time Operating System (RTOS)?
  60. 60. What Is the Ethereum Rinkeby Testnet and How Does It Work?
  61. 61. What Is Probabilistic Encryption?
  62. 62. What is a Pinata in Web 3? We explain!
  63. 63. What Is EIP-4337? Will Ethereum Account Abstraction Change Web3 Forever?
  64. 64. What are smart contract audits? Which companies are involved?
  65. 65. How does the AirGapped wallet work?
  66. 66. What is proto-danksharding (EIP-4844) on Ethereum?
  67. 67. What is decentralised storage and how does it work?
  68. 68. How to Recover Cryptocurrencies Sent to the Wrong Address or Network: A Practical Guide
  69. 69. MPC Wallet and Multilateral Computing: Innovative Technology for Privacy and Security
  70. 70. Threshold signature in cryptography: an advanced signing technique!
  71. 71. Vanity address in cryptocurrencies: what is it and what are its characteristics?
  72. 72. Reentrancy Attack on smart contracts: a threat to blockchain security!
  73. 73. Slither: a static analyser for smart contracts!
  74. 74. Sandwich Attack at DeFi: explanation and risks!
  75. 75. Blockchain RPC for Web3: A key technology in the world of decentralized finance!
  76. 76. Re-staking: the benefits of re-posting in staking!
  77. 77. Base: Evolving cryptocurrency transactions with a tier-2 solution from Coinbase
  78. 78. IPFS: A new era of decentralized data storage
  79. 79. Typical vulnerabilities and bridge security in blockchain technology
  80. 80. JumpNet - Ethereum's new sidechain
Lesson 37 of 80
In Progress

37. Polygon Zk Rollups ZKP – what should you know about it?

Polygon, formerly Matic Network, is a solution for scaling Ethereum. The company’s main product is the sidechain Polygon, which is a popular alternative to Ethereum due to its low transaction fees and much faster transactions. Today, however, we will discuss Polygon Zk Rollups – what are and what benefits do they offer?

Polygon is in the process of developing a suite of Zero Knowledge Rollups (Zk Rollups).  With them, it aims to increase throughput on Ethereum while maintaining full decentralization and security. Zk Rollups process the transaction off the main chain and reduce layered computation. All to achieve greater scalability.

Polygon Zk Rollups – definition

Polygon zero knowledge rollup, is a scaling solution that turns multiple off-chain transactions, into a single on-chain transaction. Zk Rollups eliminate the need for miners to verify individual transactions on the main Ethereum network. How. They generate proof of validity or proof of zero knowledge for each rollup.

This is how Ethereum can fearlessly verify the authenticity of bulk transactions. All because validity proofs are nothing more than mathematical logic that can be easily proven.  This improves the security of the rollups at the same time.

Polygon Zk Rollups also enable immediate confirmation of a given transaction on the main chain. Therefore, network users can easily transfer their funds between the rollup and the main blockchain (Ethereum) without any delay.

The Polygon network is highly committed to improving the scalability of Ethereum. The ecosystem plans to invest more than $1 million in zero-knowledge technology. Already, several Polygon products are based on zero-knowledge technology. They include Zero, Hermez, Miden and Nightfall.

What is Polygon Zero?

This is also a Zk Rollup solution, but designed to reduce computational costs in generating validity proofs. While indeed zero-knowledge proofs can improve scalability, their functionality is limited due to the expensive proof generation process.

The task of Polygon Zero is to solve this problem, by using so-called recursive proofs. These have faster prover systems. Polygon Zero generates proofs simultaneously for each transaction in a batch. The whole machine then aggregates multiple transaction proofs at once into a single proof on the Ethereum network.

This mechanism significantly reduces the time and cost required to generate the necessary and reliable validity proofs for transaction rollups.  Of course, Polygon Zero has been designed to be compatible with the Ethereum virtual machine we mentioned here [LINK-WHAT IS THE ETHEREUM VIRTUAL MACHINE AND HOW IT WORKS-THE MASTER LEVEL].

Polygon Hermez and Polygon Hermez 2.0

Polygon Hermez is also a Zk Rollup, whose main task is decentralization. It is said to be the only decentralized rollup operating on top of Ethereum.

Hermez uses providence of efficiency (PoE) in its operation. Thus, it provides full decentralization and security of the network. The entire network consists of Sequencers and Aggregators, which together provide rollup functionality. Sequencers accept transactions and Aggregators generate Zk proofs, which are then transferred to Ethereum.

What is very intriguing and should be noted is that in the PoE consensus mechanism, anyone can become a Sequencer or Aggregator. This protects the entire Polygon Hermez from centralization problems.

In the case of the Hermez  protocol, attention should also be paid to its throughput. It achieves it thanks to zero-knowledge technology. It can contain 2000 transactions in one batch!

Hermez 2.0

Polygon Hermez was activated in 2021, but its biggest drawback is its incompatibility with the Ethereum Virtual Machine. As a result, most of its functions are limited and closed to simple token transfers and exchanges.

Hermez 2.0 is a development plan for Polygon Hermez. It is to be compatible with Ethereum Virtual Machine. Moreover, it will introduce zero-knowledge EVM (zkEVM). We will not elaborate on this topic. If anyone is curious about how zkEVMs work, we invite you to our lesson, where we focused on this topic.

With Hermez 2.0, Polygon will be able to scale Ethereum, through the use of ZK rollups.

Polygon Miden

This is a Zk rollup, designed for general use. It is based on STARK with EVM compatibility. STARK (Scalable Transparent Argument of Knowledge), is a cryptographic proof.

Polygon Miden is quite unique. It is based on the Miden virtual machine. It executes arbitrary logic and runs smart contracts. Therefore, programmers can easily compile given code written in Solidity or Vyper.

Polygon Miden can process 5,000 transactions in a single block. Polygon Miden is a prototype for now, but will increase Ethereum’s network throughput to more than 1,000 transactions per second (TPS) when it launches.

Polygon Nightfall

It is an enterprise rollup solution. The protocol is meant to facilitate private transactions for companies, which launched on Ethereum Mainnet on May 17 last year.

Polygon Nightfal rollups use Optimistic Rollups and Zero-knowledge cryptography. Optimistic rollups reduce costs, and Zk proofs ensure transaction privacy.

For large organizations looking for scaling and private transactions, Polygon Nightfall is what they are looking for. Nightfall still under development, although Polygon has announced that its beta version will be launched on Ethereum Mainnet.

What is the difference between Polygon Zk Rollups and other rollups with zero knowledge?

They definitely differ in speed, cost, and ability to support calculations that are compatible with EVM.

Let’s look at StarkNet, or zkSync. These are traditional rollups, the disadvantage being the high computational cost of the evidence generated. Polygon Zk Rollups are incomparably cheaper.

What’s more, Polygon Zk solutions are designed to reduce the computational cost of the evidence created as much as possible. One Polygon Rollup can generate a proof in about 170 milliseconds.

Another feature of them is that Polygon Zk offer us smaller proof sizes than classic mechanisms. Their size can reach only 45 kb. This eliminates hardware centralization and reduces the cost burden.

Finally, let’s further emphasize that Polygon Zk Rollups are compatible with the Ethereum Virtual Machine.

Polygon Zk Rollups – four, key features.

  1. Scalability.

Zero-knowledge rollups are irreplaceable if we are talking about improving the scalability of Ethereum. At the same time, they maintain full decentralization and security. Polygon Zero and Polygon Hermez are capable of increasing throughput to thousands of transactions per second.

  1. Low transaction fees.

That is, what we have already mentioned. Gas fees have often been impossible to pass for some developers. By taking most transactions off the main chain and flipping them to Polygon, rollups can dramatically reduce transaction fees on the Ethereum network.

  1. Safety.

Polygon Zk Rollup are based on stable and robust cryptography. Compared to other proofs of knowledge, they have a much higher security threshold than other designs.

  1. Innovation.

Ethereum, in its limitation of scalability, can at the same time limit developers. With Polygon Zk Rollups, developers gain new opportunities and tools. They will move their work and activities to other areas.

Summary

You can see how complex the subject of Polygon Zk Rollups is. However, with Polygon’s commitment to integrating Zk Rollups with Ethereum, it enhances its capabilities.  Rollups by Polygon have great potential. We look forward to developing these zero-knowledge proofs.