Introduction
After mastering Bitcoin's blockchain fundamentals, Ethereum emerges as the natural next step in blockchain education. This guide focuses on Ethereum's key components:
- Private/public key cryptography
- Address generation
- Wallet architecture
- Security protocols
Designed for readers who:
- Grasp Bitcoin's core concepts but seek Ethereum-specific knowledge
- Frequently encounter terms like "smart contracts" and "DApps" without understanding Ethereum's underlying mechanics
Key Generation Process
Ethereum's key derivation follows a Bitcoin-like workflow:
Step 1: Private Key Creation
- Generate a cryptographically secure 256-bit random number (32 bytes)
- Example:
f8f8a2f43c8376ccb0871305060d7b27b0554d2cc72bccf41b2705608452f315 - Must be created offline using secure entropy sources
Step 2: Public Key Derivation
- Process private key through secp256k1 elliptic curve multiplication
- Combine resulting (x,y) coordinates into 64-byte public key
- Optional prefix "04" creates standard 65-byte public key format
- Example:
6e145ccef1033dea239875dd00dfb4fee6e3348b84985c92f103444683bae07b83b5c38e5e2b0c8529d7fa3f64d46daa1ece2d9ac14cab9477d042c84c32ccd0
Step 3: Address Generation
- Hash public key with Keccak-256:
2a5bc342ed616b5ba5732269001d3f1ef827552ae1114027bd3ecf1f086ba0f9 - Extract last 20 bytes
- Prefix with "0x"
- Resulting HEX Address:
0x001d3f1ef827552ae1114027bd3ecf1f086ba0f9
Critical Security Note
Unlike Bitcoin addresses, HEX-formatted Ethereum addresses lack checksum protection by default, making typographical errors potentially catastrophic for funds.
Checksum Solutions
Capitals-Based Checksum (EIP-55)
- Converts select hexadecimal characters to uppercase
- Backward-compatible with legacy systems
- 99.986% error detection accuracy
Implementation example:
// Pseudo-code if (keccak256(lowercaseAddress)[i] >= 8) { addressChar = toUpperCase(addressChar); }
ICAP Protocol (Less Adopted)
- IBAN-compatible address format
Three variants:
- Direct ICAP: XE-prefixed 34-character addresses
- Basic ICAP: Non-standard 35-character format
- Indirect ICAP: Human-readable format (e.g., XE##ETHXNAKITOETAROU)
Ethereum Name Service (ENS)
👉 Learn about ENS domain registration
ENS revolutionizes address usability by:
- Mapping readable names to hexadecimal addresses (e.g.,
yourname.eth) - Following DNS-like hierarchical architecture
- Requiring 7+ character names without checksums
Acquisition Process
- Bidding Phase: 3-day sealed auction period
- Reveal Phase: 2-day public bid disclosure
Settlement:
- Winners pay second-highest bid + 0.01ETH fee
- Losing bids receive full refunds
- Domain ownership lasts 1 year
Notable sales:
exchange.eth: 6,660 ETHfoundation.eth: 300 ETH
Wallet Architecture
Ethereum wallets differ from Bitcoin implementations in key ways:
| Feature | Bitcoin Wallets | Ethereum Wallets |
|---|---|---|
| Balance Tracking | UTXO aggregation | Direct account balance |
| Address Generation | HD wallet derivations | EOA account creation |
| Transaction Types | Bitcoin-specific | Supports ERC-20 tokens |
| Nonce Handling | N/A | Tracks per-account sequence |
Core security principles remain identical - both prioritize secure private key storage through:
- Hierarchical deterministic (HD) seeds
- Hardware-secured key storage
- Multi-signature schemes
FAQ Section
Q: Why doesn't Ethereum use standard SHA-3 hashing?
A: Ethereum adopted Keccak-256 before NIST finalized SHA-3 standards. Empty string outputs differ:
- Keccak256("") = c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470
- SHA3("") = a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a
Q: How can I verify EIP-55 checksum addresses?
A: Wallet software automatically:
- Converts input to lowercase
- Recomputes checksum via Keccak-256
- Compares against original capitalization pattern
Q: What happens if my ENS auction bid fails?
A: You receive a full refund minus the 0.01ETH transaction fee within 48 hours of auction conclusion.
👉 Explore secure wallet options
Conclusion
This deep dive into Ethereum's cryptographic foundations covered:
- HEX address generation nuances
- Checksum implementation strategies
- ENS namespace innovations
- Wallet security architectures
Upcoming topics will explore Ethereum's transaction lifecycle and smart contract execution mechanics.