Bitget App
Trade smarter
Buy cryptoMarketsTradeFuturesEarnWeb3SquareMore
Trade
Spot
Buy and sell crypto with ease
Margin
Amplify your capital and maximize fund efficiency
Onchain
Going Onchain, without going Onchain!
Convert & block trade
Convert crypto with one click and zero fees
Explore
Launchhub
Gain the edge early and start winning
Copy
Copy elite trader with one click
Bots
Simple, fast, and reliable AI trading bot
Trade
USDT-M Futures
Futures settled in USDT
USDC-M Futures
Futures settled in USDC
Coin-M Futures
Futures settled in cryptocurrencies
Explore
Futures guide
A beginner-to-advanced journey in futures trading
Futures promotions
Generous rewards await
Overview
A variety of products to grow your assets
Simple Earn
Deposit and withdraw anytime to earn flexible returns with zero risk
On-chain Earn
Earn profits daily without risking principal
Structured Earn
Robust financial innovation to navigate market swings
VIP and Wealth Management
Premium services for smart wealth management
Loans
Flexible borrowing with high fund security
Ethereum developer Barry announces new progress on zkEVM private smart contracts: supports private user states, but does not support private global states.

Ethereum developer Barry announces new progress on zkEVM private smart contracts: supports private user states, but does not support private global states.

金色财经金色财经2025/10/22 03:48
Show original

Jinse Finance reported that Ethereum developer barryWhiteHat stated that with the commercialization of zero-knowledge proof virtual machines (zkEVM), an interesting opportunity has emerged: providing 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, the core reason being: to prove something, you must know what you are proving. Therefore, it is impossible to have a private smart contract with a global public state that you are unaware of. Consequently, it is also impossible to have a private smart contract with a global private state. For example, applications like Uniswap cannot be implemented in a private form because the prover needs to know the balances of both pools to prove that a swap (transaction) has been executed correctly. Therefore, some applications we are familiar with and favor cannot currently be implemented privately unless we have input/output (IO) functionality—which is precisely why IO is so crucial. It allows us to build a fully private Ethereum with trust assumptions identical to native Ethereum. However, this article aims to explore how to achieve a type of private smart contract—one that has private user state but does not possess private global state—by adding the pstore and pload opcodes in reth and compiling them into the zero-knowledge proof virtual machine (zkEVM).

0

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.

PoolX: Earn new token airdrops
Lock your assets and earn 10%+ APR
Lock now!