logo

Staking Guide

This tutorial will guide you through the process of staking test tokens (ORING & OKTON & Deposit) on the Pangoro Testnet using the staking Dapp built by the Darwinia Dev Team. The staking Dapp is compatible with Pangolin Testnet, Pangoro Testnet (for demo purposes), Crab, and Darwinia. Be sure to select Pangoro Testnet if you want to stake test tokens (ORING & OKTON & Deposit). If you want to stake Darwinia tokens (RING & KTON & Deposit) on Darwinia, or Crab tokens (CRAB & CKTON & Deposit) on Crab (which will be deployed in the near future), this tutorial also works; just switch to the appropriate network.

Get started with the dashboard

To get started with the dashboard, navigate to staking.darwinia.network. You’ll be prompted to connect to MetaMask.
MetaMask will pop up and ask you to sign in. Once signed in, you will be prompted to select the account to connect to the Dapp and accept permissions.
You will also need to add Pangoro Testnet as a custom network in MetaMask. The Dapp will help you switch to the right network.
Image without caption
Upon accepting permissions and changing the network to Pangoro Testnet, you will be redirected to the main dashboard where you’ll find details about the staking data.

How to stake

Token holders can delegate a collator candidate by staking tokens and adding to the collator's stake. In return, the collator will share the rewards received from producing blocks amongst all of their delegators. For more information on reward distribution, check out our documentation on staking reward distribution.
💡
Please Note: You will be able to stake ORING, OKTON and Deposit on Pangoro Testnet.
To obtain the Deposit, you need to lock your ORING for a certain period of time.
Image without caption
Staking involves two steps: delegating a candidate and staking your own tokens to them. Once these steps are completed, the stake operation will take effect.

Example

For the purpose of staking operations, we will use the following account as an example:
0xe485DfCDA94dD8F04E12F76D1b98cB0D33273758
If you click on the Select a collator button, the collator menu will open up and you will be able to see data for each of the collators in the active and waiting pools.
Image without caption
You can toggle between the Active Pool tab, which contains collators who are producing blocks and earning rewards, and the Waiting tab, which contains collators who are not yet producing blocks or earning rewards.
To initiate a stake, simply click on the collator you would like to delegate. Next, you’ll need to:
  1. Verify that you selected the correct collator and the address looks correct.
  1. Enter the amount of tokens you would like to stake. This example uses 100 ORING tokens, 0.1 OKTON, and 1 Deposit.
  1. Click Stake.
MetaMask will pop-up and you will be prompted to sign a transaction.
Image without caption
Once the transaction has been confirmed and you receive the transaction confirmed notification, the dashboard will update to include the delegation.
Image without caption
If you check your MetaMask account, you will see that your balance has decreased by the amount of tokens staked (plus gas fees). Please note that it could take a couple of minutes for MetaMask to reflect any changes to the free balance. And you will be able to see the tokens your staked(bonded) tokens on the dashboard.
Image without caption

How to make changes to delegation

How to bond more funds

  1. Click the + icon next to the token you want to modify.
  1. Specify the amount you would like to increase your delegation by. In this case, we are increasing our bond by 100 ORING.
  1. Click Bond.
Image without caption

How to reduce funds

  1. Click on the icon next to the token you want to modify.
  1. Enter the amount you would like to reduce your bond by. In this case, we are reducing our bond by 0.01 OKTON.
  1. Press Unbond.
Image without caption
You will be prompted to sign a transaction in MetaMask.
Once the transaction has been confirmed and you receive the Transaction confirmed notification, the dashboard will update, and if you hover over the token, it can show you a message that when will the unbonding tokens can be released. At this time, you have the option to cancel this unbonding request or wait 14 days to release the tokens manually.
Image without caption
Once the 14 days unbonding period has passed(on Darwinia and Crab it is usually 14 days, but on Pangolin and Pangoro Testnets it is usually shorter, probably only a few minutes), you can return to this staking dashboard and release the unbonded tokens, after which you will see the unbonded funds in your free balance on MetaMask.

How to undelegate

Undelegating usually involves two steps: undelegating of the collator and unbonding the tokens that were previously bonded in the stake. To undelegate, click the Undelegate button. This action will take effect immediately. Then, press the Unbond all button to unbond the tokens. This will initiate the 14-day unbonding period. After the period is over, you will need to manually release the tokens before they can be transferred.
Image without caption
That’s it! Now you’ve successfully delegated a collator, updated the delegation amount, and then removed the delegation. You have all the tools necessary to get started with staking on Darwinia, Crab, Pangoro Testnet, and Pangolin Testnet!

Powered by Notaku