Ethereum Virtual Machine (EVM)

Solidity is a statically typed programming language designed for developing smart contracts that run on the Ethereum Virtual Machine (EVM).

EVM creates a sandboxed environment that executes smart contracts' bytecode. This means the machine code is completely isolated from the network, filesystem, or process on the host machine. For every instruction implemented on the EVM, a system keeps track of the execution cost.

What is the Ethereum Virtual Machine (EVM)?

Ethereum Virtual Machine (EVM) is a computation engine that acts like a decentralized computer that has millions of executable projects. It acts as the virtual machine which is the bedrock of Ethereum’s entire operating structure. It's considered to be the part of the Ethereum that runs execution and smart contract deployment.

The role of the EVM is to deploy a number of extra functionalities to the Blockchain to ensure users face limited issues on the distributed ledger.

Every Ethereum node runs on the EVM to maintain consensus across the blockchain. The EVM is completely isolated, meaning the code inside the EVM has no access to network, file system or other processes.

Ethereum has two types of accounts: Externally Owned Accounts (EOA) and Contract Accounts, both of which are treated equally under the EVM. Account abstraction tries to reduce this to just one account, meaning both EOAs and Contract Accounts function like each other. EOAs are controlled by private keys, meanwhile contract accounts are stored in the smart contracts, also known as 'smart wallets'.

A contract that is written in the smart-contract coding is converted into something called a 'bytecode'.

Most of the source code for using smart contracts is done using programming language from Solidity, where it's then converted into opcodes for the EVM to interpret. The EVM then uses the operation codes in order to complete certain tasks.

So, the EVM works like a large decentralized or master computer to complete all types of tasks on the blockchain. EVM is one of the biggest projects in the world of cryptocurrencies.

Source

Last updated