Study notesWeek 9: Scaling: Rollups And Layer 2
Week 9 / Blockchain from zero

Scaling: Rollups And Layer 2

Week 9 · Blockchain

What You Can Do By The End

Week 9 · Blockchain

Recap Of Weeks 7 And 8

Week 9 · Blockchain

Why Capacity Is Limited

Trade-offs

The Trilemma

PropertyMeaning
DecentralisationMany can run nodes
SecurityAttacks are costly
ScalabilityMany transactions
Week 9 · Blockchain

Layers

users -> sequencer -> L2 block
                |
         batch of data + proof/claim
                |
         contract on Ethereum (L1)
Week 9 · Blockchain

What A Rollup Does

Week 9 · Blockchain

Optimistic Rollups

Week 9 · Blockchain

Zero-Knowledge Rollups

Week 9 · Blockchain

The Cost Of Proving

Side by side

Compare The Two

OptimisticZero-knowledge
TrustChallenge windowValidity proof
ExitAbout seven daysAfter proof
Week 9 · Blockchain

Data Availability

Week 9 · Blockchain

Reading The L2 Landscape

Week 9 · Blockchain

Bridges

chain A: lock 10 tokens in bridge contract
chain B: mint 10 wrapped tokens
...
chain B: burn 10 wrapped tokens
chain A: unlock 10 tokens
Week 9 · Blockchain

Bridge Safety Habits

Week 9 · Blockchain

Recap

Week 9 · Blockchain

Next Week: Wallets, Security And Custody

Week 9 · Blockchain

Questions And Exercise