0Pricing
Web3 & DApp Development Fundamentals · 강의

Ethereum Virtual Machine

바이트코드 실행

Ethereum Virtual Machine은(는) CoddyKit의 무료 Web3 & DApp Development Fundamentals 강의입니다. 이것은 4개 중 1번째 강의입니다. 아래에서 전체 강의를 무료로 읽을 수 있으며, 내장 코드 에디터와 24/7 AI 튜터와 함께 브라우저에서 직접 실습할 수 있습니다. 이 강의는 Web3 & DApp Development Fundamentals 학습 경로의 일부이며, 진행 상황이 웹과 CoddyKit 앱에 동기화됩니다. Web3 & DApp Development Fundamentals 강의에는 총 4개의 강의가 포함되어 있습니다.

이 강의의 일부는 아직 번역되지 않았으며 영어로 표시됩니다.

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 it

Opcodes

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.

자주 묻는 질문

“Ethereum Virtual Machine” 강의는 무료인가요?

네 — “Ethereum Virtual Machine” 전체 내용을 이 웹사이트에서 무료로 읽을 수 있습니다. 인터랙티브하게 실습하려면(내장 코드 에디터와 24/7 AI 튜터), CoddyKit PRO로 업그레이드하면 Web3 & DApp Development Fundamentals 강의 전체를 잠금 해제할 수 있습니다. Web3 & DApp Development Fundamentals 강의에는 총 4개의 강의가 포함되어 있습니다.

“Ethereum Virtual Machine”에서 뭘 배우나요?

바이트코드 실행 브라우저에서 직접 실행하는 실습 코드로 Web3 & DApp Development Fundamentals을(를) 배우며, 24/7 AI 튜터가 강의를 진행하면서 질문에 답변해줍니다.

Web3 & DApp Development Fundamentals을(를) 시작하는 데 경험이 필요한가요?

사전 경험은 필요하지 않습니다. CoddyKit의 Web3 & DApp Development Fundamentals은(는) 초급자부터 고급 학습자까지를 위해 구성되어 있으므로, 여기서 시작하거나 처음부터 시작할 수 있으며 자신의 속도대로 진행할 수 있습니다. 이것은 4개 중 1번째 강의입니다.

“Ethereum Virtual Machine” 강의는 얼마나 걸리나요?

대부분의 CoddyKit 강의는 약 5~10분이 소요됩니다. 각 강의는 간결하고 인터랙티브하여 꾸준한 진행이 가능하며, 웹과 앱에서 중단한 부분부터 바로 시작할 수 있습니다.

이 Web3 & DApp Development Fundamentals 강의에서 코드를 작성하고 실행할 수 있나요?

네. 모든 Web3 & DApp Development Fundamentals 강의에는 내장 코드 에디터가 포함되어 있으므로, 브라우저에서 바로 실제 코드를 작성하고 실행한 후 즉시 AI 피드백을 받을 수 있습니다 — 로컬 설정이 필요 없습니다.

이 강의의 모든 강의

  1. Ethereum Virtual Machine
  2. 스토리지, 메모리, 스택
  3. 옵코드
  4. 계정과 상태
← Web3 & DApp Development Fundamentals(으)로 돌아가기