Get Started with building blockchains (2024)

Docs

Run a Node on Avail

Become a Validator

Stake your validator

This guide offers a step-by-step walkthrough on how to stake your Avail validator.It covers essential steps such as bonding your funds, managing session keys, and initiating the validation process.

BEFORE YOU START
This chapter continues from the 'Session Keys' page, so be sure to read that one before proceeding with this one.

Step 1: Prepare for Staking

Before you can become an active validator, you need to bond your funds to your node. This involves creating two separate Avail accounts: a stash account for holding your funds and a controller account for managing staking actions.

Create Avail Accounts

  1. Navigate to the Avail network explorer at (opens in a new tab) and choose the correct network.
  2. Create a stash account.

Get Started with building blockchains (1)

Bond Your Funds

💡

BONDING TIPS
Don't bond all your AVAIL tokens as you'll need some for transaction fees. You can always bond more tokens later.Note: Withdrawing any bonded amount is subject to the duration of the unbonding period.

  1. Navigate to the Staking tab in the Explorer.
  2. Click on Stash to initiate the bonding process.

Get Started with building blockchains (2)
  1. Fill in the bonding preferences. Then click Bond and Sign and Submit.

⚠️

You need at least 50,000 AVAIL to join waiting list.

Step 2: Manage Session Keys

After your node is fully synced, you'll need to rotate and submit your session keys.

Rotating Session Keys

Run the following command on your node machine:

Ensure the node is running with the default HTTP RPC port configured.

Using Binaries:

curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9944

The result is the concatenation of the four public keys. Save the hex-encodedresult for the next step and restart your node.

Using Docker:

docker ps

You should an output similar to:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESda097bbeba75 availj/avail:v1.8.0.4 "/entrypoint.sh" 3 seconds ago Up 3 seconds 0.0.0.0:9615->9615/tcp, :::9615->9615/tcp, 0.0.0.0:9944->9944/tcp, 0.0.0.0:30333->30333/tcp, :::9944->9944/tcp musing_cartwright

We need the CONTAINER ID from the output above:

docker exec -i da097bbeba75 curl -sH "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9944

Submit Session Keys

You must inform the network of your Session keys by signing and submitting thesetKeys extrinsic. This action associates your validator with your Controller account.

  1. Navigate back to the (opens in a new tab) tab.
  2. Click on Set Session Key and enter the hex-encoded result.
  3. Click Set Session Key and enter your password when prompted.
Get Started with building blockchains (3)

After submitting the extrinsic, you'll observe that Set Session Key changesto Validate. Make sure your node is fully synchronized before proceeding further.

Step 3: Register as a Validator

  1. Click Validate on the Staking tab.
Get Started with building blockchains (4)
  1. Set your validator commission percentage.
  2. Enter your password and click Validate.
Get Started with building blockchains (5)

Step 4: Start Validation

Your validator is now prepared to begin the validation process. If you wish to discontinue,you can click the stop icon. Please note that the Avail interface doesn't automatically verifyif your node is synchronized; you'll need to confirm this manually. If your node has sufficientstake, the Avail blockchain will likely select it in the next epoch or two.

Get Started with building blockchains (6)

Verify Validator Status

To verify that your node is ready for possible selection at the end ofthe next era, follow these steps:

  1. Go to the (opens in a new tab) tab andselect Waiting to see if your account appears.
  2. If your node has enough stake, it will be elected in the next era or two.

    A new set of validators is chosen every era, based on the amount staked.

Get Started with building blockchains (7)

Monitor Validator in Action

Once your validator node has accrued enough stake, it will be elected for validation.Below is an example image of an elected validator node actively producing blocks.

In addition, please check out the guide on validator monitoring availablehere.

Get Started with building blockchains (8)

Next Steps

Congratulations on successfully setting up your Avail Validator node!You should be seeing something like this:


Get Started with building blockchains (9)

As you move forward, here are some essential actions to consider:

  1. Backup Your Validator: Ensure you have a secure backup of your validator settings and keys. Refer to theBackup Guide for detailed steps.

  2. Start Monitoring: If you haven't already, set up monitoring tools to keep track of your validator's performance. Check out the Monitoring Guide for recommendations.

  3. Join the Community: Connect with other validators and the Avail team on the official (opens in a new tab). It's a great place to share experiences, ask questions, and get updates.

Session KeysBackup your validator
Get Started with building blockchains (2024)
Top Articles
[SPayLater] What are the terms for payment by SPayLater? (ENG) | Shopee PH Help Center
A Comprehensive Guide to Ballistic Helmets
What Did Bimbo Airhead Reply When Asked
Public Opinion Obituaries Chambersburg Pa
Terrorist Usually Avoid Tourist Locations
Pieology Nutrition Calculator Mobile
ds. J.C. van Trigt - Lukas 23:42-43 - Preekaantekeningen
Lichtsignale | Spur H0 | Sortiment | Viessmann Modelltechnik GmbH
Mikayla Campino Video Twitter: Unveiling the Viral Sensation and Its Impact on Social Media
Ncaaf Reference
Geometry Escape Challenge A Answer Key
Revitalising marine ecosystems: D-Shape’s innovative 3D-printed reef restoration solution - StartmeupHK
Oriellys St James Mn
Hmr Properties
Sports Clips Plant City
Chris Hipkins Fue Juramentado Como El Nuevo Primer Ministro De...
Oro probablemente a duna Playa e nomber Oranjestad un 200 aña pasa, pero Playa su historia ta bay hopi mas aña atras
State HOF Adds 25 More Players
Lake Nockamixon Fishing Report
Uktulut Pier Ritual Site
Officialmilarosee
SF bay area cars & trucks "chevrolet 50" - craigslist
Rural King Credit Card Minimum Credit Score
Www.craigslist.com Savannah Ga
Cb2 South Coast Plaza
Marquette Gas Prices
Grave Digger Wynncraft
Jackass Golf Cart Gif
Big Boobs Indian Photos
Lilpeachbutt69 Stephanie Chavez
Marlene2295
Christmas Days Away
The Rise of "t33n leaks": Understanding the Impact and Implications - The Digital Weekly
Compress PDF - quick, online, free
Andhra Jyothi Telugu News Paper
Tirage Rapid Georgia
Restored Republic June 6 2023
The power of the NFL, its data, and the shift to CTV
Winta Zesu Net Worth
Wordle Feb 27 Mashable
Expendables 4 Showtimes Near Malco Tupelo Commons Cinema Grill
Lady Nagant Funko Pop
Dying Light Mother's Day Roof
Michaelangelo's Monkey Junction
Zadruga Elita 7 Live - Zadruga Elita 8 Uživo HD Emitirani Sat Putem Interneta
Bluebird Valuation Appraiser Login
Dmv Kiosk Bakersfield
Booked On The Bayou Houma 2023
Guidance | GreenStar™ 3 2630 Display
Latest Posts
Article information

Author: Annamae Dooley

Last Updated:

Views: 5769

Rating: 4.4 / 5 (65 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Annamae Dooley

Birthday: 2001-07-26

Address: 9687 Tambra Meadow, Bradleyhaven, TN 53219

Phone: +9316045904039

Job: Future Coordinator

Hobby: Archery, Couponing, Poi, Kite flying, Knitting, Rappelling, Baseball

Introduction: My name is Annamae Dooley, I am a witty, quaint, lovely, clever, rich, sparkling, powerful person who loves writing and wants to share my knowledge and understanding with you.