From df30f27b46b3d968f7d6eb39c19e5155a1720342 Mon Sep 17 00:00:00 2001 From: bear Date: Mon, 9 Sep 2024 20:36:04 +0800 Subject: [PATCH 1/3] What is collator staking --- docs/learn/collator-staking.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/docs/learn/collator-staking.md b/docs/learn/collator-staking.md index 8de1a44..35c4803 100644 --- a/docs/learn/collator-staking.md +++ b/docs/learn/collator-staking.md @@ -1,6 +1,20 @@ # Overview -!!! note - The information about the upcoming implementation of Collator Staking DIPs will be updated in this article once those changes are implemented. -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/). \ No newline at end of file +## What is Collator? + +For Ethereum-based chains, the node validator (called miner before the Merge) is not only response for produce new blocks, but also maintaining the security of the chain by communicate with other peers and perform validation to move the consensus process forward. +For the parachains of the Polkadot, the block production and chain security is separated. The parachain's chain consensus security is +managed by the Polkadot, there is another role called collator, which is responsible for accepting transaction and producing new blocks. +If you want to learn more about the Collator, check out the [Collator in Polkadot Wiki](https://wiki.polkadot.network/docs/learn-collator). + +## Collator Staking + +The first step to become a collator is to stake RING tokens in the [Collator Staking App](https://collator-staking.darwinia.network/). +The darwinia chains currently have a fixed number of collators N, that means only the top N collators can be chosen to produce blocks for the networks. The more RING token you staked, the more possibility to become a collator. If you currently don't have enough RING tokens, +you can also participate the staking by nominating(delegating) RING tokens to other collators and get some rewards from the block produce reward. Following the [Staking Guide](../community/guide/staking.md) to finish this step. + +Once the staking is done, next is running the chain nodes in your prepared machine. See the operation guide in the [Collator Node Guide](../node-operators/run-collator-node.md). + +## Staking Design + From 631c7e0505ca59ca41541da6271627ce1b241349 Mon Sep 17 00:00:00 2001 From: bear Date: Tue, 10 Sep 2024 11:27:35 +0800 Subject: [PATCH 2/3] Add staking design --- docs/learn/collator-staking.md | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/docs/learn/collator-staking.md b/docs/learn/collator-staking.md index 35c4803..2bb13e5 100644 --- a/docs/learn/collator-staking.md +++ b/docs/learn/collator-staking.md @@ -3,18 +3,26 @@ ## What is Collator? -For Ethereum-based chains, the node validator (called miner before the Merge) is not only response for produce new blocks, but also maintaining the security of the chain by communicate with other peers and perform validation to move the consensus process forward. -For the parachains of the Polkadot, the block production and chain security is separated. The parachain's chain consensus security is -managed by the Polkadot, there is another role called collator, which is responsible for accepting transaction and producing new blocks. -If you want to learn more about the Collator, check out the [Collator in Polkadot Wiki](https://wiki.polkadot.network/docs/learn-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. -## Collator Staking +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. -The first step to become a collator is to stake RING tokens in the [Collator Staking App](https://collator-staking.darwinia.network/). -The darwinia chains currently have a fixed number of collators N, that means only the top N collators can be chosen to produce blocks for the networks. The more RING token you staked, the more possibility to become a collator. If you currently don't have enough RING tokens, -you can also participate the staking by nominating(delegating) RING tokens to other collators and get some rewards from the block produce reward. Following the [Staking Guide](../community/guide/staking.md) to finish this step. +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). -Once the staking is done, next is running the chain nodes in your prepared machine. See the operation guide in the [Collator Node Guide](../node-operators/run-collator-node.md). +## 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 + 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: + +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. -## Staking Design From d758a677ff87d933480805c9a531dac0f54e1b6c Mon Sep 17 00:00:00 2001 From: bear Date: Tue, 10 Sep 2024 15:49:35 +0800 Subject: [PATCH 3/3] Remove empty lines --- docs/learn/collator-staking.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/learn/collator-staking.md b/docs/learn/collator-staking.md index 2bb13e5..484b22c 100644 --- a/docs/learn/collator-staking.md +++ b/docs/learn/collator-staking.md @@ -23,6 +23,4 @@ Once you've finished staking, the next step is to set up and run the chain nodes The staking system has two types: 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. - - +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. \ No newline at end of file