Add a Validator
Add a validator to your Avalanche L1.
To add a validator to your Avalanche L1, you need to call the initiateValidatorRegistration
function on the ValidatorManager
contract.
This function will kick off the registration process for a new validator. The process includes the following steps:
- The L1 emits a
L1ValidatorRegistrationMessage
Warp message in the transaction logs. - Request an aggregated signature of the message from the L1's validators.
- Submit the signed message to the P-Chain in a
L1ValidatorRegistration
transaction. - The wait for the transaction to be committed on the P-Chain.
- Construct a
RegisterL1ValidatorMessage
Warp message. - Request an aggregated signature of the
RegisterL1ValidatorMessage
Warp message from the L1's validators. - Submit the signed
RegisterL1ValidatorMessage
to theValidatorManager
contract in acompleteValidatorRegistration
transaction.
In short, the L1 does a round trip message with the P-Chain to register the validator.

Add New Validator
Add a validator to your L1 by following these steps in order.
Select L1 Subnet
Choose the L1 subnet where you want to add the validator.
Add Validator Details
Add the validator details including node credentials and configuration.
Click the copy button to copy the command and run it in your node's terminal to get the node credentials.
Paste the JSON response below:
Initiate Validator Registration
Submit the validator registration transaction to the blockchain.
Sign Warp Message & Submit to P-Chain
Sign the warp message and submit the validator registration to the P-Chain.
Sign P-Chain Warp Message & Complete Registration
Complete the validator registration by signing the P-Chain warp message.

Is this guide helpful?