Layer 1 vs Layer 2: How Ethereum and Rollups Relate
Ethereum Mainnet is layer 1. Learn how layer 2 handles transactions away from Mainnet, how rollups connect execution with data, and why network labels do not establish safety.
Ethereum Mainnet is layer 1. Learn how layer 2 handles transactions away from Mainnet, how rollups connect execution with data, and why network labels do not establish safety.
Blockchain oracles make offchain information available to smart contracts. Learn how to separate the feed’s role, its sources and trust model, and unanswered questions about availability and updates.
ERC-20 gives token contracts a common interface. Learn how total supply differs from an address’s balance, what Transfer events specify, and why name, symbol and decimals are optional.
Understand Ethereum smart contracts as code and state at an address, how user accounts invoke functions, and why offchain information requires a separate data source.
Understand how Ethereum nodes relate to execution and consensus clients, how full and archive roles differ, and what changes when data comes from remote RPC.
Understand Ethereum’s account transaction nonce, its role in ordinary EOA sequencing, and why an RPC transaction count needs a specified block context.
Ethereum transaction verification involves authorization, execution, block inclusion, and consensus. Learn why an included transaction can still have failed execution.
Understand ERC-20 decimals through raw integer units, a hypothetical scaling example and the distinction between optional EIP-20 metadata and OpenZeppelin’s default.
Use the transaction hash to distinguish pending, failed and successful execution. Check the network, recipient and receipt before drawing conclusions.
Separate the amount you send from the cost of executing a transaction. A worked example explains gas used, gas price and failed transactions.