2.6 k

Beginner’s Guide to Blockchain Layers

The “Layers” of a Platform

Say you want to build a 100-story tall building. You want it to be the tallest it can be, and at the same time, be able to support the weight all the way through. To ensure that the building is sturdy, you start with getting the right materials, building a strong base from a few stories below the ground, stabilizing the base, and carrying on with the construction.

In the world of software and technology, the analogy holds just as well. To build a platform that supports networking, application building, and other features, you have to work your way ground-up. You have to design an infrastructure that is simple at its base and ultimately supports complex specific applications as you move up.

Ground Zero for Building

As we know it today, the Internet was a cumulation of decades of research in computing technologies. To finally end up with a platform that connects billions of people and machines worldwide, we had to solve problems we didn’t even know existed. Eventually, with a mechanism that included 7 different Layers called the OSI Model, the Internet was born.

osi model 7 layers
Courtesy of BMC. What is The OSI Model? Network Architecture in 7 Layers

Just like the internet, Blockchain, too, is a platform that had to be constructed in Layers. The Layer-based model allowed developers and infrastructure architects to focus on their agendas and nothing else. Put into perspective, for an application builder, it is more than enough to focus on the last Layer, the Application Layer. While for a platform developer, knowing the initial Layers is of utmost importance as they form the base for applications to be built on. As we move up, Layer to Layer, the complexity increase while the generality goes down.

To understand what each Layer in a blockchain means and the functions they play, let us start ground-up.

Blockchain and its Layers

Blockchain, an as complex infrastructure as the Internet it runs on, thankfully does not boast as many Layers. The OSI Model goes from physical interactions to the final application, jumping 7 Layers from the bottom up. A Blockchain, on the other hand, uses the OSI Model as the base to develop. This allows blockchain to limit its complexity to 3 or 4 Layers, depending on the application.

Layer 0

To borrow an analogy from Ashwath Balakrishnan of marketpsycles.com, “Think of [Layers] in terms of clothing. Layer 1 is your shirt. It’s the ‘main-chain’ of your outfit. Layer 0 is the undershirt – it keeps you warm, but nobody can really see it doing its job.”

Layer 0 can be considered a bridge between the Internet, the physical world, and the blockchain. Remember that blockchain technology is not all software. It involves physical network infrastructure (like the mining component of PoW platforms, data storage, etc.) that allow a complex technology like Blockchain function. Layer 0 is the basement that is never seen but is as important as the building itself. 

Layer 1

Moving on from Layer 0, Layer 1 is the blockchain platform itself. The Bitcoin blockchain, Ethereum, XEM, and other base layer protocols form Layer 1. Layer 1 functions as the soil for applications to germinate and grow on. Layer 1 is usually a simple, broad, and general purpose. When people talk about blockchains and networks, this is what they usually refer to. Layer 1 is responsible for protocols, consensus mechanisms, and anything else that ensures the base-level functionality of a blockchain and its associated cryptocurrency (if any). It is also referred to as the Implementation Layer, alluding to the possibilities of development.

Layer 2

There is general confusion among developers and architects on finalizing what Layer 2 actually is. The confusion arises because several projects differentiate what they use Layer 2 for. For instance, the Lightning network, a scalability update to Bitcoin, functions as a secondary Implementation layer to Layer 1. On the other hand, Smart Contracts, which are a central feature of Ethereum and many other Layer 1 protocols, are applications built on the Implementation Layer. For now, let us assume that Layer 2 is the level where additional updates and generalized applications to Layer 1 are developed.

Currently, Layer 2 is the area amassing the most interest. Ever since Ethereum showed the possibility of using a generalized blockchain to develop narrow and specific applications, developers are flocking in. This has resulted in a variety of innovations in the sector. Smart Contracts, quadratic voting, scalability solutions, atomic swaps, etc. are a few of the general-purpose Layer 2 applications built on Layer 1.

Layer 3

Bitcoin live price
price change

Although not the layer gathering interest right now, Layer 3 could easily become the area rumbling with activity. Layer 3 is where general applications developed on the second layer could be used to develop specific solutions. Using smart contracts or atomic swaps or lightning network or APIs, developers can integrate and build applications that serve a narrow and specific function. ICOs, crypto kitties, Decentralized Finance (DeFi) are just some of the applications built on the third layer.

Stay up to date with our latest articles

More posts

What Is the Blockchain Scalability Trilemma?

