Skip to content

Staking on Moonbeam

Introduction

Moonbeam uses a block production mechanism based on Polkadot's Proof-of-Stake model, where there are collators and validators. Collators maintain parachains (in this case, Moonbeam) by collecting transactions from users and producing state transition proofs for the relay chain validators.

The candidates in the active set of collators (nodes that produce blocks) are selected based on their stake in the network. And here is where staking comes in.

Collator candidates (and token holders if they delegate) have a stake in the network. The top N candidates by staked amount are chosen to produce blocks with a valid set of transactions, where N is a configurable parameter. Part of each block reward goes to the collators that produced the block, who then shares it with the delegators considering their percental contributions towards the collator's stake. In such a way, network members are incentivized to stake tokens to improve the overall security. Since staking is done at a protocol level through the staking interface, if you choose to delegate, the collators you delegate do not have access to your tokens.

To easily manage staking related actions, you can visit the Moonbeam Network DApp and use the network tabs at the top of the page to easily switch between Moonbeam networks. To learn how to use the DApp, you can check out the How to Stake MOVR Tokens guide or or video tutorial, both of which can be adapted for the Moonbeam and the Moonbase Alpha TestNet.

General Definitions

Some important parameters to understand in relation to the staking system on Moonbeam include:

  • Round — a specific number of blocks around which staking actions are enforced. For example, new delegations are enacted when the next round starts. When bonding less or revoking delegations, funds are returned after a certain amount of rounds
  • Candidates - node operators that are eligible to become block producers if they can acquire enough stake to be in the active set
  • Collators — active set of candidates that are selected to be block producers. They collect transactions from users and produce state transition proofs for the relay chain to validate
  • Delegators — token holders who stake tokens, vouching for specific collator candidates. Any user that holds a minimum amount of tokens as free balance can become a delegator
  • Minimum delegation per candidate — minimum amount of tokens to delegate candidates once a user is in the set of delegators
  • Maximum delegators per candidate — maximum number of delegators, by staked amount, that a candidate can have which are eligible to receive staking rewards
  • Maximum delegations — maximum number of candidates a delegator can delegate
  • Exit delay - an exit delay is the amount of rounds before a candidate or delegator can execute a scheduled request to decrease or revoke a bond, or leave the set of candidates or delegators
  • Reward payout delay - a certain amount of rounds must pass before staking rewards are distributed automatically to the free balance
  • Reward pool - a portion of the annual inflation that is set aside for collators and delegators
  • Collator commission - default fixed percent a collator takes off the top of the due staking rewards. Not related to the reward pool
  • Delegator rewards — the aggregate delegator rewards distributed over all eligible delegators, taking into account the relative size of stakes (read more)
  • Auto-compounding - a setting that automatically applies a percentage of a delegator's rewards to their total amount delegated
  • Slashing — a mechanism to discourage collator misbehavior, where typically the collator and their delegators get slashed by losing a percentage of their stake. Currently, there is no slashing but this can be changed through governance. Collators who produce blocks that are not finalized by the relay chain won't receive rewards

Quick Reference

Variable Value
Round duration 1800 blocks (6 hours)
Minimum delegation per candidate 50 GLMR
Maximum delegators per candidate 300
Maximum delegations 100
Reward payout delay 2 rounds (12 hours)
Add or increase delegation takes effect in the next round (funds are withdrawn immediately)
Decrease delegation delay 28 rounds (168 hours)
Revoke delegations delay 28 rounds (168 hours)
Leave delegators delay 28 rounds (168 hours)
Variable Value
Round duration 600 blocks (2 hours)
Minimum delegation per candidate 5 MOVR
Maximum delegators per candidate 300
Maximum delegations 100
Reward payout delay 2 rounds (4 hours)
Add or increase delegation takes effect in the next round (funds are withdrawn immediately)
Decrease delegation delay 24 rounds (48 hours)
Revoke delegations delay 24 rounds (48 hours)
Leave delegators delay 24 rounds (48 hours)
Variable Value
Round duration 1200 blocks (2 hours)
Minimum delegation per candidate 1 DEV
Maximum delegators per candidate 300
Maximum delegations 100
Reward payout delay 2 rounds (4 hours)
Add or increase delegation takes effect in the next round (funds are withdrawn immediately)
Decrease delegation delay 2 rounds (4 hours)
Revoke delegations delay 2 rounds (4 hours)
Leave delegators delay 2 rounds (4 hours)

Note

As of runtime 3000, asynchronous backing has been enabled on all Moonbeam networks. As a result, the target block time was reduced from 12 seconds to 6 seconds, which may break some timing-based assumptions.

To learn how to get the current value of any of the parameters around staking, check out the Retrieving Staking Parameters section of the How to Stake your Tokens guide.

If you're looking for candidate or collator-specific requirements and information, you can take a look at the Collators guide.

Resources for Selecting a Collator

