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

  • DeFi investment platform Prodigy.Fi completes $5 million seed round of financing, led by Quantstamp and Republic

    DeFi investment platform Prodigy.Fi announced the completion of a $5 million seed round of funding, with Quantstamp and Republic leading the investment, and Arbelos Markets, RSK Capital, and Samara Alpha Management participating. The new funds are intended to support the platform's ability to buy or sell packaged cryptocurrencies such as Wrapped Ethereum (WETH) based on Berachain.

  • Solana restaking protocol Fragmetric completes $7 million seed round

     Solana's re-staking protocol, Fragmetric, has completed a $7 million seed round of financing. Finality Capital Partners and Hashed jointly led the investment, with Hypersphere, Presto Labs, Bitscale Capital, Halo Capital, and Flowdesk also participating. The new funds aim to enhance the security and economic growth of the Solana ecosystem by establishing a re-staking ecosystem through standardized LRT and community contributions.

  • Lightchain AI announces testnet launch and completes $15 million in financing

    blockchain project Lightchain AI has announced the official launch of its testnet and has completed a $15 million financing round. The project's main technological innovations include the Proof of Intelligence (PoI) consensus mechanism and the AI Virtual Machine (AIVM). The PoI consensus mechanism is achieved by rewarding nodes to solve AI computing problems, while the AIVM provides developers with a toolkit to build AI applications on the blockchain. The project is currently in the final round of presale, and the funds raised will be used for technology development, infrastructure expansion, and talent recruitment. Lightchain AI plans to launch its mainnet in 2025 and will focus on developing enterprise-level decentralized AI solutions in the future.

  • Over 64.5404 million USD was liquidated in the past hour, mainly due to long orders

    According to data, in the past hour, the total liquidation amount of the entire network reached 64.5404 million US dollars, of which the liquidation amount of long positions was about 63.1007 million US dollars, and the liquidation amount of short positions was about 2.2016 million US dollars.

  • Are we finally ready for a gas limit increase?

    There has been growing discussion around the possibility of increasing Ethereum’s gas throughput, either by raising the gas limit or reducing slot time. The key argument in favor of this is that the hardware requirements for running a validator have steadily decreased over the past four years.

  • Cointime August 17th News Express

    1.VanEck and 21Shares Solana ETF Form 19b-4 Suspected to be Removed from CBOE Website

  • Ethereum network gas fee falls back below 1 gwei

    According to Etherscan data, the current Ethereum network gas fee has fallen below 1 gwei, currently at 0.937 gwei.

  • Cointime August 10th News Express

    1. The U.S. Internal Revenue Service has released a new draft of the crypto tax form, which no longer requires filling in wallet addresses and transaction IDs

  • Ethereum ACDC #139: Pectra's Devnet 2 upgrade is under debugging, and the release date of Devnet 3 is still to be determined

    Christine Kim, Vice President of Galaxy Research, summarized the main content of the 139th ACDC conference call. The debugging of Pectra's upgraded Devnet 2 is currently underway, and the release date of Devnet 3 is yet to be determined. Developers will hold weekly testing update meetings starting from Monday to better coordinate the release of Pectra's Devnet. The decision to include EIP-7688 in Pectra's upgrade has been postponed again.

  • Ethereum network gas fee drops to 1 gwei

    According to Ether­scan data, the current gas fee on the Ethereum network has dropped to 1 gwei.