0Pricing
Web3 & DApp Development Fundamentals · レッスン

Ethereum Virtual Machine

バイトコードの実行

「Ethereum Virtual Machine」はCoddyKit上の無料Web3 & DApp Development Fundamentalsレッスンです。 これはレッスン1/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応の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時間対応のAIチューター)、Web3 & DApp Development Fundamentalsコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Web3 & DApp Development Fundamentalsコースには全4レッスンが含まれています。

「Ethereum Virtual Machine」で何を学びますか?

バイトコードの実行 ブラウザで直接実行するハンズオンコードでWeb3 & DApp Development Fundamentalsを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。

Web3 & DApp Development Fundamentalsを始めるのに経験は必要ですか?

事前経験は必要ありません。CoddyKitのWeb3 & DApp Development Fundamentalsは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン1/4です。

「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に戻る