EVM
The EVM (Ethereum Virtual Machine) is the computation engine at the heart of Ethereum: a virtual computer that every node runs identically, executing smart contract code so that all participants compute the exact same results and stay in agreement about the chain's state. When you interact with a contract, your transaction is processed by the EVM step by step, each operation costing a defined amount of gas, and every node replays it to verify the outcome.
Developers rarely write EVM instructions directly; they write in higher-level languages like Solidity, which compile down to EVM bytecode deployed on-chain. The EVM's design — deterministic, sandboxed, and metered by gas — ensures a contract cannot access the outside world, run forever, or behave differently on different machines. For example, when you swap tokens on a decentralized exchange, the EVM executes the exchange contract's bytecode: checking balances, computing the price, and updating storage, identically on thousands of nodes.
The EVM's larger significance is as a standard. Dozens of other blockchains and layer-2 networks — Polygon, BNB Chain, Arbitrum, Optimism, Avalanche's C-Chain, and many more — are "EVM-compatible," meaning Ethereum contracts and tools like MetaMask work on them with little or no modification, which created enormous network effects for the ecosystem. A common misconception is that the EVM is a single server somewhere; it is a specification that thousands of independent machines each implement locally, and its consistency across them is precisely what makes Ethereum trustworthy.
Related terms