Tutorial

How to deploy a PolkadotValidator Node on Ankr

Set up Polkadot Validator Node on Ankr

1. Head to app.ankr.com to deploy and click the Deploy A Node button.

2. Search or scroll down to find the Polkadot card, hover over it and press Deploy button next to label Validator Node.

3. Now you are taken to the configuration page. The hardware configuration is already set at the optimal system requirements, but you are allowed to increase the specifications if you wish to do so by using Advanced button.

4. The platform also recommends a cluster, which is usually the one that has the most freely available resources. In this particular case, the recommended cluster is the Singapore cluster, but another cluster may be recommended depending on your location.

5. The Project Name for use in the Ankr application is pre-filled. You can change it if you want.

6. Select the Payment Method, choose the number of months you want to run the node by moving the slider. The price and discount will increase when you extend the run time.

If later on, you want to extend the node’s run time, you can add funds at any time

7. Click Proceed to payment

8. Select payment method (USDT, ANKR erc20 or add your credit card)

9. For this tutorial we will choose Add New Credit Card

10. Provide all requested information and click Pay with Credit Card

11. If all information is provided successfully the deployment will of the node will start. Deployment in progress will take approx. 5 minutes.

12. The node is now deployed and will start syncing with the Polkadot network which will finish soon after deployment.

PLEASE NOTE: to become a validator own stake is at least 0.01 DOT and total stake is larger than 17K DOT

For all details please use the official guide by Polkadot to configure your node and become a validator

13. Bond your DOTs

Note: Transfers are disabled during the soft launch phase of Polkadot. This means that if you are setting up a validator during this time you may not be able to make your stash and controller two separate accounts, as is recommended. You must make them the same account, meaning that you will bond the account to itself. However it is highly recommended that you change your controller as soon as possible.

It is highly recommended that you make your controller and stash accounts be two separate accounts. For this, you will create two accounts and make sure each of them have at least enough funds to pay the fees for making transactions. Keep most of your funds in the stash account since it is meant to be the custodian of your staking funds.

Make sure not to bond all your DOT balance since you will be unable to pay transaction fees from your bonded balance.

It is now time to set up our validator. We will do the following:

  • Bond the DOTs of the Stash account. These DOTs will be put at stake for the security of the network and can be slashed.

  • Select the Controller. This is the account that will decide when to start or stop validating.

First, go to the Staking section. Click on "Account Actions", and then the "New stake" button.

14. You need to tell the chain your Session keys by signing and submitting an extrinsic. This is what associates your validator with your Controller account.

Go to Staking > Account Actions, and click "Set Session Key" on the bonding account you generated earlier.

The Session Key can be found on the manage page, you can copy the value.

15. Past the Session Key value from the Ankr app and "Set Session Key"

13. To verify that your node is live and synchronised, head to Telemetry and find your node. Note that this will show all nodes on the Polkadot network, which is why it is important to select a unique name!

16. If everything looks good, go ahead and click on "Validate" in Polkadot UI.

17. If you go to the "Staking" tab, you will see a list of active validators currently running on the network. At the top of the page, it shows the number of validator slots that are available as well as the number of nodes that have signaled their intention to be a validator. You can go to the "Waiting" tab to double check to see whether your node is listed there.

18. The validator set is refreshed every era. In the next era, if there is a slot available and your node is selected to join the validator set, your node will become an active validator. Until then, it will remain in the waiting queue. If your validator is not selected to become part of the validator set, it will remain in the waiting queue until it is. There is no need to re-start if you are not selected for the validator set in a particular era. However, it may be necessary to increase the number of DOTs staked or seek out nominators for your validator in order to join the validator set.