Discover ZK-EVM – The stability involving “transparency” and “privacy”

The elegance of the blockchain is transparency, all the greed and altruism of traders are obviously exposed by on-chain information, but it also usually means that the blockchain’s use of people’s privacy is significantly compromised. In today’s report, we find out with the Coinlive group comprehensively about Zero-Knowledge Proof and ZK-EVM technologies, 1 of the technologies that has been, is and will generate a new trend in the Vietnam blockchain area. long term.

Discover ZK-EVM – The stability involving “transparency” and “privacy”

What is zero-expertise evidence?

It is a approach to aid confirm the accuracy of info presented by an person or organization with no owning to disclose all the facts of the info. To much better realize Zero-Knowledge Proof, interested readers can also check out out this report.

Zero-Knowledge technologies incorporates three properties as follows:

  • Integrity: If a declare manufactured by a verifier is genuine, the verifier should be in a position to confirm that the declare is genuine.
  • Certainty: If a declare is false, there is a large probability that the verifier will “unmask” the falsifier’s lie.
  • Zero-expertise: If a statement is genuine, there is no have to have to reveal any other info other than confirming that it is genuine.

It need to be mentioned that the essence of zero-expertise technologies is Chance, That is, it is nevertheless feasible for a prover to use an incorrect statement to effectively persuade the validator to feel the statement, with a quite very low probability.

Zero-Knowledge Proof is also divided into two primary classes, namely:

  • Interactive evidence with zero expertise: the evidence and the validator should interact lots of instances to boost the probability of the correctness of the statement manufactured.
  • Non-interactive zero-expertise check: the prover should send the evidence to the validator only when, with no interacting lots of instances. While additional easy, this approach also consumes additional vitality than the zero-expertise-evidence interactive approach talked about over.

Why does blockchain have to have ZK technologies?

To clarify why blockchain requirements ZK technologies, let us go back to the early days of the web when messages exchanged in cyberspace have been not finish-to-finish encrypted.

At that second, all information is “naked” to the hackers and thus they can very easily complete “eavesdropping” or Man-in-the-Middle attacks. MitM) wherever they secretly modify the information of exchanges involving men and women in cyberspace in buy to consider benefit of them.

How to encrypt information on the web. Source: a16z

With the advent of the Transport Layer Security encryption protocol, conversations on the Internet have turn out to be additional safe. But this look has also sparked significantly controversy, most notably the US National Security Agency’s (National Security Agency) objection about the trade-off involving civil liberties and nationwide household safety. Fast forward to the existing day, the problem has fully altered: this encryption protocol has turn out to be a necessary aspect of the sites of the United States government or of person corporations accountable for managing info and consumer personalization.

Transactions on the blockchain nowadays are like early web messages – every thing is fully public. On the 1 hand, this will guarantee the “transparency” of the blockchain, but on the other hand it also puts users’ privacy at danger. But if blockchain is to be utilized additional broadly in everyday existence and generate a revolution referred to as Web three. as the Internet did almost 4 decades in the past, information should be “encrypted”, but at the identical time, transparency: the core worth of blockchain – it should nevertheless be totally assured.

The cryptographic protocol that was when utilized to the web can not be utilized to the blockchain mainly because this protocol only applies to stage-to-stage connections and communications on the blockchain demand everybody to have the capacity to see every thing that is taking place on the network. If we “encrypt” all this, the blockchain network will no longer be in a position to “verify” which transactions are legitimate and assure the expected transparency.

How to Encrypt Data on the Blockchain Network. Source: a16z

But with the ZK technologies, the transparency of the blockchain will be preserved but will nevertheless assure the privacy of the consumers when all transactions are public on the blockchain and their validity will be confirmed by the use of ZK proof.

ZK is also utilized to fix the blockchain scalability challenge: Layer two tasks will synthesize proof (legitimate proof to verify the validity of transactions) and then use it to reduce Minimize the sum of information sent to the Layer one blockchain, therefore contributing to much better boost the scalability of Ethereum.

