Sidechains :
Sidechains are separate blockchains that are interoperable
with the main blockchain. They enable the execution of
transactions and smart contracts off the main chain while
still allowing assets to be moved between the main chain and
the sidechain.
State Channels :
State channels allow for off-chain transactions between a
set of participants. The transactions are conducted
off-chain and only the final outcome is settled on the main
blockchain, reducing the transaction load on the main chain.
Payment Channels :
Payment channels are a specific type of state channel that
focuses on enabling rapid and low-cost transactions for
payments. Participants can conduct a series of transactions
off-chain, and only the final settlement is recorded on the
main blockchain.
Plasma :
Plasma is a framework that allows for the creation of child
chains (or "plasma chains") that are connected to the main
chain. Plasma chains handle a subset of transactions and
computation, which reduces the load on the main chain.
Rollups :
Rollups are Layer 2 solutions that bundle multiple
transactions together and submit a summary to the main
blockchain. There are two types of rollups: optimistic
rollups, which assume all transactions are valid unless
proven otherwise, and zk-rollups, which use zero-knowledge
proofs to ensure the validity of transactions without
revealing sensitive data.
Validium :
Validium is a combination of a sidechain and a rollup. It
performs computation and execution off-chain, similar to a
rollup, but instead of submitting a summary, it submits the
entire state to the main chain periodically.
State Sharding :
State sharding divides the blockchain's state and
transactions into smaller partitions called shards. Each
shard can process its own transactions and smart contracts
independently, significantly increasing the network's
capacity and throughput.
Off-Chain Compute :
Some layer 2 solutions focus on moving computational
processes off the main chain, reducing the computational
burden on the network. These solutions involve executing
complex computations off-chain and submitting the results to
the main chain for verification and final settlement.