Ethereum Virtual Machine


1. basic

The Ethereum Virtual Machine (EVM) is the runtime environment in which smart contracts execute on the Ethereum blockchain. It's a decentralized virtual machine that handles the internal state and computation of Ethereum.


"Smart contracts written in Solidity are compiled to EVM bytecode and executed on the EVM."

2. technical

The EVM is Turing-complete, meaning it can execute any algorithm given enough resources. It operates on its own unique instruction set, and smart contracts written in high-level languages like Solidity or Vyper are compiled down to EVM bytecode.


"The EVM's Turing-completeness allows developers to write complex smart contracts with loops, conditionals, and other control structures."

3. security

The EVM is designed to be isolated from the network and file system, which makes it a secure environment for running untrusted code. Each smart contract runs in its own isolated environment and can't interact with other contracts unless explicitly programmed to do so.


"The EVM's isolation provides a layer of security, as a bug in one smart contract can't affect others."

4. gas

Every operation on the EVM requires a certain amount of "gas", which is paid in ETH. This mechanism prevents spam on the network and incentivizes miners to include transactions in the blockchain.


"When you execute a smart contract on the EVM, you have to pay gas fees, which are calculated based on the complexity of the operations the contract performs."

* All terms and definitions may update as the Cryptionary improves.