Cointime

Download App
iOS & Android

What Is an Ethereum Virtual Machine (EVM) And Why Do We Need It

Validated Venture

EVM is a Turing completeness machine, which means that it can theoretically process any calculation that can be performed on computers with sufficient computing resources.

EVM uses “gas” (gwei) as payment for smart contract execution, which is included in the transaction cost. The amount of gas required by the user is determined by the complexity of the calculations performed and the current load on the Ethereum blockchain.

The EVM creator

The concept of Ethereum Virtual Machine was outlined in the “Yellow Paper” in 2015 by the co-founder of Ethereum and the technical director of the Ethereum Foundation Gavin Wood.

He also developed the Solidity programming language, which is used to create smart contracts on the Ethereum blockchain. In 2016, Wood left Ethereum to develop a new project — Polkadot.

Why do we need an Ethereum Virtual Machine?

Without a centralized control body, EVM can be represented as a set of distributed computers in the same network that follow the same rules.

Unlike the bitcoin protocol, which is presented as a distributed registry, Ethereum represents a large data structure for which EVM is responsible for processing and modification. Any code written to the Ethereum block is executed independently on tens of thousands of virtual machines.

EWM guarantees that all transactions and smart contracts on the Ethereum blockchain will be carried out in accordance with the smart contract code. It is EVM that serves as a platform for performing operations with tokens on the Ethereum network, such as calling smart contracts, changing address balances, and application states.

Gwei for EVM

Gwei is an internal currency in Ethereum that is used as payment for EVM transactions. 1 gwei equals 0.000000001 ETH. “Gas” in Ethereum is analogous to automobile fuel, with which the user must “fill up” the transfer before proceeding.

The gas limit for each transaction will vary depending on the complexity of the operation and the workload of the Ethereum network. For example, in mid-2021, against the backdrop of the Shiba Inu meme cryptocurrency’s hype demand, the average transaction fee in Ethereum reached $60, the swap on Uniswap cost $135, and the deposit replenishment in Compound cost more than $200. The main reason for this was the high load on the blockchain — a large number of users performed operations with Shiba Inu in parallel.

If the operation proves too complex, the gas limit may not be sufficient, and EVM will stop processing the transaction without writing it to the Ethereum blockchain.

The absence of gas as a payment method for the operation of the EVM could result in infinitely complex calculations that could cause the network to crash due to overload. As a result, gas in Ethereum serves as a safeguard against blockchain intruders and attacks.

Where is EVM used?

Despite the fact that many crypto projects use their own virtual machines, the Ethereum blockchain is not the only platform that uses EVM. Here are some blockchain platforms that make use of Ethereum Foundation developments:

  • Ethereum Classic. A platform for creating and executing smart contracts based on the Proof-of-Work consensus algorithm.
  • VeСhain. A blockchain built on the Proof-of-Authority consensus mechanism.
  • Fantom. A platform for smart contracts using a directed acyclic graph (DAG), fully compatible with EVM.
  • Polygon. A network of protocols and blockchains deployed on top of Ethereum.

EVM-compatible blockchains

The Ethereum virtual machine has a number of drawbacks, including high data storage costs, limited scalability, high gas prices during Ethereum network congestion, and significant programming limitations.

EVM-compatible networks, which use a code execution environment similar to the Ethereum virtual machine but have much cheaper transactions due to special scaling solutions, can act as a solution to these problems. This enables Ethereum ecosystem developers to migrate to more scalable blockchains without having to rewrite smart contracts from scratch.

One group of such solutions is called sidechains (вставить ссылку). They can use a separate blockchain with their own consensus algorithm and block creation parameters, but an EVM-compatible virtual machine. Matic (Polygon PoS), Gnosis Chain, and Loom Network are examples of Ethereum sidechains.

Another option is second — level solutions (Layer 2) based on Rollups technology. The Optimism platform, which employs the Optimistic Rollups protocol, is one example of an L2 project. The EVM controls smart contracts in this blockchain, and the roll-up protocol performs calculations and stores contract status in a separate Optimistic Virtual Machine.

The development of Ethereum Virtual Machine (EVM)

A number of major updates should occur in Ethereum over the next few years, the first of which should be The Merge — the transition of the blockchain to a new Proof-of-Stake consensus algorithm.

In July 2022, Vitalik Buterin presented a phased plan for the development of the Ethereum blockchain. One of these major stages should be the transition from the Ethereum Virtual Machine to the Ethereum WebAssembly virtual machine (eWASM).

  Source: Twitter