There are a few resources you can check out to help you select a collator to delegate:

Variable Value
Stake GLMR Dashboard Stake GLMR
Collators Leaderboard Moonscan
Staking Simulation Dashboard Web3Go
Collator Dashboard DappLooker
Variable Value
Stake MOVR Dashboard Stake MOVR
Collators Leaderboard Moonscan
Staking Simulation Dashboard Web3Go
Collator Dashboard DappLooker
Variable Value
List of candidates Moonbase Alpha Subscan

Note

The DappLooker Collator dashboard for Moonriver is experimental beta software and may not accurately reflect collator performance. Be sure to do your own research before delegating to a collator.

General Tips

  • To optimize your staking rewards, you should generally choose a collator with a lower total amount bonded. In that case, your delegation amount will represent a larger portion of the collator’s total stake and you will earn proportionally higher rewards. However, there is a higher risk of the collator being kicked out of the active set and not earning rewards at all
  • The minimum bond for each collator tends to increase over time, so if your delegation is close to the minimum, there is a higher chance you might fall below the minimum and not receive rewards
  • Spreading delegations between multiple collators is more efficient in terms of rewards, but only recommended if you have enough to stay above the minimum bond of each collator
  • You can consider collator performance by reviewing the number of blocks each collator has produced recently
  • You can set up auto-compounding which will automatically restake a specified percentage of your delegation rewards

Reward Distribution

Rewards for collators and their delegators are calculated at the start of every round for their work prior to the reward payout delay. For example, on Moonriver the rewards are calculated for the collators work from 2 rounds ago.

The calculated rewards are then paid out on a block-by-block basis starting at the second block of the round. For every block, one collator will be chosen to receive their entire reward payout from the prior round, along with their delegators, until all of the rewards have been paid for that round. For example, if there are 72 collators who produced blocks in the prior round, all of the collators and their delegators would be paid by block 73 of the new round.

You can choose to auto-compound your delegation rewards so you no longer have to manually delegate rewards. If you choose to set up auto-compounding, you can specify the percentage of your rewards to be auto-compounded and they'll automatically be added to the delegation in which you received the rewards from.

Annual Inflation

The distribution of the annual inflation goes as follows:

Variable Value
Annual inflation 5%
Rewards pool for collators and delegators 50% of the annual inflation
Collator commission 20% of the annual inflation
Parachain bond reserve 30% of the annual inflation
Variable Value
Annual inflation 5%
Rewards pool for collators and delegators 50% of the annual inflation
Collator commission 20% of the annual inflation
Parachain bond reserve 30% of the annual inflation
Variable Value
Annual inflation 5%
Rewards pool for collators and delegators 50% of the annual inflation
Collator commission 20% of the annual inflation
Parachain bond reserve 30% of the annual inflation

From the rewards pool, collators get the rewards corresponding to their stake in the network. The rest are distributed among delegators by stake.

Calculating Rewards

Mathematically speaking, for collators, the reward distribution per block proposed and finalized would look like this:

Staking Collator Reward

Where amount_due is the corresponding inflation being distributed in a specific block, the stake corresponds to the number of tokens bonded by the collator in respect to the total stake of that collator (accounting delegations).

For each delegator, the reward distribution (per block proposed and finalized by the delegated collator) would look like this:

Staking Delegator Reward

Where amount_due is the corresponding inflation being distributed in a specific block, the stake corresponds to the amount of tokens bonded by each delegator in respect to the total stake of that collator.

Risks

Holders of MOVR/GLMR tokens should perform careful due diligence on collators before delegating. Being listed as a collator is not an endorsement or recommendation from the Moonbeam Network, the Moonriver Network, or Moonbeam Foundation. Neither the Moonbeam Network, Moonriver Network, nor Moonbeam Foundation has vetted the list collators and assumes no responsibility with regard to the selection, performance, security, accuracy, or use of any third-party offerings. You alone are responsible for doing your own diligence to understand the applicable fees and all risks present, including actively monitoring the activity of your collators.

You agree and understand that neither the Moonbeam Network, the Moonriver Network, nor Moonbeam Foundation guarantees that you will receive staking rewards and any applicable percentage provided (i) is an estimate only and not guaranteed, (ii) may change at any time and (iii) may be more or less than the actual staking rewards you receive. The Moonbeam Foundation makes no representations as to the monetary value of any rewards at any time.

Staking MOVR/GLMR tokens is not free of risk. Staked MOVR/GLMR tokens are locked up, and retrieving them requires a 2 day/7 day waiting period . Additionally, if a collator fails to perform required functions or acts in bad faith, a portion of their total stake can be slashed (i.e. destroyed). This includes the stake of their delegators. If a collators behaves suspiciously or is too often offline, delegators can choose to unbond from them or switch to another collator. Delegators can also mitigate risk by electing to distribute their stake across multiple collators.

Last update: June 24, 2024
| Created: March 15, 2021