General FAQs related to zkEVM
This document compiles some of the frequently asked questions related to the Polygon zkEVM. For more details, check out this documentation.
For anyone not familiar, what is Polygon zkEVM?
Polygon zkEVM is the leading zero knowledge scaling solution that is equivalent with the Ethereum Virtual Machine. This means that most of the existing smart contracts, developer tools, and wallets work seamlessly.
Polygon zkEVM harnesses the power of Zero Knowledge proofs to reduce transaction cost and increase throughput, all while inheriting the security of Ethereum L1.
What are the main features of Polygon zkEVM?
- EVM-equivalence: Most Ethereum smart contracts, wallets, and tools work seamlessly on Polygon zkEVM
- Inherits security from Ethereum
- Lower cost compared to L1 and better finality than other L2 solutions like Optimistic Rollups
- ZKP-powered scalability, and aiming at similar throughput to PoS
What kind of gas fee reduction can users expect from Polygon zkEVM?
Compared to Ethereum Layer 1, users can expect a significant reduction in gas fees. Polygon layer 2 scaling solutions/protocols batch transactions together and then effectively spread the cost of a single layer 1 transaction across multiple layer 2 transactions.
How do zkRollups work?
zkRollups aggregate a large batch of transactions and prove all of them to the Ethereum network with a single zero-knowledge validity proof.
What is so unique about zkEVMs?
Many people in crypto believed that a zkEVM was years away, and might never be practical or competitive with other ZK L2s. This was framed as an unavoidable tradeoff: we could have either full EVM equivalence or high performance, but not both.
However, with the proving system breakthroughs pioneered by Polygon Labs, we believe we can achieve full EVM equivalence while offering better performance (higher throughput, lower latency, and lower cost) than alt-L1s, optimistic rollups and other ZK-Rollups.
How do I connect Polygon zkEVM to a Metamask Wallet?
In order to add the Polygon zkEVM network to your wallet, please check this guide which contains the latest RPC details and videos demonstrating useful functionalities.
How does Polygon zkEVM compare to other zkEVMs in terms of technology and performance? What are the technical advantages there?
The best reference is Vitalik Buterin's neutral and comprehensive analysis of zkEVMs published in his blog.
However, the one big difference between Polygon zkEVM and other projects is zkEVM's efficient prover and the significant ethereum equivalence. Regarding the design of the prover/verification component: other projects use an arithmetic circuit approach while the Polygon zkEVM zkProver uses State Machine approach.
Is Polygon zkEVM open source?
Yes, Polygon zkEVM is fully open-sourced with a AGPL v3 open-source license.
Does Polygon zkEVM have a separate token?
No. ETH will be used for gas fees. It is expected that MATIC will be used for staking and governance in Polygon zkEVM in the future.
It is also important to note that Polygon zkEVM supports Account Abstraction via ERC-4337, which will allow to pay fees with any token transparently from a user's perspective.
What types of dApps can be deployed on Polygon zkEVM?
Any dApp that is compatible with EVM can be deployed, except for those which require a specific precompiled contract that is currently not supported by zkEVM. For more details related to supported precompiled contracts, check out this document.
Can this Layer 2 zkEVM work with other chains?
At the moment, the answer is No. Aspirationally, the goal in the future is to build one of many chains that allow for users' assets to move from layer 2 (L2) to layer 2. With that being said, users will not be able to utilize this functionality at launch, but L2 to L2 movement is included in our future roadmap.
What are some of the main use cases for Polygon zkEVM?
DeFi Applications: Because of Polygon zkEVM’s high security and censorship resistance nature, it's a good fit for DeFi applications. zkRollups don’t have to wait for long periods for deposits and withdrawals; Polygon zkEVM offers better capital efficiency for DeFi dApps/users.
NFT, Gamefi, and Enterprise Applications: Low gas cost, high transaction speed, and greater level of security coupled with Ethereum composability is attractive to blue chip NFTs, GameFi, and Enterprise applications.
Payments: Users interested in transacting with each other in real-time within a near-instantaneous and low fee environment will appreciate the value Polygon zkEVM provides.
Once Polygon zkEVM comes out, will it replace Polygon PoS?
No, that is not our aim. Builders can use either of the solutions based on their needs. No matter where the solution is deployed, this multichain approach will makes it easier for interoperability.
When Polygon zkEVM publishes a proof on L1, how can someone trust that that proof is accurate and includes all the transactions it claims it does?
Our zkRollup smart contract warranties it. It's trustworthy due to data availability and the fact that the published validity proofs are quick and easily verifiable SNARK proofs.
Does Polygon zkEVM have support for both Solidity and Vyper?
Yes, any language that gets compiled to EVM opcode should work with Polygon zkEVM. In other words, if it can run on Ethereum/Polygon PoS, it can run on the Polygon zkEVM.
What is an RPC node?
RPC (Remote Procedure Call) is a JSON-RPC interface compatible with Ethereum. It enables integration of Polygon zkEVM with existing tools, such as Metamask, Etherscan, and Infura. It adds transactions to the pool and interacts with the state using read-only methods.
Additionally, for a software application to interact with the Ethereum blockchain (by reading blockchain data and/or sending transactions to the network), it must connect to an Ethereum node. It works the same way as other nodes such as geth.
Learn how to set up your production zkNode here.
Do you support the JSON-RPC EVM query spec? What are the unsupported queries?
All official queries are supported (eth_*
endpoints). We are working on support from some "extra official endpoints" such as debug_*
.
In what ways will Polygon zkEVM interact with the current Polygon PoS chain and will it also use MATIC for gas?
ETH will be used for gas fees, while MATIC will be used for staking and general governance in Polygon zkEVM in the future. There is no direct interaction with Polygon PoS, value can be transferred from these two networks via Ethereum network.
All Comments