Welcome, brave explorer! You have entered the realm of Layer 2 scaling solutions.
The Ethereum mainnet is powerful, but it faces great challenges: high gas costs and slow transactions plague all who dwell here. Layer 2 protocols have emerged as mighty allies in this quest for scalability.
Select a protocol on the overworld map to begin your journey, or scroll onward to discover each one in turn.
THE CASTLE OF OPTIMISTIC ROLLUPS
Welcome to the Castle of Optimistic Rollups! Here, we believe in the good nature of transactions.
Optimistic Rollups process transactions off-chain and post the data back to Ethereum L1. They are called "optimistic" because they assume all transactions are valid by default. Only when a transaction is challenged does the system execute a fraud proof to verify its legitimacy.
The castle operates on a simple principle: trust, but verify. Transactions are bundled (or "rolled up") and submitted to the main chain. A challenge period of approximately 7 days allows anyone to dispute a transaction.
Key champions of this realm include Optimism and Arbitrum, each commanding vast kingdoms of DeFi protocols and users.
The strength of Optimistic Rollups lies in their EVM compatibility -- most Ethereum smart contracts can migrate here with minimal changes, making the castle welcoming to all adventurers.
THE TOWER OF ZK ROLLUPS
You stand before the Tower of Zero Knowledge! Here, truth is proven without revelation.
ZK Rollups use validity proofs (also called zero-knowledge proofs) to verify transactions. Unlike their optimistic cousins, ZK Rollups prove correctness mathematically before data is posted to L1. There is no challenge period -- transactions are final as soon as the proof is verified on-chain.
The tower's magic is complex but powerful. Two main types of proofs exist: zk-SNARKs (Succinct Non-Interactive Arguments of Knowledge) and zk-STARKs (Scalable Transparent Arguments of Knowledge).
Great builders like zkSync, StarkNet, and Polygon zkEVM harness this arcane power. Their constructions can process thousands of transactions per second while inheriting Ethereum's security.
The tradeoff? The magic requires intensive computation to generate proofs, and full EVM compatibility is harder to achieve -- but the mages grow more skilled each day.
THE BRIDGE OF CHAINS
Halt, traveler! To cross between realms, you must understand the Bridge.
Cross-chain bridges allow assets and data to move between different blockchain networks. They are the connective tissue of the multi-chain world, enabling tokens minted on Ethereum to be used on Layer 2 networks and beyond.
Bridges operate through various mechanisms: lock-and-mint (locking tokens on one chain, minting equivalents on another), burn-and-mint (destroying on source, creating on destination), and atomic swaps (trustless exchange between chains).
Trusted bridges like the Arbitrum Bridge and Optimism Gateway rely on the security of their respective L2 protocols. Trustless bridges like Hop Protocol and Connext use decentralized mechanisms.
Beware: bridges have been among the most targeted structures in the realm. Security remains the greatest challenge in cross-chain communication.
THE FLOATING ISLES OF SIDECHAINS
Welcome to the Floating Isles! We are independent, yet connected to the mainland.
Sidechains are independent blockchains that run parallel to the main Ethereum chain. They have their own consensus mechanisms and block parameters, but are connected to Ethereum through a two-way bridge.
Unlike rollups that inherit security from Ethereum, sidechains are responsible for their own security. This independence allows for greater flexibility and often lower costs, but comes with different trust assumptions.
Polygon PoS is the most prominent sidechain, processing millions of transactions daily. Gnosis Chain (formerly xDai) focuses on stable transactions and community governance.
The Floating Isles offer a unique proposition: maximum customization and speed, balanced against the need to maintain their own validator sets and security guarantees.