Ethereum developer Barry released new progress on zkEVM private smart contracts: support for private user state, but not private global state
Ethereum developer barryWhiteHat wrote that with the commercialization of zero-knowledge proof virtual machine (zkEVM), an interesting opportunity has emerged: it can provide private smart contract infrastructure while maintaining compatibility with the Ethereum Virtual Machine (EVM). Developers can write Solidity code and compile it through a specific version of the Solidity compiler or some post-processing tools to create private smart contracts.
There are some important trade-offs around private global state and privacy, the core reason being: to prove something, you must know what you are proving. Therefore, a private smart contract cannot exist that has a global public state that you are not aware of. Consequently, private smart contracts with global private state cannot exist either. For example, applications like Uniswap cannot be implemented in a private form because the prover needs to know the balances of two liquidity pools to prove that a swap transaction is executed correctly.
Therefore, some well-known and favored applications cannot currently be implemented in a private form unless we have input-output (IO) capabilities - this is exactly why IO is crucial. It allows us to build a completely private Ethereum, with its trust assumptions identical to native Ethereum.
However, this article aims to explore how to compile pstore and pload operations into the zero-knowledge proof virtual machine (zkEVM) by adding them to reth, in order to achieve a private smart contract - these contracts have private user states but do not have private global states.
Disclaimer: The content of this article solely reflects the author's opinion and does not represent the platform in any capacity. This article is not intended to serve as a reference for making investment decisions.
You may also like
BNB Chain Secures $50M Investment from YZi, Announces Partnership with BPN
Collaboration Aims to Develop Multi-Stablecoin Liquidity-Powered Global Settlement Layer

NEAR Community Decides to Slash Inflation and Reduce Emissions by Half
Near Protocol Validators Require 80% Approval for Proposed Annual Inflation Reduction, with Decision Expected by October 2025

Mars Morning News | Bitcoin falls below $109,000, Ethereum loses $3,900 support, market remains in "hell difficulty" mode
The overall crypto market is experiencing a decline, with significant price drops in bitcoin and ethereum. Altcoins are leading the downward trend, and the total liquidation amount across the network is substantial. Large investors are adjusting their positions to cope with the volatility. Summary generated by Mars AI This summary is produced by the Mars AI model, and the accuracy and completeness of its content are still being iteratively updated.

If You Can't Beat Them, Join Them? "US Sports Betting Giant" Draftking Acquires Licensed Exchange, Joins the "Prediction Market" Battle
DraftKings has acquired the CFTC-licensed Railbird exchange, entering the prediction market sector to counter competitive threats, resulting in an 8.3% increase in its stock price. This move expands its business into states where traditional gambling is prohibited, but also faces regulatory challenges. Summary generated by Mars AI. The accuracy and completeness of this summary are still being iteratively updated by the Mars AI model.

Trending news
MoreCrypto prices
More








