okx

[斯科特]了解 zkEVM:将智能合约引入第 2 层 | 币法典

时间:2024-03-01|浏览:194

了解ZKEVM将智能<a title='合约交易开户' href='https://okk.meibanla.com/btc/ok.php' target='_blank' class='f_c'>合约</a>引入第2层币法典

zkEVMs can validate and execute blockchain operations without needing to expose all the details. It's like saying, "I can prove this transaction or contract is valid and follows the rules, but I won't show you all the inner workings of it." Image source: Chainlink

Challenges of building zkEVMs

While zkEVMs opened promising doors, they realized their potential posed major technical challenges. The EVM was never designed with proof, so several aspects conflict with this new paradigm.

For one, the EVM's stack-based architecture proved difficult to convert to a format compatible with proving. Its special opcodes for error handling also confounded efforts to build verifiable circuits.

Storage was another hurdle, as the EVM's Merkle Patricia tree clashed with proving needs. Replacing the KECCAK256 hashing function helped but risked breaking infrastructure compatibility.

Most significantly, zero-knowledge proofs demand computationally-intensive operations that drive up costs, especially on-chain. Generating and verifying proofs for each smart contract execution transaction consumed prohibitive resources.

Addressing these issues required rethinking core EVM components and sparking innovations in proofs like optimized circuits and hybrid STARK-SNARK schemes. Much progress has been made, though optimizations continue as the field matures. Perfecting zkEVMs necessitated reconciling two dissimilar yet essential technologies.

Types of zkEVMs

While research continues, several zkEVM systems have already launched, each approaching the technical challenges somewhat differently:

  • Polygon Hermez: Leverages a combination of SNARKs and STARKs along with an EVM bytecode interpreter on a zkEVM. Powered by the MATIC token.
  • zkSync: Their zkEVM relies on custom zk-opcodes and a register-based virtual machine design. There’s no native token yet, although speculation around an upcoming airdrop launch exists.
  • AppliedZKP: An implementation focused on developer ergonomics through Solidity integration.
  • Matter Labs ZKSync: Matter Labs uses intermediate representations and an optimizing compiler.

Beyond technical distinctions, these zkEVMs also vary in features, user experience optimizations, and partnership ecosystems. All represent significant milestones in proving EVM compatibility while maintaining practical usability and performance.

ProjectApproachTarget UsersUnique Strengths
Polygon HermezEVM-compatible, SNARK-basedDeFi protocols, DEXesHigh volumes, ETH-centric
zkSyncEVM, SNARK-based, JAASMDeFi, dApps, DevelopersSpeed, Decentralization
AppliedZKPzkVM, circuitsResearchers, BuildersSecurity research focus
Matter Labs LoopzkSNARKs, optimisticdApps, protocolsFlexible assumptions

Popular zkEVM Projects and Focus Areas

Benefits of zkEVMs

By reconciling Ethereum's versatile smart contracts with privacy-preserving scaling, zkEVMs promise a wealth of benefits for both users and developers:

  • Faster and Cheaper Transactions: With transactions executed off-chain in batches, zkEVMs can process thousands of transactions per second versus Ethereum's 15 TPS. Gas costs are far lower as well.
  • Enhanced Privacy: Users benefit from robust privacy without trusting centralized services, as only cryptographic proofs are revealed on the public blockchain.
  • Smart Contract Scaling: dApps gain the ability to scale via layer 2 while retaining core Ethereum benefits like decentralized security.
  • Development Continuity: Developers leverage the same Solidity/Vyper languages, tooling, testing frameworks, and vibrant ecosystem of Ethereum.
  • Cross-Chain Interoperability: As EVM compatibility improves, bridges may one day allow assets and computations to seamlessly traverse disparate chains.

Widespread adoption of zkEVMs could realize the vision of Ethereum serving as a universal decentralized backplane, with layer 2 networks unleashing its full potential through scalability and privacy. However, challenges remain in proliferating these benefits.

Current status and outlook

While zkEVMs have advanced by leaps and bounds conceptually, major hurdles persist between research and widespread usability at scale. Chief among these are high deployment costs that presently constrain zkEVM usage to niche scenarios and limit overall throughput.

Additionally, integrating complex zkEVM proofs fully into applications introduces UI/UX challenges and risks reducing developer productivity versus more straightforward solutions. However, projects like Manta are working intensively to abstract away this complexity.

Looking ahead, continued optimizations to zkSNARKS/STARKS construction, circuit design, and refining the EVM abstraction layer give hope that costs and usability gaps will steadily recede. Promising developments like zkPorter rollup aggregators may further boost throughputs.

随着 zkEVM 采用的不断增长,其他研究途径(例如减少证明大小、提供高级密码学云服务以及使用专用硬件)也值得探索。

网络之间的互操作性也仍处于萌芽阶段。

底线

尽管挑战依然存在,但 zkEVM 的进展揭示了一个未来,即使是大规模的去中心化应用程序也可以通过智能合约保持私密性、低成本和完全信任——这些目标在几年前似乎是不可想象的。

目前,早期的例子证明了这个概念的有效性。

明天等待着它们广泛、用户友好的现实。

如果您想了解有关区块链技术支持的独特计算用例的更多信息,请查看我们关于去中心化物理基础设施网络 (DePIN) 的文章。

热点:智能合约 斯科特

« 上一条| 下一条 »
区块链交流群
数藏交流群

合作伙伴

数字财经 兼职信息网 免费电影 二手域名 币圈交流群 玩合约 周公解梦 皮卡丘资讯 币爸爸 數字黃金 茶百科 元宇宙Web 宝宝起名 币圈论坛 培训资讯网 佩佩蛙官网 百悦米 起名取名网 去玩呗SPA 金色币圈 秒懂域名 装修装饰网 天天财富 聚币网 妈妈知道 趣玩币 代特币圈 黄金行情 玩票票财经 宠物丫 今日黄金 币圈ICO官网 美白没斑啦 百科书库 谷歌留痕 趣开心资讯 币圈官网 非小号行情 谈股票 借春秋 旅游资讯网 减肥瘦身吧 借春秋财经 爱网站
在区块链世界中,智能合约不仅是代码的信任,更是商业的革命。通过了解其在供应链、版权保护等领域的应用,您将真正体验到智能合约的无限可能性
区块链世界GxPiKaQiu.com ©2020-2024版权所有 桂ICP备16002597号-2