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
The Ethereum Foundation has less than 500 ETH left to reach the staking milestone of 70,000 ETH
The Ethereum Foundation has staked over 45,000 Ether recently, bringing the total to about 69,500 ETH, just shy of their 70,000 ETH goal. This move aims to enhance financial sustainability and support crucial applications while managing staking risks during potential hard forks.
TapChiBitcoin29m ago
The Ethereum Foundation expands staking, reducing ETH sell pressure through passive income
The Ethereum Foundation recently increased its staked Ether holdings to 47,050 ETH, worth about $96.6 million. The move is intended to generate steady returns through staking and reduce market sell pressure, addressing community concerns about potential Ether sell-offs. The Foundation’s adjustments to its financial strategy help strengthen network security and show its commitment to supporting the long-term development of decentralized technology.
ChainNewsAbmedia52m ago
Mysterious Whale Linked to Erik Voorhees Continues ETH Accumulation with Additional $887.9K Purchase
Gate News message, according to Lookonchain, the mysterious whale linked to Erik Voorhees, who previously bought 122,355 ETH ($264.37M), spent another 887.9K USDT to buy 431.8 ETH 5 hours ago. This follows an earlier purchase of 396.7 ETH for 818.7K USDT reported by the same source.
GateNews3h ago
Ethereum Foundation nearly reaches 70,000 staked ETH goal
The Ethereum Foundation staked over 45,000 ETH recently, nearing its goal of 70,000. This strategy aims to generate funds for development and address community concerns over treasury management. Concerns about centralization and hard forks are also noted.
Cointelegraph5h ago
Ethereum Foundation quietly completes its $143M ETH staking mission
The Ethereum Foundation has completed its 70,000 ETH staking mission, depositing approximately 45,000 ETH worth around $93 million in a single on-chain session on April 3
Summary
The Ethereum Foundation deposited approximately 45,000 ETH in a single session on April 3, completing the 70,000 ETH
Cryptonews9h ago