By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.
Resources
July 11, 2022

Learn how to stake on SwapDEX Community Validators

If you are looking for a "set-it-and-forget-it" approach to leverage your SDX coins, then becoming a SwapDEX nominator is the way to go.

Learn how to stake on SwapDEX Community Validators

Staking - Become a Nominator

If you are looking for a "set-it-and-forget-it" approach to leverage your SDX coins, then becoming a SwapDEX nominator is the way to go. As a nominator, you are participating in the staking system of SwapDEX. Nominators use a specified amount of their funds to "vote" for SwapDEX validators. Validators are network nodes that participate in the consensus and block authoring process. Your job as a nominator is to appoint (stake) your SDX to elect the active set of validators. The active validators list consists of validators that received the most SDX as "votes". If your chosen validator makes it to the active set, he will earn rewards and ideally share them with all of his nominators.

The main difference between a Validator and a Nominator is the active participation in the network. Validators engage in the block production and finality mechanisms, whereas nominators take a more passive role with the above mentioned "set-it-and-forget-it" approach. Being a nominator does not require running a node of your own or worrying about online uptime. However, a good nominator performs due diligence on the validators that they elect. When looking for validators to nominate, a nominator should pay attention to their reward percentage for nominating a specific validator - as well as the risk that they bear of being slashed if the validator gets slashed.

Setting up Controller and Stash Accounts

In this guide, we use the terms "account" and "wallet" interchangeably.

Nominators are recommended to set up two separate stash and controller accounts. Explanation and reasoning for generating distinct accounts for this purpose is elaborated in the keys section of the Wiki.

You can generate your stash and controller account via any of the recommended methods that are detailed on the account generation page.

Payouts can go to any custom address. If you'd like to redirect payments to an account that is neither the controller nor the stash account, set one up. Note that it is extremely unsafe to set an exchange address as the recipient of the staking rewards.

Using SwapDEX Substrate Explorer

Step 1: Bond your coins

On the Substrate Explorer UI navigate to the "Staking" tab (within the "Network" menu).

browser_extension

The "Staking Overview" subsection will show you all the active validators and their information:

  • (1) their identities
  • (2) the amount of SDX that are staking for them
  • (3) amount that is their own provided stake
  • (4) how much they charge in commission
  • (5) the era points they've earned in the current era
  • (6) and the last block number that they produced.

What does oversubscribed mean?

Maximum number of Validators a Nominator is able to stake/delegate to is 16. Validators can receive up to 256 nominations before they are oversubscribed. (76,800 nominations will receive rewards) Once oversubscribed, the amount of SDX nominated is deciding whether you'll receive rewards or not.

If you click on the (7) chart button, it will take you to the "Validator Stats" page for that validator that shows you more detailed and historical information about the validator's stake, rewards, and slashes.

The Account actions subsection allows you to stake and nominate. Pick Account actions underneath Network > Staking, then click the + Nominator button.

browser_extension

You will see a modal window that looks like the below:

Select a value bonded that is less than the total amount of SDX you have, so you have some leftover to pay transaction fees. Transaction fees are currently at least 0.01 SDX, but they are dynamic based on various factors, including a load of recent blocks.

Choose whatever payment destination makes sense to you. If you're unsure, you can choose "Stash account (increase amount at stake)" to simply accrue the rewards into the amount you're staking and earn compound interest.

browser_extension

Step 2: Nominate a Validator

You are now bonded. Being bonded means your tokens are locked and could be slashed if the validators you nominate misbehave. All bonded funds can now be distributed to up to 16 validators. Be careful about the validators you choose since you will be slashed if your validator commits an offense.

Click on Nominate on an account you've bonded, and you will be presented with another popup asking you to select some validators.

Become a Nominator

Select them, confirm the transaction, and you're done - you are now nominating. Your nominations will become active in the next era. Eras last 6 hours on SwapDEX - depending on when you do this, your nominations may become active almost immediately, or you may have to wait nearly the entire 6 hours before your nominations are active. You can check how far along SwapDEX is in the current era on the Staking page.

Assuming at least one of your nominations ends up in the active validator set, you will start to get rewards allocated to you. To claim them (i.e., add them to your account), you must manually claim them. You can do it yourself or have the validator you staked to initiate a claim. This is to help optimize the effectiveness and storage of payouts on SwapDEX. See the Claiming Rewards section of the Staking wiki page for more details.

Congrats! You successfully staked SDX on the substrate side of the SwapDEX Chain

Visit our technical documentation here: https://docs.swapdex.network/what-to-try/nominator/

Petar
Petar

Based in Germany - CTO of SwapDEX and Kusari Network

Subscribe to our email newsletter today!