Skip to main content

Run a Validator

To participate in the consensus process in the Aptos mainnet, you must deploy and run a validator node and a validator fullnode. Optionally you can also run a public fullnode. This document presents a high-level conceptual overview of the important steps involved in deploying the nodes for validation.

Before initializing a staking pool or delegation pool, read about Staking and Delegated Staking to learn the difference between the stake pool types. Note that once a stake pool has been created, it cannot be changed to a delegation pool or vice versa.

See also the external resources for tools and services offered by your fellow node operators.

1

Read the node requirements.

Select a deployment method. Use on-premises or cloud services.

2

Generate identity for nodes.

Account address and private and public keys come to exist.

3

Configure validator and validator fullnode.

Establishes network identity for the nodes. Ready to handshake with other nodes.

4

Insert genesis and waypoint to start the nodes.

Bootstrapped the nodes. Aptos network becomes aware of the nodes.

5

Join the validator set.

Initialize staking pool, bootstrap in production mode, start syncing. Begin validating and earn rewards.

Follow the documents within this section to run a validator node and a validator fullnode in Aptos. Here is a summary of the process:

  1. Start by reading the node requirements to get to know the compute, memory and storage resources you need. Note also the internet bandwidth requirements.
  2. Select a method to deploy your nodes, i.e., use a cloud managed Kubernetes, Docker, or source code.
  3. Generate identity for the nodes. This is the first step in progressively making your nodes secure and ready to be integrated into the Aptos network.
  4. Using YAML files, configure your nodes with user and network identity. This step enables the nodes to be recognized by other nodes in the Aptos network. Handshaking is possible after this step.
  5. With the node identity established for the Aptos network, next you install the necessary binaries and locally generate the genesis blob and waypoint files. These will allow the node to be connected to the Aptos network.
  6. Bootstrap the nodes. The nodes now have the Aptos node binary running on them with the identity set. This fulfills the requirement for the Aptos network to become aware of your nodes. However, your nodes cannot connect to the Aptos network yet because these nodes are not yet in the validator set. On the Aptos network a validator can only accept another validator for connections. Until your nodes are in the validator set, they will be rejected by other validator nodes on the network.
  7. Perform the required actions before joining the validator set. For this, you must perform a few tasks such as initializing a staking pool, delegating to operators and voters, downloading the latest versions of the genesis blob and waypoint text files and restarting your nodes.
  8. Join the validator set. Other nodes will see your nodes and will establish connection to your nodes. Now you can stay in sync with the Aptos blockchain by building up your database of the history of the ledger. It takes some time for your nodes to build the database. Whenever your nodes reach the latest version of the blockchain, your validator node will be able to start participating in the consensus process.