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

  • Cointime's Evening Highlights for May 24th

    1. CryptoPunks Launches “Super Punk World” Digital Avatar Series

  • An address mistakenly transferred about $7,000 in BTC to Satoshi Nakamoto’s wallet

    According to Arkham monitoring, someone accidentally sent 90% of their BTC assets to Satoshi Nakamoto's wallet address last night. They were trying to swap Ordinal for PupsToken, but ended up sending almost their entire wallet balance - about $7,000 worth of BTC.

  • USDC circulation increased by 200 million in the past 7 days

    According to official data, within the 7 days ending on May 16th, Circle issued 1.8 billion USDC, redeemed 1.6 billion USDC, and the circulation increased by 200 million. The total circulation of USDC is 33.2 billion US dollars, and the reserve is 33.4 billion US dollars, of which 3.8 billion US dollars are in cash, and Circle Reserve Fund holds 29.6 billion US dollars.

  • Bitcoin mining company Phoenix Group released its Q1 financial report: net profit of US$66.2 million, a year-on-year increase of 166%

    Phoenix Group, a listed mining company and blockchain technology provider for Bitcoin, released its Q1 financial report, with the following main points:

  • Pudgy Penguins and Lotte strategically cooperate to expand into the Korean market, and the floor price rose by 3.1% on the 7th

    The NFT series "Pudgy Penguins" has recently announced a strategic partnership with South Korean retail and entertainment giant Lotte Group on the X platform to expand its market in South Korea and surrounding areas. More information will be announced in the future. According to CoinGecko data, the floor price of Pudgy Penguins is currently 11.8 ETH, with a 7-day increase of 3.1%.

  • CryptoPunks Launches “Super Punk World” Digital Avatar Series

    Blue-chip NFT project CryptoPunks announced the launch of "Super Punk World" on X platform, which is the project's first release of 500 digital avatars inspired by the iconic CryptoPunks features and combined with Super Cool World attributes. It is reported that the series may launch auctions in the future, and more details about the collection and auction of this series will be announced soon.

  • Core Foundation launches $5 million innovation fund

    CoreDAO announced in a post on X platform that the Core Foundation has launched a $5 million innovation fund. The fund is currently mainly targeting the Indian market and has established strategic partnerships with the Indian Institute of Technology Bombay and some top venture capital companies to support the development of innovative blockchain projects in the country. At present, the fund has opened project funding applications.

  • Drift Foundation: The governance mechanism is gradually being improved, and DRIFT is one of the components

    The Drift Foundation stated on the X platform that the DRIFT token is a component of governance and a key element in empowering the community to shape the future. The governance mechanism is gradually improving, and more information will be announced soon.

  • U.S. Department of Justice: Two Chinese nationals arrested for allegedly defrauding at least $73 million through cryptocurrency investments

    According to the official website of the United States Department of Justice, a complaint from the central region of California was made public yesterday, accusing two Chinese nationals of playing a major role in a money laundering scheme involving cryptocurrency investment fraud.Daren Li, 41 years old, is a dual citizen of China and St. Kitts and Nevis, and is also a resident of China, Cambodia, and the United Arab Emirates. He was arrested on April 12th at Hartsfield-Jackson Atlanta International Airport and later transferred to the central region of California. Yicheng Zhang, 38 years old, is a Chinese national currently residing in Temple City, California. He was arrested yesterday in Los Angeles. Today, they are accused of leading a money laundering scheme related to an international cryptocurrency investment scam, involving at least $73 million. These arrests were made possible thanks to the assistance of our international and US partners, demonstrating the Department of Justice's commitment to continuing to combat the entire cybercrime ecosystem and prevent fraud in various financial markets.

  • The 133rd Ethereum ACDC meeting: The goal is to complete the devnet within 7-10 days

    The Ethereum developers held their 133rd ACDC conference call. First, they outlined the latest research on Ethereum protocol confirmation rules. Then, they discussed Pectra updates related to EIP-7547 and CFI states, and decided to put them on hold temporarily. They also updated the v1.5.0-alpha.1 specification. Regarding the implementation updates for devnet-0, most teams are making progress, but there are also some unexpected complexities. The goal is to complete devnet within 7-10 days.