Coins: 18,024
Exchanges: 1,481
Market Cap: $2.503T 0.6%
24h Vol: $98.181B
Gas: 0.043 GWEI
Premium
Glossary
TABLE OF CONTENTS

What Is the Ethereum Virtual Machine (EVM), Why It Matters and How Its Used in Other Blockchains

4.5
| by
CoinGecko
|
Edited by
Loke Choon Khei
-

What Is the Ethereum Virtual Machine?

The Ethereum Virtual Machine (EVM) is a decentralized computation engine that executes smart contracts on the Ethereum network. It serves as the runtime environment for developers to deploy their smart contracts and decentralized applications (dApps). A helpful analogy to understand this is that the EVM is the operating system (OS) governing smart contracts on the Ethereum blockchain, much like how Windows is the OS governing most computer applications.

The EVM operates as a virtual central processing unit (CPU) on thousands of independent nodes, ensuring all codes run securely and consistently without central control. While the EVM is native to the Ethereum network, it is compatible with other blockchains including Binance Smart Chain, Polygon, and Avalanche.

How Does Ethereum Virtual Machine Work?

Here's a detailed overview of how the Ethereum Virtual Machine operates.

1. State Machine

The EVM operates as a computation engine that changes across states. This implies that when a transaction is sent to a smart contract, the EVM processes the transaction and may change Ethereum’s global state to reflect the transaction outcome. 

For clarity, the state is a comprehensive data structure that tracks information about all accounts, balances, smart contracts, and their storage across the entire network.

2. Smart Contracts

When a smart contract is deployed on Ethereum, it is compiled into bytecode and stored on the blockchain. The EVM executes this bytecode when triggered by transactions from users or other contracts.

3. Gas System

Each operation in the EVM consumes a certain amount of gas (a unit that measures computational effort). Users pay for gas in Ether, which helps prevent excessive resource usage and network spam.

4. Turing Complete

The EVM can perform any type of computation within the gas limit, making it a flexible and programmable environment where developers can build decentralized applications.

5. Decentralized Execution

The EVM runs the same code on every participating node in the Ethereum network, ensuring all nodes reach the same result to maintain consensus. This decentralization makes Ethereum a trustless and secure platform for executing smart contracts.

Key Features of Ethereum Virtual Machine 

The EVM has several key features that make it integral to the Ethereum network, and they include;

1. Decentralization

The EVM operates on a global network of Ethereum nodes, ensuring that no single entity controls or can alter its operations. This decentralization is crucial for trust and censorship resistance.

2. Smart Contract Execution

The EVM is designed to execute smart contracts. Once deployed, these contracts are immutable, providing transparency and reliability.

3. Turing Completeness

The EVM is Turing-complete, meaning it can execute any algorithm or computational task. This feature allows developers to create complex applications with diverse functionality.

4. Isolation and Security

Each contract runs in an isolated “sandbox” environment. This isolation enhances security by preventing potential bugs or malicious code in a single contract from affecting the broader network.

5. Stack-Based Architecture

The EVM uses a stack-based execution model that makes operations efficient and manageable within a resource-constrained environment. 

6. Interoperability

The EVM is compatible with other blockchains like Polygon, Avalanche, and Arbitrum. This interoperability enables developers to deploy applications on multiple networks with minimal design changes.

CoinGecko's Content Editorial Guidelines
CoinGecko’s content aims to demystify the crypto industry. While certain posts you see may be sponsored, we strive to uphold the highest standards of editorial quality and integrity, and do not publish any content that has not been vetted by our editors.
Learn more
Want to be the first to know about upcoming airdrops?
Subscribe to the CoinGecko Daily Newsletter!
Join 600,000+ crypto enthusiasts, traders, and degens in getting the latest crypto news, articles, videos, and reports by subscribing to our FREE newsletter.
Tell us how much you like this article!
Vote count: 4
CoinGecko
CoinGecko
CoinGecko's editorial team comprises writers, editors, research analysts and cryptocurrency industry experts. We produce and update our articles regularly to provide the most complete, accurate and helpful information on all things cryptocurrencies. Follow the author on Twitter @coingecko

