🔍 EVM Opcode Inspector

Learn how Ethereum smart contracts work at the lowest level! Explore every instruction the Ethereum Virtual Machine can execute, with simple explanations, real-world examples, and visual demonstrations.

⭐ Popular Opcodes
Quick access to commonly used operations
Find an Opcode
Search by name, hex value, or browse by category
ADD
BEGINNER
0x01
Arithmetic
3 gas

🎓 What Does It Do?

Takes two numbers and adds them together, like 5 + 3 = 8.

🌍 Real World Use

💰 Calculating total token balance: balance + newTokens

⚡ Gas Cost

Gas is like the electricity cost to run this operation

3 gas

✓ Very efficient!

📚 Difficulty

How hard is this to understand?

Beginner
🧠 What is the EVM?

The Ethereum Virtual Machine is like a giant computer that runs on thousands of machines around the world. It executes smart contracts using these opcodes.

Think of it like:

🏭 A factory where each opcode is a different tool or machine

📚 A library where opcodes are individual words you can use

⚡ Understanding Gas Costs

Gas is like the electricity bill for running your smart contract. Different operations cost different amounts.

Cheap (2-5 gas): Simple math, reading from stack
Moderate (20-100 gas): Memory operations, hashing
Expensive (2100+ gas): Storage, external calls
📚 Learning Tips
1️⃣

Start with Arithmetic opcodes - they're the easiest to understand

2️⃣

Look at opcodes marked as Beginner level first

3️⃣

Use the Simple and Visual tabs to understand concepts

4️⃣

Hover over underlined terms for definitions

🎯 Common Patterns

💰 Token Transfer

SLOAD balance → SUB amount → SSTORE

✅ Access Control

CALLER → SLOAD owner → EQ → JUMPI

📞 External Call

PUSH gas → PUSH address → CALL