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:

  1. The L1 emits a L1ValidatorRegistrationMessage Warp message in the transaction logs.
  2. Request an aggregated signature of the message from the L1's validators.
  3. Submit the signed message to the P-Chain in a L1ValidatorRegistration transaction.
  4. The wait for the transaction to be committed on the P-Chain.
  5. Construct a RegisterL1ValidatorMessage Warp message.
  6. Request an aggregated signature of the RegisterL1ValidatorMessage Warp message from the L1's validators.
  7. Submit the signed RegisterL1ValidatorMessage to the ValidatorManager contract in a completeValidatorRegistration transaction.

In short, the L1 does a round trip message with the P-Chain to register the validator.

Logo

Add New Validator

Add a validator to your L1 by providing the required details

Add New Validator

Add a validator to your L1 by pasting the JSON response from your node

Add Validator

Click the copy button to copy the command and run it in your node's terminal to get the node credentials.

curl -X POST --data '{"jsonrpc":"2.0","id":1,"method":"info.getNodeID"}' -H "content-type:application/json;" 127.0.0.1:9650/ext/info

Paste the JSON response below:

Select a valid L1 subnet

Is this guide helpful?

On this page

No Headings