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
Glassnode reports $14.2 billion stablecoin drop, $1.6 billion Bitcoin ETF outflow

CoreWeave's surge gives AI cloud a breather, now all eyes are on the Anthropic IPO and Nvidia
CoreWeave’s Q3 revenue and guidance both exceeded expectations, with its stock price surging 25% in a single day and the new cloud sector soaring over 12%. Reports of Anthropic’s potential $1.5 trillion IPO valuation, OpenAI’s quarterly revenue surpassing $10 billion for the first time, and these three positive catalysts together have boosted confidence in the AI computing power industry chain, which was previously troubled by doubts about AI returns. Next week’s Nvidia earnings report and Anthropic’s IPO will be the true test of whether this rally can continue.

AI Computing Power and Semiconductors Stage a Strong Rebound—Why Is Wall Street Cautious About U.S. Stocks? Key Indicators Reveal the Bottom Hasn't Been Reached
The sharp volatility in the US stock market has prompted investors to carefully analyze various data to determine whether the sell-off has ended. Early indicators suggest that it may be too soon to declare that the market has resumed its normal upward trajectory.

Nvidia (NVDA.US) Governance Crisis Escalates: Jensen Huang Exposed for Another Affair, Board Considers Dismissal, and Wall Street Begins Pricing in a “No Jensen” Scenario
The world's most valuable semiconductor company is experiencing the most severe corporate governance crisis since its establishment.
