Ethereum developer barry has announced new progress on zkEVM private smart contracts: it supports private user states but does not have private global states.

ETH-0,45%
UNI-0,94%

Jinse Finance reports that Ethereum developer barryWhiteHat stated that with the commercialization of the zk-SNARKs 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 using a specific version of the Solidity compiler or some post-processing tools to create private smart contracts. There are some important trade-offs surrounding private global state and privacy, primarily because: to prove something, one must know what they are proving. Therefore, there cannot exist such a private smart contract - one that has a global public state that you are not aware of. It follows that there cannot exist a private smart contract with a global private state. For example, applications like Uniswap cannot be implemented in a private manner because the prover needs to know the balances of the two liquidity pools in order to prove that a swap transaction is executed correctly. Therefore, some applications that we are familiar with and favor cannot currently be implemented in a private form unless we have input-output (IO) functionality — this is precisely why IO is critical. It allows us to build a completely private Ethereum, and its trust assumptions are entirely consistent with those of native Ethereum. However, this article aims to explore how to implement a private smart contract by adding the two opcodes pstore and pload in reth and compiling it into the zk-SNARKs Virtual Machine, which has a private user state but does not have a private global state.

Disclaimer: The information on this page may come from third parties and does not represent the views or opinions of Gate. The content displayed on this page is for reference only and does not constitute any financial, investment, or legal advice. Gate does not guarantee the accuracy or completeness of the information and shall not be liable for any losses arising from the use of this information. Virtual asset investments carry high risks and are subject to significant price volatility. You may lose all of your invested principal. Please fully understand the relevant risks and make prudent decisions based on your own financial situation and risk tolerance. For details, please refer to Disclaimer.

Related Articles

Aave Proposes 25,000 ETH for DeFi United Kelp DAO Relief

Aave service providers put forth a governance proposal on Friday that would contribute 25,000 ETH worth nearly $58 million from the protocol's DAO to DeFi United, a coordinated relief effort to restore backing for rsETH following last week's Kelp DAO exploit. The proposed contribution would

CryptoFrontier1h ago

OpenSea CMO Adam Hollander Buys uPEG, Ethereum Token Surges Over 300%

Gate News message, April 25 — OpenSea CMO Adam Hollander purchased a small amount of uPEG, an Ethereum-based token, this evening, stating he was "simply interested in the concept and wanted to experiment." The purchase triggered a sharp rally, with uPEG surging over 300% in a short

GateNews3h ago

Ethereum Foundation Sells 10,000 ETH to Bitmine for Nearly $24 Million

Gate News message, April 25 — The Ethereum Foundation sold 10,000 ether to Bitmine Immersion Technologies on Friday, finalizing an over-the-counter deal at an average price of $2,387 per ETH, totaling approximately $23.87 million. The sale will fund the EF's core operations and activities, including

GateNews4h ago

GSR Debuts BESO ETF With Bitcoin, Ethereum, Solana

GSR debuts BESO ETF with active strategy, adjusting Bitcoin, Ether, and Solana allocations weekly to outperform benchmarks. ETF records nearly $5M in first-day volume, signaling early investor interest in diversified crypto investment products. Launch aligns with growing ETF momentum as

CryptoFrontNews4h ago

Fluent Ethereum Layer 2 Mainnet Launches with BLEND Token and $50M Day-One Liquidity

Gate News message, April 25 — Fluent, an Ethereum-based Layer 2 network, activated its mainnet and launched its native BLEND token on Friday, April 25, bringing online a "blended execution" environment that enables applications written for different virtual machines to operate within the same

GateNews6h ago

ETH Liquidation Cascade: $761M in Short Positions at Risk Above $2,424

Gate News message, April 25 — According to Coinglass data, if Ethereum (ETH) breaks above $2,424, cumulative short position liquidations across major CEXs could reach $761 million. Conversely, if ETH falls below $2,211, cumulative long position liquidations across major CEXs could reach $689 millio

GateNews7h ago
Comment
0/400
No comments