What is ZK-EVM?

It’s economical, but we encounter a unhappy actuality: the world’s most vibrant blockchain, Ethereum, is not created to be optimized for ZK technologies.

Therefore, a war referred to as ZK-EVM broke out involving Layer two tasks that took ZK technologies as the spearhead for deposit / withdrawal pace when rolling up to Layer one Ethereum. ZK-EVM is a rollup that has much better compatibility with Ethereum’s virtual machine (EVM), therefore producing it simpler for dApps working on Ethereum degree one to get started on these degree two tasks.

Currently, the ZK-EVM race is taking location with the look of four primary names: Polygon, zkSync and Scroll. The polygon has been launched public testnet for the ZK-EVM remedy on October 10th, zkSync is nevertheless in the ultimate phases of launching on the mainnet with ZK-EVM referred to as HyperChains on October 28th, and Scroll is finishing the pre-update.alpha for my testnet.

However, Ethereum’s compatibility with Ethereum and VMs will be inversely proportional to the aggregation price of proof of the ZK technologies.

According to Vitalik Buterin’s complete report on ZK-EVM remedies designed on the marketplace, there are 4 primary groups of ZK-EVM as follows:

Group one: Fully compatible with Ethereum

  • It does not demand any adjustment from the Ethereum node.
  • The benefit is that lots of components of the Ethereum infrastructure can be reused, this kind of as block explorer or block manufacturing resources.
  • The most significant disadvantage is that the time to generate proof for blocks on Ethereum will consider a prolonged time mainly because Ethereum’s style and design is not optimized for ZK technologies.

Group two: Compatible with EVM (Ethereum virtual machine)

  • The Ethereum node is nevertheless employed but with a slight modification.
  • Basically, DApps working on Ethereum can nevertheless run on ZK rollups belonging to this group.
  • The time to validate proofs is more rapidly than rollups in group one but is nevertheless deemed slow.

Group two.five: Compatible with EVM (except gasoline value aspect)

  • Increase the gasoline price to strengthen the leavening pace, with no modifying other components of the EVM.
  • Changing the gasoline expenses could decrease the compatibility of some applications, but this interferes. Good. Considered the “lighter” than the have to have to modify additional basic facts in the EVM.

Group three: Almost compatible with EVM

  • Not totally compatible with EVM to strengthen correction pace but at the identical time simplify the distribution of the DApps right here.
  • Some applications when deployed on Group three rollups nevertheless have to have to be modified.
  • The latest Polygon and Scroll remedy is integrated in this group by Vitalik but in the long term, when some pre-compilers are additional, these remedies will strengthen compatibility and transition to groups one, two, two.five over.

Group four: Compatible with large-degree programming languages

  • Move the code of wise contracts written in languages ​​like Solidity, Vyper, and so forth. in one more language created to make the greatest use of ZK technologies.
  • The benefit of program is that the proof generation system will be more rapidly.
  • The downside is bad compatibility with applications on Ethereum, and as this kind of, even Group four rollup-primarily based applications will not be in a position to leverage the present infrastructure for applications on Ethereum.
  • The remedy from StarkWare and zkSync belongs to this group, as it necessitates a separate programming language, Cairo and Zinc, to pace up evidence generation.
Comparison involving latest ZK-EVM remedies

summary

In a nutshell, we will see a trade-off involving compatibility with Ethereum and the pace of proof aggregation of ZK-EVM remedies. Just like from bicycles, e-bikes, motorbikes to autos, there are compromises in terms of comfort and pace for every automobile. Bicycles, though more rapidly, will eat additional energy for the consumer Conversely, autos are more rapidly in terms of pace, but consumers are also additional most likely to have complications with targeted traffic jams or not getting a ideal parking area.

Each medium and remedy will have its benefits and drawbacks, dependent on the meant use of every person / venture, alternatives and selections are manufactured to guarantee that the ultimate solution is helpful for everybody.

Never Fan

See other articles or blog posts by writer Mai Phan:

Maybe you are interested:

Exit mobile version