Skip to main content
DFR Publication
Donate
← DeFi glossary

Glossary · E

EVM (Ethereum Virtual Machine)

Key takeaway

The runtime environment that executes smart contracts on Ethereum and all EVM-compatible chains. The EVM defines the instruction set and execution model for Ethereum smart contracts written in Solidity or Vyper. 'EVM-compatible' chains (Arbitrum, Optimism, Base, BNB Chain, Polygon, Avalanche, Sonic) can run unmodified Ethereum smart contracts, enabling protocol deployment across multiple chains without rewriting code.

Last updated

How EVM works in practice

The EVM is the runtime that executes smart contracts. Because many chains implement it, a contract written for one EVM chain generally runs on any other, which is why the EVM became the sector's default compatibility layer.

Worked example

A protocol deploys the same contracts to several EVM chains with only configuration changes. Users get the same interface everywhere; the developers maintain one codebase.

Figures are illustrative and chosen to be checkable, not live market data.

The mistake that costs people money

EVM-compatible does not mean identical. Gas costs, block times, precompiles and finality differ between chains, and a contract that is safe under one set of assumptions may not be under another.

EVM: common questions

What is EVM?
The runtime environment that executes smart contracts on Ethereum and all EVM-compatible chains. The EVM defines the instruction set and execution model for Ethereum smart contracts written in Solidity or Vyper. 'EVM-compatible' chains (Arbitrum, Optimism, Base, BNB Chain, Polygon, Avalanche, Sonic) can run unmodified Ethereum smart contracts, enabling protocol deployment across multiple chains without rewriting code.
Which DeFi concepts are most closely linked to EVM?
EVM is closely connected to zkEVM, Smart Contract, Layer 2 (L2). Understanding how these concepts interact helps evaluate real yield, execution costs and smart-contract risk in decentralised finance.
What is the main risk or misconception around EVM?
EVM-compatible does not mean identical.
Which guide covers EVM in practice?
Read "How to Bridge Cross-Chain with Stargate" for full context on how EVM affects real DeFi workflows, costs and risk management.

Related DeFi glossary terms

  • zkEVM A zero-knowledge rollup that is Ethereum Virtual Machine compatible — able to execute and prove Ethereum smart contracts using zero-knowledge proofs. zkEVMs combine the EVM's smart contract compatibility with zkRollup security and efficiency. Building a zkEVM is technically more complex than an optimistic rollup, but eliminates the 7-day challenge period, enabling faster withdrawals to Ethereum mainnet. Polygon zkEVM, zkSync Era, Scroll, and Linea are the leading zkEVM implementations.
  • Smart Contract Self-executing code stored on a blockchain that automatically carries out the terms of an agreement when predefined conditions are met. Smart contracts are the foundation of DeFi — they automate lending, trading, yield generation, and governance without human intermediaries. Once deployed, smart contract code cannot be altered (unless the contract has explicit upgrade mechanisms).
  • Layer 2 (L2) A secondary network built on top of a Layer 1 blockchain that processes transactions off the main chain and posts compressed proofs back to L1. L2 networks offer dramatically lower fees and higher speed. Major Ethereum L2s include Arbitrum, Optimism, Base, and zkSync.
  • Ethereum The second-largest cryptocurrency by market capitalisation and the dominant blockchain for DeFi. Ethereum's programmability (via smart contracts) enabled the creation of DeFi applications. Ethereum transitioned from Proof of Work to Proof of Stake in September 2022 ('The Merge'), reducing energy consumption by ~99.95%.
  • Optimistic Rollup A Layer 2 scaling solution that processes transactions off Ethereum mainnet and posts compressed transaction data as calldata or blobs to Ethereum. Unlike zkRollups, optimistic rollups assume transactions are valid by default ('optimistically') and rely on fraud proofs — any validator can challenge an invalid transaction within a 7-day challenge window. Arbitrum One and Optimism are the leading optimistic rollups. Post-Pectra, their blob fees have fallen significantly.
  • Protocol In DeFi, a protocol is a set of smart contracts deployed on a blockchain that provides a specific financial service — lending, trading, yield generation, etc. Examples: Aave (lending protocol), Uniswap (trading protocol), Lido (liquid staking protocol). The term is often used interchangeably with 'platform' or 'application'.