How To Set Up A Validator For Polkadot On OnFinality (2024)

How To Set Up A Validator For Polkadot On OnFinality (1)

OnFinality is a blockchain infrastructure platform that saves web3 builders time and makes their lives easier. We deliver easy-to-use, reliable and scalable API endpoints for the biggest blockchain networks and empower developers to automatically test, deploy, scale and monitor their own blockchain nodes in minutes.

We are already supporting over 60 networks across Layer-1 ecosystems such as Ethereum, Polkadot, Avalanche and Cosmos, and are continuously expanding these mission-critical services to other ecosystems to help developers build the decentralised future, faster!

Introduction

In this How-To Guide, you will learn how to set up your own Validator for Polkadot, which will enable you to start staking and earning rewards on the network. This guide should be used alongside the official Polkadot documentation which is kept up to date and more detailed.

What is Polkadot? ($DOT)

Polkadot unites and secures a growing ecosystem of specialised blockchains called parachains. Apps and services on Polkadot can securely communicate across chains, forming the basis for a truly interoperable decentralised web.

Why Run A Validator For Polkadot

As with all Proof-of-Stake networks, Validators on Polkadot are crucial in securing the network, and can earn rewards by helping to validate blocks.

Useful Links

Run A Validator (Polkadot) — Polkadot Wiki

Disclaimer

Running a Collator or Validator comes with a high risk and requires a high level of technical knowledge and skill. As per our Terms of Service, OnFinality is neither responsible for any rewards nor losses, such as from slashing, incurred when running a Validator or Collator node on OnFinality. Users should read and fully understand the relevant documentation for the Network before setting up the node, and get in touch directly with the Network if they have any questions or concerns.

Create an account and log in to OnFinality, then add a payment method.

Select the Dedicated Nodes menu and press “Deploy New Node”

How To Set Up A Validator For Polkadot On OnFinality (3)

2.1 Select Network

Search for Polkadot and then click “Deploy Node”

How To Set Up A Validator For Polkadot On OnFinality (4)

2.2 Configure Polkadot Node

Enter an easily identifiable Display Name and select the Validator Node Type. Select the latest Image Version.

How To Set Up A Validator For Polkadot On OnFinality (5)

Scroll down to set the Cloud Provider and Region where you will run the node. Networks may have a preference of where you should run your validator or collator, so check with their official documentation.

Look out for the Lightning Restore indicator to get the node running as fast as possible.

How To Set Up A Validator For Polkadot On OnFinality (6)

Use at least the recommended configuration suggested by the network, then press “Next”

How To Set Up A Validator For Polkadot On OnFinality (7)

2.3 Configure Launch Arguments

Next, review the node’s Launch Configuration. The recommended settings are usually sufficient, but we recommend comparing with Polkadot’s own documentation to be certain.

How To Set Up A Validator For Polkadot On OnFinality (8)

Press “Next”

2.4 Review Node

Finally, review the node’s settings and press “Deploy Node”

How To Set Up A Validator For Polkadot On OnFinality (9)

Once your node is successfully deployed, you can find it in the “Dedicated Nodes” section on our portal. Click on your node and confirm the following:

  • Relay chain/parachain blocks are syncing appropriately
  • No configuration errors in the console log. You can find your console by clicking on “Console logs” on the top right hand.
  • CPU, Memory, and Storage are within reasonable range of use.

You can cross-reference the respective network blocks on the PolkadotJS App.

How To Set Up A Validator For Polkadot On OnFinality (10)

To run a validator you will need to set up two accounts:

Stash account

This account holds funds bonded for staking, but delegates some functions to the Controller account. It can be kept in a cold wallet, meaning it can stay offline all the time.

Controller account

This account acts on behalf of the Stash account, signalling decisions and necessary execution for staking. It only needs enough funds to pay transaction fees.

Follow the Polkadot instructions to Set Up Your Stake.

Session keys are what links the validator or collator to your account.

First, locate your Dedicated Node’s RPC endpoints under API Endpoints. Access is secured by an API Key at the end of the URL, so keep it safe and private.

