Parathreads: Pay-as-you-go Parachains

By: Joe Petrowski Polkadot is now even more accessible to projects that may not have the capital to secure a dedicated parachain slot and gives the opportunity to become a parachain if their application requires high throughput.

By Joe PetrowskiSeptember 11, 2019

By: Joe Petrowski

Parathreads open up the parachain paradigm, lowering the barrier to gaining the benefits of shared security and connectivity. Polkadot is now even more accessible to projects that may not have the capital to secure a dedicated parachain slot and gives the opportunity to become a parachain if their application requires high throughput. Although parachains can borrow DOTs from users via a crowd-loan, they may not have the community to start. Using parathreads, any development team can get access to the relay chain and bootstrap their application.

Dedicated parachain slots offer high throughput, but require a large bond for up to two years. Why is this required? Shared security is not free security, and parachains make this bond for the security and access to the throughput of Polkadot. Parathreads have the exact same API and functionality as parachains, but on a “pay as you go” basis.

If you think about Polkadot as a giant computer, parachains are like applications that are in physical memory and highly available. Parathreads are like applications that are on disk and can be copied into memory when needed. For those already familiar with how Bitcoin and Ethereum work, users bid to enter a parathread block into the relay chain similar to how users bid to include a transaction in a Bitcoin or Ethereum block.

Parathread Applications

Parathreads are ideal for three types of applications:

In our development of Polkadot, some teams have expressed concern about the bond required to secure a dedicated parachain slot. Nascent projects may not have the capital to set aside upwards of 20,000 DOTs for two years. Parathreads require a minimal bond (50-100 DOTs) and allow chains to submit a block to the relay chain whenever they have a full batch of transactions, while reaping the full security and connectivity benefits. If the application gains heavy adoption, it can raise the requisite DOTs and upgrade to a full parachain by swapping with an existing parachain.

Another concern with chain interoperability is dependency management. It’s great to have specialized chains to compose your application with, but what happens if one of the chains you use loses its parachain slot? Now, that chain can simply downgrade to a parathread and remain available. This lifecycle will allay fears of losing access to Polkadot.

For some applications, being a parathread simply makes more sense than being a parachain. Namely, these are applications that do not have frequent state updates. Take a domain name service, for example. Read requests come in large numbers, but it would be normal to update the registry on an hourly basis. DNS has no need of Polkadot’s six-second block time. Oracles also make sense as parathreads, say a daily weather or Bitcoin block oracle.

Parathread Economics

Polkadot will reserve some parachain slots for a pool of parathreads. Any number of parathreads can exist in the pool, but only a limited number can execute in each block.

In each relay chain block, parathreads will signal their desire to execute a block by participating in an auction. Parathread collators will tell the validators assigned to the pool how many DOTs they are willing to pay in order to have their block executed and finalized. The pay-per-block model differs from parachains, who have the right to execute a block in every relay chain block by grace of their dedicated slot.

There are several ways that parathreads could fund block execution. For example, they could raise funds and have a DOT account for their chain and give collators use of this account in order to finalize a block when necessary. Alternatively, the parathread could have an inflation model that offers more native tokens to collators as the relay chain progresses. Once the value of the native tokens exceeds the value of the DOTs required to win the auction, the collator will accept the block reward.

Polkadot Landscape

Parathreads are a powerful addition to Polkadot. As they have the same interface as parachains, they are both secured under Polkadot’s shared security and can send and receive messages over XCMP.

Polkadot will be able to support about 100 parachains. Parathreads increases the number of applications that can operate on Polkadot by pooling them to share parachain slots. This will allow more infrastructure chains and improve composability.

One group of parachains will be system-level chains. One of our goals with Polkadot is to have a relay chain without transactions. Proofs of Validity are the only information that would go into relay chain blocks. This means there will be a parachain for DOT transfers, one for governance, one for staking, one for smart contracts, etc.

