12 Jan 2025

Polkadot Parachains: A Detailed Overview

Polkadot Parachains: A Detailed Overview

A parachain is a data structure for a specific application. It is globally agreed upon and interacts with the validators of the Polkadot relay chain, which is responsible for coordinating the overall system. Almost always, a parachain takes the form of a blockchain, but this is not a mandatory condition.

On this page

Parachains can create their own token and launch their own economy. They do not need schemes such as PoS, but Polkadot gives them complete freedom in implementing ideas, whether it be staking or transaction fees in their own token. The relay network will ensure the execution of all transactions regardless of the parachain's rules.

Parachains can interact with each other. This is done using the Cross-Consensus Message Format (XCM), a standard that defines how messages should be passed. Using it, developers define the data and sources their networks will receive and send. Communication via XCM is not only between networks, but also between smart contracts and bridges. The key element of XCM is collators.

What is a collator?

Parachains are serviced by network administrators, known as collators. They are very similar to validators of any other blockchain, such as Ethereum, but Polkadot is responsible for guaranteeing security. As network participants, they maintain a full node of the parachain, store all the necessary information about it, collect transactions from parachain users, merge them into block candidates, and create state transition proofs (Proof-of-Validity, PoV). The parachain is responsible for motivating and rewarding collators.

One might think that the more collators there are, the safer the system is, but this is a popular misconception. A large number of collators slows down the network, and their ability to harm is very limited. They can only censor transactions, but a parachain can easily overcome any blockage with just a few neutral collators, without reaching the majority. Theoretically, even one should be enough to overcome censorship.

How does the Parachain protocol work?

The main goal of the protocol is to process a parachain block from creation to inclusion using a process. It can be repeated multiple times and in parallel for each parachain connected to the relay network. Validators and collators are involved in the protocol. The general scheme looks like this:

  1. The collator collects user transactions, forms a block candidate, and sends it to the validators.
  2. Validators verify the block and vote to include it in the blockchain.
  3. If the block receives enough votes, it is added to the blockchain.
  4. After adding the block to the blockchain, the collator starts creating a new block candidate, and the cycle repeats.

Additionally, the parachain protocol allows the following operations:

  • Creating a custom token and economy.
  • Execution of smart contracts.
  • Interactivity with other parachains and networks via XCM.
  • Use of any voting system to make decisions within the parachain.

Polkadot parachains provide a flexible and scalable infrastructure for creating and deploying blockchain applications. They also have a high degree of security and reliability thanks to the security guarantees provided by Polkadot.

The protocol consists of three stages, each including two sections: the inclusion pipeline and the approval process. The white square in the diagram below represents the movement of a block through all stages from right to left.

Inclusion pipeline

The inclusion pipeline is the path a parachain block takes from its creation to inclusion in the relay network, during which it receives different statuses.

Key points in this section (the process in the image goes from right to left):

  1. Validators are assigned to all parachains via the “validator assignment” procedure.
  2. The collator creates a candidate block for the parachain together with its proof-of-validity (PoV).
  3. The collator sends the candidate and PoV to the assigned validators. The candidate receives “seconded” status.
  4. Validators participate in the “candidate backing” subsystem. Candidates that receive enough affirmations of their validity become “backable,” and their backing is a set of signed affirmations.
  5. The relay network block author is selected through BABE (Blind Assignment for Blockchain Extension), a block production mechanism. The author may select up to 1 backed block for each parachain to include in the relay network block. The candidate is then considered “backed.”
  6. The candidate receives the “pending availability” status but is not yet considered part of the parachain.
  7. In subsequent relay network blocks, validators participate in the “availability distribution” subsystem to ensure candidate availability.
  8. At this stage, the relay network state machine receives enough information to consider the block's PoV available. The block is then changed to the “included” status and is considered part of the parachain, moving to the rank of full blocks (parablocks).

In some cases, a candidate may not be included in the parachain:

  1. The collator cannot send the block to any assigned validator.
  2. The candidate is not backed by validators in the “candidate backing” subsystem.
  3. A candidate was not selected by the author of the relay network block.
  4. The candidate's PoV is unavailable within a timeout and is dropped from the relay network.

The inclusion pipeline must be completed before a new block can be accepted on a specific parachain. After a successful inclusion process, the parablock moves to the approval process, which may happen simultaneously for many parachain blocks.

Approval Process

