News and Analytics

What is Ethereum Virtual Machine?

Nov 9, 2023
What is Ethereum Virtual Machine?
-6

Ethereum Virtual Machine (EVM) is a virtual machine that is an integral part of the Ethereum blockchain. It is responsible for executing smart contracts, which are self-executing computer programs that are stored on the blockchain.

Content:

What is EVM? - news

How does EVM work?

EVM, or Ethereum Virtual Machine, is a virtual computing space that functions like a decentralized computer. This system processes and executes programs known as smart contracts within the Ethereum network. The EVM serves as a key element for maintaining the operation and security of these contracts in the Ethereum ecosystem.

EVM works like a stack machine, which is a type of computing machine where data is stored in a stack.

Also, this technology provides a set of instructions that determine how calculations occur. Each EVM instruction has its own set of parameters that control what it does.

When EVM receives a new smart contract, it first loads it into its bytecode, which is binary code that represents a sequence of EVM instructions. Then, it begins to execute the bytecode, following the instructions. Each of the 140 EVM instructions performs some action, such as adding data to the stack, removing data from the stack, or performing an arithmetic or logical computation.

When EVM reaches the end of the bytecode, the smart contract is complete.

Ethereum Virtual Machine state

EVM state is a set of data that is stored in the blockchain. EVM state includes the following data:

  • Accounts, which are addresses that can be used to store data or perform transactions.
  • Balances, which are the amount of ETH stored on each account.
  • Data, which can be stored in the blockchain.
  • Smart contract state, which is the state of each smart contract in the blockchain.

EVM uses state to execute smart contracts. For example, when a smart contract performs an ETH transfer operation, it uses state to access the balance of the sender and recipient.

EVM is key to what makes Ethereum unique. Thanks to EVM, Ethereum can support smart contracts that can be used for a wide variety of purposes.

Here are some examples of EVM applications:

Category Examples
Financial applications Decentralized exchanges (DEXs), decentralized finance (DeFi) applications, and payment systems
Real estate Decentralized real estate registries and smart contracts for renting
Healthcare Smart contracts for storing medical records and decentralized research platforms
Games Open-source decentralized games

EVM is still under development, and new EVM applications are being developed all the time. EVM is a powerful virtual machine that is the foundation of the Ethereum blockchain. Thanks to EVM, Ethereum can support smart contracts that can be used for a wide variety of purposes.

Comments

Latest news

Bitcoin Yields as High as 45% on Offer in Pendle's New Pools

Bitcoin Yields as High as 45% on Offer in Pendle's New Pools

The floating yields on the bitcoin-linked LBTC token are from pools that went live on Wednesday. There's also a fixed-yield option of an annualized 10%.
UK Moves to Classify Crypto Assets as Personal Property

UK Moves to Classify Crypto Assets as Personal Property

The UK government has proposed a new bill that could soon classify digital assets as personal property.
Ireland to probe Google’s AI model for data protection compliance

Ireland to probe Google’s AI model for data protection compliance

The DPC’s inquiry into Google’s AI model development explores the handling of EU citizens’ personal data for training PaLM2.
Trader’s acquisition of $1.5M CryptoPunk for $23K raises eyebrows

Trader’s acquisition of $1.5M CryptoPunk for $23K raises eyebrows

A trader acquires a rare Ape-themed CryptoPunk valued at $1.5M for just 10 ETH using a smart contract mechanism that allows a shotgun buyout.
Show more

Latest Dapp Articles

Show more

You may also like