Die Ethereum Virtual Machine
Bytecode-Ausführung
Die Ethereum Virtual Machine ist eine kostenlose Web3 & DApp Development Fundamentals-Lektion auf CoddyKit. Dies ist Lektion 1 von 4. Du kannst die komplette Lektion unten kostenlos lesen – dann übst du sie direkt im Browser mit einem integrierten Code-Editor und einem KI-Tutor rund um die Uhr. Sie ist Teil des Web3 & DApp Development Fundamentals-Lernpfads, und dein Fortschritt wird über Web und CoddyKit-App synchronisiert. Der Web3 & DApp Development Fundamentals-Kurs umfasst insgesamt 4 Lektionen.
Teile dieser Lektion wurden noch nicht übersetzt und werden auf Englisch angezeigt.
What Is the EVM?
The Ethereum Virtual Machine (EVM) is the runtime that executes smart contract code on every Ethereum node.
It is a sandboxed, deterministic computer shared by the whole network.
A Global Computer
The EVM is often called a world computer. Every full node runs the same EVM and processes the same transactions, arriving at the same result.
This shared execution is what gives Ethereum a single, agreed-upon state.
Stack-Based Machine
The EVM is a stack machine: operations push and pop values from a stack rather than using named registers.
For example, addition pops two values and pushes their sum.
PUSH1 0x05 // stack: [5]
PUSH1 0x03 // stack: [5, 3]
ADD // stack: [8]Bytecode
Smart contracts are deployed as bytecode — a compact sequence of bytes the EVM understands. Solidity source is compiled down to this bytecode.
The EVM never sees your high-level Solidity; it only runs bytecode.
Solidity source
| (compiler: solc)
v
EVM bytecode (0x6080604052...)
| (deployed)
v
EVM executes itOpcodes
Bytecode is made of opcodes — single-byte instructions like ADD, MUL, SLOAD, and JUMP.
Each opcode performs one low-level operation and has a fixed gas cost. We explore opcodes in a later lesson.
Deterministic Execution
The EVM is fully deterministic: the same inputs always produce the same outputs on every node.
This is essential — if nodes disagreed on results, the network could never reach consensus on the state.
256-bit Word Size
The EVM operates on 256-bit words (32 bytes). This large size suits cryptographic operations like hashing and elliptic-curve math.
It is unusual compared to the 32- or 64-bit words of ordinary CPUs.
Gas Metering
The EVM meters gas as it runs. Each opcode deducts its gas cost, and execution halts if gas runs out.
This guarantees termination and prevents any contract from running forever.
The Sandbox
EVM execution is sandboxed: contract code cannot access the network, filesystem, or other processes.
It can only read and write blockchain state. This isolation keeps execution predictable and secure.
EVM-Compatible Chains
Many other blockchains run the EVM or a clone of it — Polygon, BNB Chain, Avalanche C-Chain, and Arbitrum among them.
This EVM compatibility lets developers deploy the same contracts across many chains.
Putting It Together
The EVM is a deterministic, sandboxed, stack-based virtual machine that executes contract bytecode on every node, metering gas and operating on 256-bit words.
Its determinism is the foundation of network consensus.
Quick Check
Test your EVM knowledge.
Recap: The EVM
You learned that:
- The EVM runs smart contract bytecode on every node
- It is a stack-based, deterministic, sandboxed machine
- Solidity compiles to bytecode made of opcodes
- It uses 256-bit words and meters gas
Next: EVM data locations.
Häufig gestellte Fragen
Ist die Lektion „Die Ethereum Virtual Machine“ kostenlos?
Ja — der vollständige Text von „Die Ethereum Virtual Machine“ ist hier im Web kostenlos zu lesen. Um sie interaktiv zu üben (integrierter Code-Editor und 24/7 KI-Tutor) und den Rest des Web3 & DApp Development Fundamentals-Kurses freizuschalten, upgrade auf CoddyKit PRO. Der Web3 & DApp Development Fundamentals-Kurs umfasst insgesamt 4 Lektionen.
Was lerne ich in „Die Ethereum Virtual Machine“?
Bytecode-Ausführung Du übst Web3 & DApp Development Fundamentals mit praktischem Code, den du direkt im Browser ausführst, und ein 24/7 KI-Tutor beantwortet deine Fragen während du die Lektion bearbeitest.
Brauche ich Erfahrung, um Web3 & DApp Development Fundamentals zu starten?
Keine Vorkenntnisse erforderlich. Web3 & DApp Development Fundamentals auf CoddyKit ist für Anfänger bis fortgeschrittene Lernende strukturiert, sodass du hier starten oder von Anfang an beginnen und in deinem eigenen Tempo voranschreiten kannst. Dies ist Lektion 1 von 4.
Wie lange dauert die Lektion „Die Ethereum Virtual Machine“?
Die meisten CoddyKit-Lektionen dauern etwa 5–10 Minuten. Jede ist kompakt und interaktiv, sodass du stetig Fortschritte machst und genau dort weitermachst, wo du aufgehört hast – im Web und in der App.
Kann ich in dieser Web3 & DApp Development Fundamentals-Lektion Code schreiben und ausführen?
Ja. Jede Web3 & DApp Development Fundamentals-Lektion enthält einen integrierten Code-Editor, sodass du echten Code direkt in deinem Browser schreibst und ausführst und sofort KI-Feedback erhältst — ohne lokale Einrichtung erforderlich.
Alle Lektionen in diesem Kurs
- Die Ethereum Virtual Machine
- Storage, Memory, Stack
- Opcodes
- Accounts und State