Related Articles

Select Currency
Suggested Currencies
USD
US Dollar
IDR
Indonesian Rupiah
TWD
New Taiwan Dollar
EUR
Euro
KRW
South Korean Won
JPY
Japanese Yen
RUB
Russian Ruble
CNY
Chinese Yuan
Fiat Currencies
AED
United Arab Emirates Dirham
ARS
Argentine Peso
AUD
Australian Dollar
BDT
Bangladeshi Taka
BHD
Bahraini Dinar
BMD
Bermudian Dollar
BRL
Brazil Real
CAD
Canadian Dollar
CHF
Swiss Franc
CLP
Chilean Peso
CZK
Czech Koruna
DKK
Danish Krone
GBP
British Pound Sterling
GEL
Georgian Lari
HKD
Hong Kong Dollar
HUF
Hungarian Forint
ILS
Israeli New Shekel
INR
Indian Rupee
KWD
Kuwaiti Dinar
LKR
Sri Lankan Rupee
MMK
Burmese Kyat
MXN
Mexican Peso
MYR
Malaysian Ringgit
NGN
Nigerian Naira
NOK
Norwegian Krone
NZD
New Zealand Dollar
PHP
Philippine Peso
PKR
Pakistani Rupee
PLN
Polish Zloty
SAR
Saudi Riyal
SEK
Swedish Krona
SGD
Singapore Dollar
THB
Thai Baht
TRY
Turkish Lira
UAH
Ukrainian hryvnia
VEF
Venezuelan bolívar fuerte
VND
Vietnamese đồng
ZAR
South African Rand
XDR
IMF Special Drawing Rights
Cryptocurrencies
BTC
Bitcoin
ETH
Ether
LTC
Litecoin
BCH
Bitcoin Cash
BNB
Binance Coin
EOS
EOS
XRP
XRP
XLM
Lumens
LINK
Chainlink
DOT
Polkadot
YFI
Yearn.finance
SOL
Solana
Bitcoin Units
BITS
Bits
SATS
Satoshi
Commodities
XAG
Silver - Troy Ounce
XAU
Gold - Troy Ounce
Select Language
Popular Languages
EN
English
RU
Русский
DE
Deutsch
PL
język polski
ES
Español
VI
Tiếng việt
FR
Français
PT-BR
Português
All Languages
AR
العربية
BG
български
CS
čeština
DA
dansk
EL
Ελληνικά
FI
suomen kieli
HE
עִבְרִית
HI
हिंदी
HR
hrvatski
HU
Magyar nyelv
ID
Bahasa Indonesia
IT
Italiano
JA
日本語
KO
한국어
LT
lietuvių kalba
NL
Nederlands
NO
norsk
RO
Limba română
SK
slovenský jazyk
SL
slovenski jezik
SV
Svenska
TH
ภาษาไทย
TR
Türkçe
UK
украї́нська мо́ва
ZH
简体中文
ZH-TW
繁體中文
Welcome to CoinGecko
Welcome back!
Login or Sign up in seconds
or
Sign in with . Not you?
Forgot your password?
Didn't receive confirmation instructions?
Resend confirmation instructions
Password must contain at least 8 characters including 1 uppercase letter, 1 lowercase letter, 1 number, and 1 special character
By continuing, you acknowledge that you've read and agree fully to our Terms of Service and Privacy Policy.
Get Price Alerts with CoinGecko App
Forgot your password?
You will receive an email with instructions on how to reset your password in a few minutes.
Resend confirmation instructions
You will receive an email with instructions for how to confirm your email address in a few minutes.
Get the CoinGecko app.
Scan this QR code to download the app now App QR Code Or check it out in the app stores
Add NFT
CoinGecko
Better on the app
Real-time price alerts and a faster, smoother experience.
You’ve reached the limit.
Guest portfolios are limited to 10 coins. Sign up or log in to keep the coins listed below.