Another group of parachains will be applications that lease dedicated parachain slots. These will be heavy-use chains like a decentralized exchange or stablecoin chain. For these chains, it is more economical to post a bond to harness the full speed of the relay chain rather than pay per block.

The third group will be parathreads, the majority of applications that need the security and connectivity of Polkadot, but don’t need the full throughput.

Parathreads are a huge step in making Polkadot more accessible and optimizing the resources available on the relay chain. With such a great on-ramp to Polkadot, any team can start developing their application in preparation for Polkadot’s launch with confidence that they can connect to the relay chain and harness the benefits of interoperability.

Start building your parathread with Substrate.

To learn more about parathreads, see the Polkadot Wiki. https://wiki.polkadot.network/en/latest/polkadot/learn/parathreads/


From the blog

How play-to-earn (P2E) is transforming onchain mobile sports gaming

Play-to-earn games are transforming mobile sports gaming. Learn how blockchain, NFTs, and platforms like Polkadot create new opportunities for digital asset ownership and cross-chain gameplay.

Polkadot Token 2049 and Decoded Asia 2024: A multichain ecosystem in action

At Token 2049 and Decoded Asia 2024 in Singapore, Polkadot teams and contributors showcased a multichain future for real-world applications. Key moments included Dr. Gavin Wood’s vision for digital individuality, Chrissy Hill’s regulatory insights, and announcements from emerging projects shaping the Web3 ecosystem.

What is a crypto wallet? Your all-access pass to the future web

In Web3, your wallet is your most valuable digital tool. It’s more than just a place to store, send, and receive cryptocurrencies securely—it’s your passport to the decentralized world.

July 2024: Key network metrics and insights

Welcome to your go-to source for the latest tech updates, key metrics, and discussions within Polkadot, brought to you by the Parity Success Team. This blog series covers a variety of topics, drawing insights from GitHub, project teams, and the Polkadot Forum.

Polkadot 2.0: The rebirth of a network

Polkadot 2.0 reimagines blockchain with a bold rebrand and powerful features: Agile Coretime, Async Backing, and Elastic Scaling. Step into a more flexible, faster, and scalable network. Learn about the improvements and changes that led to this next era of Polkadot.

Meet the Decentralized Futures grant recipients: transforming ideas into impact on Polkadot

The Decentralized Mic is here to spotlight the innovative projects and teams driving Polkadot’s growth. Join us as we explore the achievements of Decentralized Futures grant recipients and their contributions to the Polkadot ecosystem on the new ecosystem community call series.

The ultimate 2024 Polkadot grants and funding guide

Explore Polkadot ecosystem funding: grants, venture capital, bounties, and community initiatives. Discover opportunities for blockchain builders today.

Decoded 2024: Polkadot’s vision for a decentralized future

Polkadot Decoded 2024 in Brussels brought together top blockchain minds to explore the future of Web3. Highlights included Björn Wagner's insights on payments and Dr. Gavin Wood's vision for digital individuality. Showcasing technical breakthroughs and real-world use cases, Polkadot affirmed its leadership in the multi-chain future.

June 2024: Key network metrics and insights

Welcome to your go-to source for the latest tech updates, key metrics, and discussions within Polkadot, brought to you by the Parity Success Team. This blog series covers a variety of topics, drawing insights from GitHub, project teams, and the Polkadot Forum.

Introducing the New Polkadot Ledger App

Discover the new Polkadot Ledger app for seamless, secure transactions. Now available on Ledger Live, it supports Polkadot, Kusama, and more.

Polkadot’s May Ecosystem Insights

Welcome to your go-to source for the latest tech updates, key metrics, and discussions within Polkadot, brought to you by the Parity Success Team. This blog series covers a variety of topics, drawing insights from GitHub, project teams, and the Polkadot Forum.

Top takeaways from the decentralization panel at Consensus

Consensus by Coindesk 2024: a blockbuster success