Bitcoin Layers
The Bitcoin ecosystem is built in layers. Layer 1 is the base layer Bitcoin network and provides security, decentralization, and final settlement. Layer 2 is a layer on top of the base layer and provides scalability in the form of more transactions per second and lower fees as well as additional functionality like confidential transactions and tokenized assets.
A common criticism of Bitcoin is that its limited throughput and block times are too slow for daily payments, too expensive for low value transactions, and not scalable enough to serve the world's population. While this is true if only considering Layer 1, these criticisms fall apart when considering Layer 2.
Imagine if you had to make a wire transfer to buy coffee every day instead of using a credit card. The wire transfer can cost $30 to initiate, much more than the value of the coffee, and could take days to settle. Credit cards on the other hand serve as the payment processing layer and enable instant transactions of any size with low fees. Transacting on Bitcoin Layer 1 is the equivalent of making a wire transfer. Transacting on Bitcoin Layer 2 is the equivalent of using credit cards for daily purchases.
Once we understand the different roles that Layer 1 and Layer 2 serve, we can take advantage of the different layers for different needs.
Layer 1 | Layer 2 |
---|---|
Savings accounts | Checking accounts |
High value transactions | Low value transactions |
1 hour settlement | Instant settlement |
Trustless | Trustless or trust minimized |
The two most prominent Bitcoin Layer 2 solutions are the Lightning and Liquid networks.
Lightning Network
The Lightning Network is a distributed network based on channels between users and merchants. When channels are opened, funds are locked on the Layer 1 network which can then be freely transacted with over the channels. Funds can flow in both directions over the channels as long as the channels are kept open. Only when channels are closed is when the final balances are committed back to the Layer 1 network.
Moving transactions to Lightning channels benefits users who can then transact instantly for low fees over those channels without having to interact with Layer 1 for every transaction. By moving activity to Layer 2, it also benefits users of Layer 1 who have less competition for transactions and thus lower fees and more predictable settlement times.
Liquid Network
The Liquid Network is a parallel network (sidechain) that is pegged to Bitcoin Layer 1. Funds are locked on the Layer 1 network to peg them into the sidechain, and an equivalent amount of funds are then available for use on the sidechain.
Once funds are pegged into the sidechain, users benefit from 2 minute final settlement instead of 1 hour final settlement, low fees, and additional functionality like confidential transactions and tokenized assets. Users can peg out and return funds back to the Layer 1 network at any point.
The operation of the network and the pegged in funds are controlled by members of the Liquid Federation, a geographically distributed group of Bitcoin companies motivated and incentivized to contribute to Bitcoin's success. The network uses multisignature wallets, whitelisted withdrawal addresses, and timelocks to ensure the security and auditability of the network and its locked funds so that no small number of entities can compromise the network on their own and there is ample time to respond and recover in the event that there is a compromise. Additionally, users of the network can run Liquid nodes as well to validate the activity on the network.
Lightning vs. Liquid
While both Lightning and Liquid are Layer 2 solutions, there are pros and cons with each solution.
Lightning | Liquid |
---|---|
Self-custodial and custodial options | Self-custodial but requires trust in Liquid Federation members |
Channel and Liquidity Management | N/A |
Instant settlement | 2 minute settlement |
Hot wallets with keys online | Hot wallets with keys online Cold wallets with keys protected by hardware |
Privacy varies | Confidential transactions |
N/A | Tokenized Assets |
Additionally, these networks can be complementary. For example, you could rebalance Lightning channels using the Liquid network to avoid Layer 1 fees.
Conclusion
Bitcoin's layers work together to provide security, decentralization, and scalability.
There are a variety of wallets and tools for interacting with all of Bitcoin's layers. Once you understand the capabilities and purpose of the different layers, you can take advantage of them for your own needs, avoid making costly mistakes, save on fees, and unlock additional utility.
If you'd like a trusted partner that can tailor guidance to your specific needs and guide you on your Bitcoin journey, schedule a call with us.