Although there is no final and comprehensive documentation for eWASM, the developers highlight its following advantages:

Over the next few years, a number of major updates should take place in Ethereum, the first of which should be The Merge — the transition of the blockchain to a new Proof-of-Stake consensus algorithm.

  • The speed of execution of smart contracts, close to the native;
  • The ability to develop contracts in many popular languages, including C, C++, and Rust;
  • Access to a huge community of developers and Web Assembly tools.
Comments

All Comments

Recommended for you

  • Restate Completes $20 Million Series A Round, Driven by Demand for Persistent Infrastructure from AI Agents

    On September 30, TechCrunch reported that Berlin-based persistent workflow infrastructure company Restate has completed a $20 million Series A funding round, led by Singular, with participation from Redpoint and Capital One Ventures. Its execution engine enables multi-step workflows to withstand crashes and network interruptions, with demand surging due to AI agents operating longer and following more unpredictable paths. Recently, the company has signed multiple six- and seven-figure customer contracts, including with the vibe coding platform Replit. The new funding will be used to build a marketing team, expand engineering, and grow its office in the San Francisco Bay Area, while challenging industry heavyweight Temporal, which was recently valued at $12.55 billion.

  • U.S. Diesel Futures Continue to Rise, Up 4.5% Intraday

    U.S. diesel futures continue to rise, with an intraday increase of 4.5%.

  • U.S. 30-Year Treasury Yield Rises to 5.62%

    The yield on U.S. 30-year Treasury bonds has risen to 5.62%, reaching a new high since 2002.

  • Apple and Google Both Rise Over 3%

    On September 30, Apple and Google, the second and third largest companies by market capitalization in the U.S. stock market, both rose over 3%. Apple's stock price increased by 3.02%, reaching $339.350 per share, with a total market capitalization of $4.95 trillion. Google's Class A stock price rose by 3.3%, reaching $352.185 per share, with a total market capitalization of $4.31 trillion.

  • Synopsys Shares Rise Over 3% After Signing Over $1 Billion Agreement with Amazon

    On September 30, Synopsys (SNPS.US) shares rose over 3%, reaching a high of $429.48. In news, Synopsys has signed a multi-year strategic agreement worth over $1 billion with Amazon, aiming to expand their collaboration in the custom chip sector. Under the agreement, Amazon will further adopt Synopsys' chip IP, EDA, and AI engineering technologies for the development of AWS's self-developed chips and infrastructure; meanwhile, Synopsys will utilize Amazon Web Services and AI tools like Bedrock to accelerate its own product development.

  • Nasdaq Up 1%

    On September 30, the Nasdaq's gains expanded to 1%, while the S&P 500 index is currently up 0.58%.

  • Bridgewater CEO Warns: AI May Trigger Risks of 'Social Disorder'

    On September 30, Bridgewater Associates, one of the world's largest hedge funds, projected that if AI lacks regulation and society fails to prepare for technological changes, artificial intelligence could impact nearly one-fifth of the U.S. labor market. Bridgewater CEO Nir Bar Dea stated in an interview, "We are very optimistic about the positive impacts of AI, but we also recognize that anything capable of profoundly changing the world can also bring serious negative consequences." He added, "Our estimates suggest that AI could affect 18% of the U.S. workforce. Just imagine the scale of social disorder this could trigger."

  • Trump Announces South Korea to Invest $200 Billion in the U.S.

    White House officials: U.S. President Trump announced today that South Korea will invest $200 billion in the United States, and Trump will announce the construction of eight nuclear power plants funded by South Korea.

  • Hyperliquid Co-Founder: On-Chain Financial Differentiation Lies in Self-Custody and Transparency, Not 24/7 Trading

    On September 30, according to The Block, Hyperliquid co-founder Jeff Yan stated during the Korea Blockchain Week that 24/7 trading is not the key differentiator of on-chain venues compared to traditional exchanges. He believes the lasting advantages of on-chain systems lie in self-custody and transparency: users retain control over their own funds, which is particularly crucial when issues arise with counterparties, intermediaries, or custodians. Transparency allows users to theoretically understand everything about the system, a level of trust and neutrality that centralized institutions struggle to provide. He also mentioned that continuous trading still holds value for assets (such as commodities, stocks, and pre-IPO targets) that lack public pricing during traditional exchange closures; he believes the private equity market presents the next significant opportunity for 24/7 trading.

  • ETH Falls Below $2700

    Market data shows that ETH has fallen below $2700, currently priced at $2699.41, with a 24-hour decline of 0.98%. The market is experiencing significant volatility, so please ensure proper risk management.