Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collator staking doc #104

Merged
merged 3 commits into from
Sep 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions docs/learn/collator-staking.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
# Overview


## What is Collator?

For Ethereum-based chains, the node validator (previously referred to as a miner before the Merge) plays a dual role: not only is it responsible for producing new blocks, but it also maintains the security of the chain by communicating with other peers and performing validations to advance the consensus process.

In contrast, for Polkadot parachains, block production and chain security are separate responsibilities. The security of the parachain's consensus is managed by Polkadot, while a distinct role called a collator is responsible for accepting transactions and producing new blocks.

If you're interested in learning more about collators, you can find additional information in the [Collator section of the Polkadot Wiki](https://wiki.polkadot.network/docs/learn-collator).

## Become a Collator

To become a collator, the first step is to stake RING tokens using the [Collator Staking App](https://collator-staking.darwinia.network/). Currently, the Darwinia chains have a fixed number of collators (N), which means only the top N collators are selected to produce blocks for the network. The more RING tokens you stake, the higher your chances of becoming a collator. If you don't have enough RING tokens, you can still participate in staking by nominating (delegating) your RING tokens to other collators and earning a portion of the block production rewards. Follow the [Staking Guide](../community/guide/staking.md) to complete this step.

Once you've finished staking, the next step is to set up and run the chain nodes on your machine. Refer to the [Collator Node Guide](../node-operators/run-collator-node.md) for detailed operation instructions.

## Collator Staking Design

!!! note
The information about the upcoming implementation of Collator Staking DIPs will be updated in this article once those changes are implemented.
Following the implementation of DIP-7, the staking system was rewritten as a set of smart contracts, replacing the Substrate pallet. For more information on the reasoning behind this change, please refer to the [DIP-7 specification](https://dips.darwinia.network/DIPs/dip-7.html).

The staking system has two types:

Collator staking involves participants locking up their RING tokens to support the network’s operations and security through a nomination mechanism. In this system, users can participate either as nominators or collators to help the chain's liveness, earning rewards in return. To get started with the DApp, visit [Collator Staking App](https://collator-staking.darwinia.network/).
1. Direct RING token staking: This is the most straightforward way to stake, and the reward you receive is based on the amount of tokens you stake.
2. Deposit-based staking: By depositing RING tokens, you can receive a bonus in the form of [KTON](../community/orgs/ktondao.md) tokens. Additionally, the deposited tokens can be considered part of the amount you staked, allowing you to receive more rewards.
Loading