BR Academy
0%
How Ethereum Works: Architecture and Consensus·Lesson 5 of 33·10 min

Accounts, State, and the World Computer

Underneath every application built on Ethereum sits one core data model, and understanding it is the foundation for everything else in this module. Ethereum maintains a single shared "world state" — conceptually, one giant key-value map where every key is an address and every value records that address's balance, any code it holds, and any persistent storage it has accumulated. Every node on the network maintains its own copy of this same state, kept in sync by processing the same transactions in the same order.

There are exactly two kinds of accounts in this model, and the distinction matters for everything that follows in this course:

Externally owned accounts (EOAs). These are controlled by a private key, typically generated and held by a wallet (covered in Module 4). An EOA is what a person uses: it has a balance, it can send transactions, and it has no code of its own. When you "have a wallet," what you actually have is one or more EOAs, each identified by a public address derived from a private key only you (ideally) know.

Contract accounts. These are controlled by code rather than a private key. A contract account is created when a developer deploys a smart contract (covered in the next lesson); from that point on, it has an address just like an EOA, but it also has bytecode attached and its own persistent storage, and it can only act — receiving funds, calling other contracts, updating its storage — when triggered by an incoming transaction or a call from another contract. No one "holds the keys" to a contract account the way they do an EOA; its behavior is entirely determined by its deployed code.

The reason this matters is how it ties together into Ethereum's core trust model. Every transaction — whether a simple ETH transfer between two EOAs or a complex call into a contract — is a state transition. It takes the world state as it existed immediately before the transaction, applies a deterministic set of rules (the Ethereum protocol's execution logic, run inside the EVM covered in the next-but-one lesson), and produces a new world state immediately after. Critically, this process is identical for every node on the network: given the same starting state and the same transaction, every honest node computes the exact same ending state. That's what makes Ethereum verifiable without trusting any single party — you don't have to trust that a particular node reported your balance correctly, because you (or any node) can independently re-derive it by replaying the same deterministic rules.

This is also the sense in which Ethereum is sometimes called a "world computer": not one specific machine, but a single logical computing environment, replicated across thousands of independent nodes, all converging on the same shared state through the same deterministic process. No individual node's local copy is authoritative on its own — what's authoritative is the state that the network as a whole has converged on, following the protocol's rules.

It's worth drilling into what "storage" actually means for an account, since the word gets used loosely. For an EOA, the only state that matters is a balance and a transaction counter called a nonce, which prevents the same signed transaction from being replayed twice. For a contract account, storage is a much richer structure: a persistent key-value space the contract's own code reads from and writes to, which is how a token contract remembers every holder's balance, or a lending protocol remembers every user's collateral position. This storage is not a separate database bolted onto the chain — it is part of the same world state every node maintains, and every write to it happens only as the deterministic result of a transaction the network has processed and agreed on.

It also helps to understand what nodes are actually storing in practice, since "every node has the state" can sound more demanding than it is in context. Node operators choose between several configurations — full nodes that keep comprehensive recent history, and archive nodes that retain the complete historical state back to the genesis block — and Module 2's lesson on validators and nodes covers these trade-offs in detail. The point for this lesson is simpler: whichever configuration a given node runs, it is applying the identical deterministic rules as every other node, which is what makes the resulting state trustworthy regardless of which honest node you ask.

Worked Example

Look up an EOA address and a contract address on a block explorer and compare what each shows. The EOA will typically display a balance, a transaction history (a list of transfers it sent or received), and nothing else of substance — because an EOA has no code. The contract address, by contrast, will show a balance (contracts can hold ETH too) and a transaction history, but also bytecode (and, if the developer verified the source code, readable source), plus whatever persistent storage values the contract's own interface exposes — for example, a token contract might expose a public "total supply" value stored in its own state. The structural difference you're seeing directly on the page is the EOA/contract account distinction made concrete.

Exercise

Find one EOA and one contract address on-chain using a block explorer. Note three concrete differences you observe between what's displayed for each — for example, presence of bytecode, presence of a "verified source code" tab, or any public storage values shown. Then write one sentence explaining, in your own words, why a contract account can never initiate a transaction on its own.

Recap

  • Ethereum maintains one shared world state: a map of every account's balance, code, and storage, kept identical across every honest node.
  • There are two account types — externally owned accounts (EOA, controlled by a private key) and contract accounts (controlled by deployed code) — and only EOAs can initiate transactions.
  • Every transaction is a deterministic state transition that every node computes independently and identically, which is what makes Ethereum's shared state verifiable without trusting any single party.

Resources

  • Ethereum.org: Accounts — official documentation on EOAs, contract accounts, and the world state.
  • Ethereum Yellow Paper — the formal specification of Ethereum's state transition function.
  • Etherscan — for comparing a real EOA and contract address directly, as in this lesson's worked example.