Although the block is already considered part of the parachain, it has a “pending approval” status. Polkadot assumes that one-third of the validators may be dishonest and mistakenly support a candidate, even with random selection. The approval process solves this problem by allowing illegal behavior to be identified retrospectively.

The approval process can be divided into the following stages:

  1. Parablocks await approval during a temporary window.
  2. During this time, secondary validators are automatically called upon to perform a recheck of each parablock.
  3. Secondary validators receive the parablock with PoV and run the verification function again.
  4. Information is exchanged about the results of the checks, and where there are inconsistencies, a dispute arises in which all validators must check the block. Validators on the losing side of the dispute are reduced.
  5. The parablock is approved or rejected.

Visual representation of the approval process (from right to left):

In order for an application to use the Polkadot parachain and relay network, it needs to access the slot.

Parachain slots

Currently, the number of available parachain slots is limited for several years to come. There are only about 100 slots, and they are distributed in the following ways:

  1. System parachains contain the main functions of the Polkadot protocol, but in parachains, not in the relay network.
  2. Parachain auctions are auctions where users vote for a project with their own DOT tokens. The winner leases the slot. If the project is unable to renew the lease, it becomes a parathread.
  3. Parathreads are an idea for parachains in the form of temporary access to Polkadot without the need to lease a slot, which is shared among competing networks. Some of them do not have the ability to lease a slot. They consider it impractical, as they pay for each executed block.

Parachains: why should you use them?

Parachains scale the Polkadot system by parallel processing transactions while maintaining the overall security of the network.

As a result, parachains solve two fundamental problems for many blockchains: scalability and flexibility. They help create narrow-focused blockchains that collaborate with each other for mutual benefit.

It is important to note the potential of parachains. For example:

  1. The creation of high-frequency networks that perform a large number of fast transactions due to their high optimization.
  2. Creation of private networks that do not disclose any information to the public due to the use of new cryptography.
  3. Creation of networks where smart contracts are implemented.

Even Polkadot developers believe that the full potential of using parachains is yet to be realized in the future.

The content on The Coinomist is for informational purposes only and should not be interpreted as financial advice. While we strive to provide accurate and up-to-date information, we do not guarantee the accuracy, completeness, or reliability of any content. Neither we accept liability for any errors or omissions in the information provided or for any financial losses incurred as a result of relying on this information. Actions based on this content are at your own risk. Always do your own research and consult a professional. See our Terms, Privacy Policy, and Disclaimers for more details.

Articles by this author

Latest News

MORE
The Crypto Rollercoaster of 2024 — Wins and Woes

The Crypto Rollercoaster of 2024 — Wins and Woes

The crypto sector evolved at breakneck speed in 2024. With major wins and notable setbacks, it’s time to reflect on the year’s key developments and their implications for the future.

31 Dec 2024
OpenSea Token: Release Date and How to Qualify for the Airdrop

OpenSea Token: Release Date and How to Qualify for the Airdrop

The NFT marketplace OpenSea, a pioneer in the space for the past seven years, is expected to launch its native token in 2025. A significant portion of the tokens will likely be distributed through a retroactive airdrop—a common way to reward the community for their past activity and support.

30 Dec 2024
5 Most Exciting Token Launches to Watch in 2025

5 Most Exciting Token Launches to Watch in 2025

In 2024, we saw a number of hot airdrops and token launches, from AI-powered projects to the rise of memecoins. Now, as we head into 2025, the crypto space is set to expand even further with an increasing number of cryptocurrencies.

27 Dec 2024
A Million Bitcoins for the U.S.? Cynthia Lummis’ Ambitious Plan

A Million Bitcoins for the U.S.? Cynthia Lummis’ Ambitious Plan

Wyoming Senator Cynthia Lummis has proposed an ambitious plan to create a strategic Bitcoin reserve for the United States. In a recent interview, she explained how Bitcoin could strengthen the global position of the U.S. dollar and help address the growing national debt.

23 Dec 2024

Latest News Alt

MORE
Weekly Analysis of BTC, ETH, and the Stock Market (Jan 6, 2025)

Weekly Analysis of BTC, ETH, and the Stock Market (Jan 6, 2025)

An overview of BTC, ETH, XAUT, and S&P500 charts, along with the current cryptocurrency market dynamics.

06 Jan 2025
Weekly Analysis of BTC, ETH, and the Stock Market (Dec 30, 2024)

Weekly Analysis of BTC, ETH, and the Stock Market (Dec 30, 2024)

