0

Are polygon zkEVM and zkSync ERA somehow different? If yes then how?

2 Answers 2

2

ZkSync Era uses its LLVM compiler, which compiles code from various popular EVM languages such as Solidity, Vyper and Yul to run on their custom zkSync VM. This compiler will be further developed to accept code in Rust and C++ in the future as well. This allows developers to migrate EVM smart contracts, instead of rewriting code using a new language or tool.

While, Polygon zkEVM, on the other hand, treads much closer to EVM and does not use a compiler. It accepts Solidity natively, enabling the migration of almost all Solidity code from existing EVM chains to the new chain without rewriting the code.

1
  • If i use zkSync era, just configuring my hardhat.config.js with zkSync and deploying it to zkSync mainnet is all that i have to do to use its layer 2 benifit?
    – Hacek
    Apr 19 at 8:59
0

The difference is

zkEVM is EVM equivalent whereas zkSync ERA is EVM conpatible - essentially the former reads EVM smart contracts natively, whilst the latter uses an LLVM compiler to convert EVM languages such as Solidity and Yul to be able to run on their VM.

Overall, zkEVM uses a Proof of Efficiency mechanism to achieve greater prover efficiency.

1
  • If i use zkSync era, just configuring my hardhat.config.js with zkSync and deploying it to zkSync mainnet is all that i have to do to use its layer 2 benifit?
    – Hacek
    Apr 19 at 8:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.