Ethereum Virtual Machine

EVM

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.

1.1

"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.

2.1

"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.

3.1

"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.

4.1

"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.