An overview of BTC, ETH, XAUT, and S&P500 charts, and the current cryptocurrency market dynamics.

30 Dec 2024
Weekly Analysis of BTC, ETH, and the Stock Market (Dec 23, 2024)

Weekly Analysis of BTC, ETH, and the Stock Market (Dec 23, 2024)

An overview of BTC, ETH, XAUT, and S&P500 charts, and the current cryptocurrency market dynamics.

23 Dec 2024

Might Be Interesting

MORE
Mining Farms Uncovered — How Crypto Is Mined at Scale

Mining Farms Uncovered — How Crypto Is Mined at Scale

As a cornerstone of the crypto industry, mining farms drive blockchain networks. But how do they work? Uncover the mechanics behind these cutting-edge hubs and their role in the crypto landscape.

07 Jan 2025
William Quigley, WAX/Tether: Stablecoins’ Role in Global Payments

William Quigley, WAX/Tether: Stablecoins’ Role in Global Payments

William Quigley, co-founder of WAX and Tether, firmly believes that stablecoins are more than a tool for traders—they’re the key to transforming the global economy. Already central to crypto trading and cross-border payments, their future potential is even more exciting.

04 Jan 2025
Why Blockchain Is Different from Traditional Databases

Why Blockchain Is Different from Traditional Databases

In the world of business and finance, information is everything. Traditional databases have been reliable tools for decades, but blockchain presents a groundbreaking alternative. What sets it apart, and could it lead to a paradigm shift?

03 Jan 2025
How Does Multisig Works and Protect Your Assets?

How Does Multisig Works and Protect Your Assets?

As threats to digital assets evolve, multisig technology provides a highly effective security layer. By requiring multiple signatures for transactions, it significantly reduces risks such as hacking and access loss.

02 Jan 2025
Crypto Price Gaps: Why Platforms Show Different Prices

Crypto Price Gaps: Why Platforms Show Different Prices

The crypto market has nuances you may not have noticed at first glance. For example, when you want to check the Bitcoin price, you probably Google it without thinking to compare the results. But when you monitor the market regularly and engage in trading, you notice the prices aren’t the same on all platforms.

24 Dec 2024
The Czech Republic and Its Crypto-Friendly Policies

The Czech Republic and Its Crypto-Friendly Policies

The Czech Republic is emerging as a crypto-friendly nation, recognizing cryptocurrencies as legitimate payment methods and encouraging their use in business. But its regulatory framework is still taking shape. Here’s how crypto is managed today.

23 Dec 2024

Opinions

8 Commandments for Crypto Exchange Users

8 Commandments for Crypto Exchange Users

While cryptocurrency exchanges offer many security features, they are still vulnerable to hacks, fraud, and other criminal activity. Remember, no online platform can guarantee 100% protection for your funds. Follow these eight key rules to reduce your risks. Rule #1: Don’t Believe in the Myth of Absolute Exchange Security Even the largest and most seemingly […]

12 Jan 2025
10 Key Investment Trends to Watch in 2025: Green Crypto, Regulations, and More

10 Key Investment Trends to Watch in 2025: Green Crypto, Regulations, and More

Donald Trump is back, Germany’s economy is in trouble, while U.S. economic indicators seem to have a robust momentum, and interest rates are sliding downhill. Sounds dramatic? It is. But 2025 isn’t all doom and gloom—it’s full of opportunities for investors who know where to look. Whether you’re a seasoned pro or someone still figuring […]

12 Jan 2025
MORE

Interviews

Dmytro Gordon and Volodymyr Nosov: A Sensational Interview

Dmytro Gordon and Volodymyr Nosov: A Sensational Interview

Volodymyr Nosov, CEO of Europe’s largest crypto exchange WhiteBIT, sat down with Dmytro Gordon, one of Ukraine’s most prominent journalists. The interview touched on Bitcoin, crypto, WhiteBIT, cars, keys to success, and business vision.

18 Dec 2024
WhiteBIT CEO: Standing Strong Against Russian Aggression

WhiteBIT CEO: Standing Strong Against Russian Aggression

In an interview with BTC-ECHO, Volodymyr Nosov, the founder and CEO of WhiteBIT, discussed the impact of Russian aggression on the crypto exchange’s business, how WhiteBIT stays a top competitor in the industry, and when he believes our financial system will be completely transformed.

04 Oct 2024
MORE