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.
See also the external resources offered by your fellow node operators.
Read the node requirements.
Select a deployment method. Use on-premises or cloud services.
Generate identity for nodes.
Account address and private and public keys come to exist.
Configure validator and validator fullnode.
Establishes network identity for the nodes. Ready to handshake with other nodes.
Insert genesis and waypoint to start the nodes.
Bootstrapped the nodes. Aptos network becomes aware of the nodes.
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:
- Start by reading the node requirements to get to know the compute, memory and storage resources you need. Note also the internet bandwidth requirements.
- Select a method to deploy your nodes, i.e., use a cloud managed Kubernetes, Docker, or source code.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.