Ethereum

Ethereum is an open-source blockchain platform that enables developers to build and deploy smart contracts and decentralized applications (dApps).

Ethereum is a decentralized, open-source blockchain platform that enables the creation and execution of smart contracts and decentralized applications (dApps). Unlike Bitcoin, which primarily functions as a digital currency, Ethereum was designed with programmability at its core. It utilizes a distributed ledger technology where transactions are recorded and verified across a network of computers, making it resistant to censorship and single points of failure. The native cryptocurrency of the Ethereum network is Ether (ETH), which is used to pay for transaction fees (gas) and computational services on the network. At the heart of Ethereum's programmability lies the Ethereum Virtual Machine (EVM), a Turing-complete virtual machine that executes smart contract code. Developers can write smart contracts in high-level programming languages like Solidity or Vyper, which are then compiled into bytecode that the EVM can understand and execute. This allows for the creation of a vast array of dApps, ranging from decentralized finance (DeFi) protocols and non-fungible token (NFT) marketplaces to decentralized autonomous organizations (DAOs) and gaming platforms. Ethereum has undergone significant upgrades, most notably the transition from Proof-of-Work (PoW) to Proof-of-Stake (PoS) consensus mechanisms with 'The Merge', aimed at improving scalability, security, and sustainability.

        graph LR
  Center["Ethereum"]:::main
  Pre_cryptography["cryptography"]:::pre --> Center
  click Pre_cryptography "/terms/cryptography"
  Rel_non_fungible_tokens_nfts["non-fungible-tokens-nfts"]:::related -.-> Center
  click Rel_non_fungible_tokens_nfts "/terms/non-fungible-tokens-nfts"
  Rel_smart_contracts["smart-contracts"]:::related -.-> Center
  click Rel_smart_contracts "/terms/smart-contracts"
  Rel_erc_20["erc-20"]:::related -.-> Center
  click Rel_erc_20 "/terms/erc-20"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧒 Explain Like I'm 5

🌍 Imagine a giant computer that belongs to everyone and no one at the same time. Instead of just sending money (like [Bitcoin](/en/terms/bitcoin)), you can also run programs on it—like a vending machine that works without a human owner. That computer is Ethereum.

🤓 Expert Deep Dive

## Technical Analysis of "Ethereum" for Senior Engineer

This analysis delves into the technical underpinnings of Ethereum, focusing on nuances critical for senior engineering comprehension.

### 1. Missing Technical Nuances:

Ethereum's EVM architecture is stack-based, contrasting with register-based systems. Its execution relies on opcodes (e.g., ADD, SLOAD) with specific gas costs. The gas mechanism involves a gas limit (maximum expenditure) and gas price (cost per unit). EIP-1559 significantly altered this by introducing a base fee and priority fee, improving predictability.

Smart contract execution involves compiling high-level code into EVM bytecode. Contracts interact with and modify blockchain state (storage slots, balances) deterministically. Vulnerabilities like reentrancy attacks exploit this execution model.

The Proof-of-Stake consensus replaces mining with validators who stake ETH. Malicious behavior incurs slashing (loss of stake). Block production is structured by epochs and slots, coordinated by the Beacon Chain.

Current transaction throughput limitations necessitate Layer 2 scaling solutions like Optimistic Rollups and ZK-Rollups, which offload computation. Future sharding aims for parallel processing. Fundamental ERC standards (e.g., ERC-20, ERC-721) enable tokenization and interoperability. Decentralization is reinforced by node diversity and protocol upgrades driven by EIPs and core developer consensus, rather than solely DAOs.

### 2. Areas Where ELI5 Analogy Can Be Improved:

To enhance relatability, the "giant, shared computer" analogy can be refined.

Suggestion 1 (Focus on Agreements): "Ethereum is a highly secure, transparent digital ledger where rules for agreements, known as 'smart contracts,' are written and automatically enforced. Think of it as a shared notebook where 'if X happens, then Y automatically occurs.' Ether, the native currency, acts as the 'ink' and 'processing power' to execute these rules without intermediaries. Unlike traditional systems controlled by single entities, Ethereum's shared nature ensures these agreements are immutable and censorship-resistant."

Suggestion 2 (Focus on Automation): "Envision Ethereum as a global, programmable vending machine capable of executing complex automated tasks. You can program it to dispense digital assets or trigger actions based on predefined conditions, without needing permission from any central authority. Ether is the currency required to 'operate' this machine, paying for the computational effort to run your automated programs. This decentralized execution model prevents single points of failure or control."

### 3. Key Expert Concepts to Include in a Deep Dive:

A deeper technical dive necessitates exploring:

EVM Internals: Stack architecture, gas as an economic security layer, distinctions between Storage, Memory, and Stack, and the function of precompiled contracts.
State Transition Function: The formal definition of how blockchain state evolves and the account model (EOA vs. Contract Accounts).
Consensus Layer vs. Execution Layer: The architectural separation post-Merge, and the roles of Execution Clients and Consensus Clients.
Layer 2 Scaling Technologies: Detailed analysis of Rollup architectures (Optimistic vs. ZK-Rollups), and other solutions like State Channels.
Cryptography: ECDSA for signatures and Keccak-256 for hashing.
Ethereum Improvement Proposals (EIPs): The lifecycle and impact of key proposals like EIP-1559 and EIP-4337.
Account Abstraction (ERC-4337): The paradigm shift to smart contract wallets, enabling features like gas sponsorship and social recovery, supported by Bundlers and Paymasters.
Interoperability: Mechanisms like Bridges and protocols like IBC.
* Security Considerations: Smart contract vulnerabilities (reentrancy, overflow), economic security of PoS, and the implications of MEV.

🔗 Related Terms

Prerequisites:

📚 Sources