How To Set Up A Validator For Polkadot On OnFinality (11)

Option 1 — Polkadot-JS:

Copy your RPC — Websocket endpoint into the Polkadot-JS Custom Endpoint and press save to connect to the node

How To Set Up A Validator For Polkadot On OnFinality (12)

Navigate to Developer > RPC Calls and submit an author rotateKeys call.

How To Set Up A Validator For Polkadot On OnFinality (13)

Record the result.

Option 2 — CLI:

Generate the session keys on your Dedicated Node via the author_rotateKeys RPC Request, using your Dedicated Node’s RPC — Http url.

Example request

curl **Node’s RPC Http endpoint here** -H \ “Content-Type:application/json;charset=utf-8” -d \

‘{

“jsonrpc”:”2.0",

“id”:1,

“method”:”author_rotateKeys”,

“params”: []

}’

You will get a response like this

{

“jsonrpc”: “2.0”, “result”:”0xc05a9d093e4db4c1bde31977716e7a0a39d6f3d1f1bf749e7fec8371147de730af6860aeef81a11130c9fcd317b96e736f6c36141c28f382a18f9faf6e7df797eaa951ead00d12db10937003f0956e3d3444d1774d452ed045dbc1b84d1bf1471abf5d77bf5033845f01be1188a852c6f0ba703042b4d06d14314841c1096c50",

“id”:1

}

The content after “result” is the session keys of your validator node.

In polkadot-js, Open Network > Staking

How To Set Up A Validator For Polkadot On OnFinality (14)

Next, you will need to link the session keys to your account on-chain using the response from author_rotateKeys.

How To Set Up A Validator For Polkadot On OnFinality (15)

Click “Session Keys” and enter the session keys from step 5

How To Set Up A Validator For Polkadot On OnFinality (16)

Finally, you will need to configure your validator’s settings, such as the session keys, stake value, and commission, on chain.

Click “Validate”

How To Set Up A Validator For Polkadot On OnFinality (17)

Set the value of reward commission percentage, which is the rate that your validator will be commissioned with. The remaining rewards will be split among your nominators.

How To Set Up A Validator For Polkadot On OnFinality (18)

Choose whether to accept new nominations and Click “Bond & Validate”.

How To Set Up A Validator For Polkadot On OnFinality (19)

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.

How To Set Up A Validator For Polkadot On OnFinality (20)

If you have followed all of these steps, and been selected to be a part of the validator set, you are now running a Polkadot validator!

More Resources:

Developer documentation: https://documentation.onfinality.io/support/

About OnFinality

OnFinality is a blockchain infrastructure platform that saves web3 builders time and makes their lives easier. OnFinality delivers scalable API endpoints for the biggest blockchain networks and empowers developers to automatically test, deploy, scale and monitor their own blockchain nodes in minutes. To date, OnFinality has served over 287 billion RPC requests across 60 networks including Polkadot, Ethereum, Moonbeam, Astar, Avalanche and Cosmos, and is continuously expanding these mission-critical services so developers can build the decentralised future, faster!

App | Website | Twitter | Telegram | LinkedIn | YouTube

How To Set Up A Validator For Polkadot On OnFinality (2024)
Top Articles
Dave Ramsey: Invest $100 a Month To Become a Millionaire in Retirement
How To Open an Online Brokerage Account in 2024
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
Things To Do In Atlanta Tomorrow Night
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Dmv In Anoka
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
Latest Posts
Article information

Author: Geoffrey Lueilwitz

Last Updated:

Views: 6082

Rating: 5 / 5 (80 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Geoffrey Lueilwitz

Birthday: 1997-03-23

Address: 74183 Thomas Course, Port Micheal, OK 55446-1529

Phone: +13408645881558

Job: Global Representative

Hobby: Sailing, Vehicle restoration, Rowing, Ghost hunting, Scrapbooking, Rugby, Board sports

Introduction: My name is Geoffrey Lueilwitz, I am a zealous, encouraging, sparkling, enchanting, graceful, faithful, nice person who loves writing and wants to share my knowledge and understanding with you.