This is an updated version of the article that was originally published on June 15, 2021. This is designed to be an educational resource and does not discuss the details of any specific crowdloan. Visit the Moonbeam Foundation site for more information about the Moonbeam crowdloan and the Moonriver crowdloan.
Parachain auctions on Polkadot and Kusama mark the beginning of parachain launches (or a renewal of the slot “lease” for each network), which is a monumental achievement. However, the process is also quite complex and deserves some definition and explanation.
Table of Contents
Parachains Help Polkadot Scale
To understand how Polkadot auctions works, it’s important to first understand parachains, which are individual blockchains running in parallel within the Polkadot and Kusama networks.
The Polkadot architecture will be composed of as many 100 parachains that are connected to — and secured by — a central chain known as the Relay Chain. Moonriver is a live parachain on Kusama, and Moonbeam is planned as a parachain on the Polkadot network. For each network, Moonbeam and Moonriver will provide a launchpad for Ethereum projects that want to easily expand to Polkadot without rewriting their codebase.
This kind of specialization on each parachain is made possible by what’s known as “heterogeneous sharding,” which essentially means that each parachain can be unique and different from each other. Just as the Moonbeam parachains are each optimized for the best possible experience when coming from an Ethereum environment, other parachains are designed for specific use cases.
The Role of Polkadot Parachain Auctions
Since these parachains must connect to the Relay Chain to reap the benefits of the network architecture, there needs to be a way to determine which parachains can connect, and in what order. That’s where parachain auctions come in.
A parachain auction is a way for parachains (Substrate-based independent blockchains) to connect to the Polkadot or Kusama Relay Chains via an open, permissionless auction. The purpose of the auctions is to allocate parachain slots to projects that want to operate on either network. The overall objective is to have as many as 100 parachains running concurrently. However, these will open up in batches with 20-30 parachains operational within the first year.
These parachain slots are intentionally scarce to encourage competition and the best possible allocation of fixed Relay Chain resources. By limiting the number of available slots, aspiring parachains must outbid each other to earn a lease, both for the initial launch and again for renewal once the lease period expires. On Kusama, for example, these leases last a maximum of 48 weeks, while Polkadot has a maximum 96-week lease period.
This kind of competition and scarcity is an excellent way to help ensure that the most viable parachains occupy each slot: only successful parachains with traction, active usage, and a viable token economic plan can maintain a slot, while deserted or unsuccessful parachains cede their lease to more promising contenders.
Using Crowdloans to Win a Parachain Auction
This, of course, makes a lot of sense for established projects but doesn’t leave a lot of room for new projects that need a way to pay for the initial parachain lease. That’s where crowdloans come in.
Crowdloans create a way for new projects to win a parachain auction by enlisting the help of their communities to raise the needed tokens. They essentially work like this:
- Community members temporarily lock their tokens (KSM for Kusama, DOT for Polkadot) in support of a particular project. These tokens are kept in a separate crowdloan module, which is on the Relay Chain and not controlled by the project. This helps prevent “rugpulls” by teams with malicious intentions.
- Once the auction is open, the crowdloan module bids on behalf of the parachain project that it supports. Each parachain will be assigned with a campaign ID. Any DOT or KSM locked in this module will bid on behalf of the parachain. As long as an auction is occurring and the crowdloan is open, this bidding will continue to occur until a parachain slot is won.
- Once a parachain slot is won, the parachain lease begins. If a slot is not won by the time the crowdloan ends, the tokens are unlocked and returned to their original owners. On Kusama, these leases began immediately after a slot was won. On Polkadot, these leases will begin in batches of five, with the first five parachains connecting to the network on December 17, 2021.
- For parachains with successful crowdloan campaigns, the contributed tokens will remain locked on the Relay Chain until the lease ends. At that point, the tokens will be returned to the contributors. Most parachains so far have chosen to reward contributors with native project tokens, but those can be distributed throughout the lease period and are not tied to the parachain auction itself.
Importantly, the parachain may not be able to run a second crowdloan and is responsible for continuing to pay for parachain slot occupancy over time. Successful parachains will likely be able to fund the second lease themselves, or run another crowdloan. Unsuccessful parachains may struggle to renew their slot.
The crowdloan functionality serves a few different purposes, in addition to the obvious bootstrapping objective. First, it separates projects themselves from the tokens contributed. This is an important distinction from a direct funding method like a public sale since the contributed tokens can only be used for the purposes of obtaining a slot and must be returned if this goal isn’t achieved. Second, it requires projects to build an enthusiastic community that is willing to support their crowdloan campaign. While this is also a component of other fundraising initiatives outside of Polkadot, the frequent nature of the auctions themselves means that there are many promising projects competing for individuals’ KSM or DOT tokens, which can each only be used to back one project at a time. This competitive spirit and sense of fairness are core to the process.
There is a lot more to these crowdloans and how they work, which we won’t dive into here. If you’re interested, you can read more about the functionality of crowdloans in this article.
How Polkadot Parachain Auctions Actually Work
Now that we’ve walked through the basics of why we need parachain auctions let’s discuss how they actually occur.
To make slot acquisition fair, Kusama and Polkadot will determine the occupants of each available parachain slot via a permissionless candle auction.
Parachain slot auctions follow a candle auction format, which is a variation on the open auction where no fixed end time is given to prevent auction “sniping” (the strategy of bidding at the last moment) for more accurate price discovery. The basic concept is that the candle can theoretically extinguish at any time, adding an element of randomness that encourages projects to deliver their best bids earlier, rather than chancing a final-hour bid that may not be recorded in time before the auction ends. This is all automated on the Relay Chain.
Projects that want to secure a parachain slot can participate in the auction by bidding KSM/DOT tokens in a decentralized candle auction. These can be their own tokens or tokens sourced from their communities in a crowdloan. When tokens are sourced by a crowdloan, participants do not need to actively participate in the day-to-day of the parachain auction once they have contributed to the crowdloan; the crowdloan module does all of that in an automated fashion.
Individual Bids vs. a Crowdloan
There are two main ways to acquire a slot: through a crowdloan or through a private bid.
In a private bid, an individual entity makes the bid for a particular auction. In order to make a private bid, an entity can bid directly, but the amount bid will be bonded until the auction ends. The balances of unsuccessful bids are unreserved once the auction ends. Contributors trust the central entity to set the right amount, provide accurate information for rewards, and return the contribution back if the auction is not successful or the leasing period is over. If projects have gained enough tokens to bid for themselves — with or without external funding — they are able to participate in parachain auctions through this method.
In a crowdloan (as previously outlined), community members contribute tokens to a separate module that bids on a project’s behalf. The crowdloan updates its bid throughout the auction as more contributions are received, always bidding the current balance of contributions. So far, the Kusama crowdloans were scheduled to last the entire duration of the batch of five weekly auctions, which means any contributions received for those projects were added to the projects’ bids in the parachain auction. The Polkadot crowdloans will likely use the same strategy.
A couple of notes on these concepts, though.
You Can’t (Technically) Combine Crowdloans and Private Bids
While it’s not possible to do both a crowdloan and a private bid, a project can act as their own “whale” and contribute large amounts of tokens to their own crowdloan. Otherwise, a crowdloan cannot be combined with a private bid.
Crowdloans Automatically Bid at Auction
It’s also worth mentioning that crowdloans will always bid their full balance, and they will bid for any open auction that meets their lease requirements since projects do not need to bid for the full lease period. For example, on Polkadot, if a crowdloan is set to bid on lease slots 1-5 and the ongoing auction is for lease slots 6-10, then the crowdloan module does not bid.
This also means that crowdloan module bids are always pretty transparent: the number of tokens received through the crowdloan module are bid in their entirety, and the project doesn’t have the ability to abstain from an auction. For private bidders, they do not have to follow these rules and are able to bid at any time for any amount of tokens they have available to bond. However, since the candle auction rules state that the crowdloan will end at a randomly chosen time (more on that later), the private bidders are incentivized to place their best and final bids earlier in the auction process.
Private Bids Can Renew Their Slot After the Lease Ends
Once the parachain lease ends (48 weeks maximum on Kusama, 96 weeks on Polkadot), funds are returned to the contributors. Each project will need new funds to renew their lease. This could mean they run another crowdloan, self-finance from their Treasury, or find alternate sources of tokens to pay for the lease. The crowdloaned tokens can’t be “rolled over” in any way.
However, this process is easier for individual/private bids. For parachains that bid directly to obtain their slot, they can utilize the existing deposit to extend their parachain lease. I’ll note that, depending on competition at the time of the slot renewal, they may need to supplement the lease funding to meet market conditions or adjust the lease period to be shorter.
Polkadot Parachain Auction Schedule
After successfully running parachain auctions on Kusama, the Polkadot community is looking forward to the auctions on Polkadot.
In Motion 118, the Polkadot team announced the schedule of the first auctions, which has passed council and has now gone to public referendum.
The first five auctions will occur one after the other, in succession, each lasting a week. The schedule announced by Polkadot outlined these expected dates:
- Auction 1: From November 11 to 18, 2021. Winning parachain will be announced on November 18, 2021.
- Auction 2: From November 18 to 25, 2021. Winning parachain will be announced on November 25, 2021.
- Auction 3: From November 25, 2021, to December 2, 2021. Winning parachain will be announced on December 2, 2021.
- Auction 4: From December 2 to 9, 2021. Winning parachain will be announced on December 9, 2021.
- Auction 5: From December 9 to 16, 2021. Winning parachain will be announced on December 16.
Winners of the first parachain auctions on Polkadot will be onboarded on December 17, 2021, for the period of December 17, 2021, to October 20, 2023.
More parachain auctions are expected to follow. The initial weekly pace allows completed projects with enthusiastic communities to quickly launch and prove the viability of their parachain before the functionality is rolled out to a broader group of projects.
Polkadot Auction Duration
While each parachain auction is scheduled for seven days, the candle auction format means that the “end” date and time is a bit of a wildcard. This is by design.
The first two days are confirmed to be an “open” period of the auction. Any bids made during this time — either directly or by a crowdloan module — will be safely within the auction period and are certain to be counted as official bids. The following five days, however, fall within the “wick” of this theoretical candle, and the auction will end sometime in this five-day period. However, that random interval of time is determined at the end of the 7-day auction period and applied retroactively, so you won’t actually know in real-time when the auction ends.
Only the remaining projects will proceed to the next auction since the winning parachain has earned their new parachain slot. If the parachains have crowdloan campaigns that remain open, the crowdloan module will automatically begin bidding on the next auction using the balance of contributed tokens to date. Crowdloan contributions continue to accumulate until a parachain slot is won or the crowdloan ends.
Registering for a Slot Auction
When registering for a parachain auction, regardless of whether the parachain will use the crowdloan module or an individual bid, the project must specify the following information:
- Parachain ID/Index (which parachain the bid or crowdloan will support)
- First and Last Slot (the lease is broken into 8 increments, and projects can bid on a partial or full lease period)
For a crowdloan, the team will also need to supply a campaign end date, after which the tokens will be returned to contributors if a slot has not been won, and a cap for overall funds that can be contributed. For a direct bid, the team will need to specify in which auction to bid (Auction Index) and the amount to bid.
A Note on Lease Periods
The lease periods matter in a parachain auction, not only because they determine how long the project will occupy a slot, but also because the Relay Chain is configured to maximize the total amount locked over the entire slot duration. What that means is that, in a scenario with many bids for partial leases, the combination that nets the highest total bid will win. This means it’s possible that the slot will remain unoccupied for some of those periods as long as the bids selected equal the highest possible bid value during that auction without overlapping.
Stages of a Parachain Auction
In theory, all of this sounds a bit abstract. So let’s play out how an actual auction might occur on Polkadot, with the assumptions that we’ve outlined previously regarding a 7-day auction period.
In this example, we have four competing projects: two using the crowdloan functionality (Yellow Parachain and Purple Parachain) and two using a direct bid (Turquoise Parachain and Salmon Parachain).
On Day 1, each project enters its initial bid. Yellow/Purple bid their current crowdloan balance (crowdloans can begin before this period), and Turquoise/Salmon enter their first bid as they wish. After the first day, the standings appear as follows:
- Yellow with 600 DOT (crowdloan)
- Turquoise with 550 DOT (direct bid)
- Salmon with 300 DOT (direct bid)
- Purple with 100 DOT (crowdloan)
You’ll notice over the proceeding days that the balances of the crowdloan-backed projects increase frequently: this is because the crowdloan continues to increase the bid as more tokens are received from the community. Crowdloans are still open and running alongside the auction itself.
While these crowdloan bids occur, the private-bid projects (Turquoise/Salmon) don’t have to enter additional bids. However, after Day 2, it becomes risky to wait since the auction can end at any time.
Finally, on Day 4, Salmon Parachain enters a private bid of 5000 DOT and briefly takes the lead in the auction.
Unfortunately, on Day 5, Salmon Parachain is quickly outbid by a private bid from Turquoise Parachain AND an increased bid from the Purple Parachain crowdloan module.
These antics continue until Day 7 when the highest bid is Purple Parachain with 18,000 DOT. However, importantly, Purple does not win. The winner is Turquoise.
The reason Turquoise wins the parachain auction is because of this reverse “candle auction” approach, which randomly chooses a time interval to retroactively end the auction. In this (very simplistic) example, that interval falls on Day 5, when Turquoise had the highest bid.
Turquoise Parachain wins the slot and is now able to connect to the Kusama network. This will likely happen soon after the slot is won since the lease period begins immediately. After the end of a lease period (eight 6-week periods on Kusama and eight 12-week lease periods on Polkadot), the slot will be available for renewal or for another project to occupy.
The remaining parachains must continue to compete for a slot, assuming their crowdloan modules remain open and the private bidders have the interest in pursuing a slot again, rather than waiting for a less competitive auction.
Moonbeam Crowdloan on Polkadot
This article was written for educational purposes and is not intended to be specific to the Moonbeam crowdloan. If you want to know more about the plans for that program, and how Moonbeam plans to obtain a parachain slot on Polkadot, please refer to the information that has been published on the Moonbeam Foundation website: https://moonbeam.foundation/moonbeam-crowdloan/
Once a parachain slot has been won, you can track the Moonbeam launch status here.
To learn more about Moonbeam, please refer to the Moonbeam page on our website or join one of our social channels: Twitter, Telegram, Discord.