DeFi
Layer 2 (L2)
A Layer 2 is a network built on top of a main blockchain, such as Ethereum, that processes transactions faster and more cheaply while relying on the main chain for security.
In detail
The main chain, called Layer 1, can handle only a limited number of transactions, so fees rise when it is busy. A Layer 2 collects thousands of transactions, processes them off the main chain and posts a compressed summary or proof back to it. The cost of that one posting is shared among all the users, which is why each transaction becomes much cheaper. The most common designs are called rollups, and Bitcoin's Lightning Network follows a related idea for payments. To use a Layer 2 you move funds onto it through a bridge or withdraw to it directly from an exchange that supports it.
Practical example
Swapping tokens on Ethereum's main chain might cost the equivalent of ₹400 in fees during a busy hour. The same swap on a Layer 2 network might cost around ₹5 and confirm in a couple of seconds.
Risk note
Each Layer 2 is a separate network, so sending coins to an address on the wrong one can lose them. Many are still run by a single operator, withdrawals to the main chain can take days, and bridges are a frequent target of hacks.