In the context of decentralization, security, and scalability, the Blockchain Trilemma refers to the generally held notion that decentralized networks can only deliver two of the three benefits at any given moment. In this article, we more closely into the matter, assessing all the most relevant aspects of the blockchain scalability trilemma. The Trilemma Vitalik Buterin invented the term "blockchain trilemma," which refers to a conundrum that blockchain engineers face while balancing three competing demands at once: decentralization, security, and…

Do Smart Contracts Represent Legal Contracts?

When industry players use the term "smart contracts," they may mean different things. Words matter, as any contract lawyer will be able to explain. Is the word “contract” a technical overstatement, or does it trigger actual legal bindings? The industry needs to agree on the consistency of its terminology. What exactly is a smart contract? Does it have any legal implications? When attorneys and technologists use this terminology, do they understand each other? Our article will provide a short analysis,…

How Do Crypto Anti-Dumping Policies Work?

Scammers utilize social media platforms to impersonate celebrities or acquaintances to persuade victims to make fake investments. The rise of cryptocurrencies and the lack of regulations gave new tools to these criminals. We'll look at how the market is attempting to safeguard investors today. Crypto commentators frequently emphasize anti-dumping regulations as a deterrent to online fraudsters. What Are Pump and Dump Operations? Before dwelling on the concept of anti-dumping policies, we need to understand what is a “pump and dump”…

Understanding Layer 3 Blockchains

Scalability has become an even more pressing issue as the crypto sector experiences increased customer demand. Many of us have come across terms like “layer one” and “layer two” protocols in the blockchain world. Blockchains must be very secure due to the lack of a centralized authority. They must also be incredibly scalable to cope with growing users and transactions. Today we will learn more about layer three solutions, a technology aiming to provide scalability while maintaining top-notch security. A…

Venezuela – How Does the Petro Crypto Work?

Venezuelan President Nicolas Maduro suggested the creation of a national cryptocurrency in 2017. Officials claim that the country's oil, gas, and mineral riches back its value. However, as of today, Petro seems to fail fulfilling its purpose of rescuing the national economy. Some foreign observers believe the Petro digital currency is a trick to circumvent international restrictions. These sanctions prevent Venezuela from borrowing cash on global markets. This article will provide an analysis of the creation of this national cryptocurrency.…

Understanding Advanced Smart Contracts

The clever use of smart contracts has contributed significantly to the exploding popularity of blockchain technology. Initially proposed by computer scientist Nick Szabo, a smart contract is a collection of instructions executing automatically. This technology aims to make the contract execution as automated as possible. Many know how basic smart contracts work, but it is rare to find a guide on their advanced versions. After a basic overview, we will analyze two typical cases of advanced smart contracts. The article…

Layer 2 Blockchain Projects – A Guide for Beginners

One of the critical difficulties confronting the blockchain community is the matter of scalability. While the technology has proven its high potential over the years, several aspects limit its applicability to a large scale. The scalability problem has been on our minds since humankind came up with the first technological inventions. We'll expand on that in this post, looking at the particular case of Layer 2 blockchains. Layer 2 (L2) blockchain definition The "Layer 2 blockchain technology" concept is gaining…

A Beginners’ Guide to Permissioned Blockchains

It has been a few years since the topic of blockchain technology invaded the market for the first time. Today, people are gradually learning to see a blockchain and a cryptocurrency as two distinct concepts. The technological and financial culture is growing, and, as a result, the industry is attracting more developers and users. Among the many consequences of this trend, we find the appearance of new tools. Today we will talk about one of the many new applications of…

Hyperledger Fabric – What Is It and How Does It Work?

The cryptocurrency world continues to see new developer ideas enter the market. Today, we will simplify a technical aspect: the Hyperledger Fabric technology. Any reader interested in learning about the most complex aspects of the topic can refer to the official documentation. This article will analyze the main elements of this system, also highlighting important criticisms in the sector. Understanding Hyperledger Fabric Let's start, first of all, by understanding the origin of the instrument name: Hyperledger is an open-source distributed…

How does a Replay Cyber Attack Work?

The replay technique is among the many attacks that have made hackers rich over the years. The phenomenon was born before the invention of cryptocurrencies and has grown in recent years. This article will deal with various aspects related to the topic. First of all, it will be helpful to understand how a typical replay cyber attack works. Secondly, we will focus on how a criminal can use this technique in the crypto world. There are several user protection techniques,…