Skip to content
🎉 Welcome to the new Aptos Docs! Click here to submit feedback!
Network
Run a Validator and VFN

Run a Validator and VFN

To participate in the Aptos consensus protocol, you must deploy and run a validator node and (optionally) a validator fullnode (VFN). This document provides a high-level overview of the important steps required for deploying both node types.

While VFNs are not required to participate in consensus, it is highly recommended for every validator operator to run a VFN. This is because VFNs are the sole ingress and egress points of blockchain data for the ecosystem. Having many VFNs in the network helps to improve reliability, increase data availability, and provide high-quality blockchain access to the public.

Before initializing a staking pool or delegation pool, read about Staking and Delegated Staking to learn the differences 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.

Use the documents within this section to run an Aptos validator and a VFN. At a high-level, the process is as follows:

Understand the requirements and deployment types.

Read the node requirements and select a deployment method (e.g., on-premises or cloud services). Start by reading the node requirements to get to know the compute, memory, networking and storage resources you need. Also, select a method to deploy your nodes, i.e., use cloud managed Kubernetes, Docker, or source code.

Generate identities for your nodes.

Create your public/private keypairs and account addresses for the validator and VFN. Remember to keep your private keys confidential!

Configure your validator and VFN.

Configure your nodes to use the generated keys and identities. Using YAML files, configure your nodes with the keys and identities generated in the previous step. This is required to allow your nodes to connect to other nodes (i.e., peers) securely.

Download genesis and a waypoint for your nodes.

Bootstrap the nodes with a genesis and waypoint, and prepare them for startup. With the nodes configured correctly, install the binaries and download the genesis blob and waypoint files. These will give your nodes the information they need to start syncing with other peers.

Join the validator set and start participating.

Initialize the staking pool, join the validator set and start validating to earn rewards. Before other peers will accept connections from your nodes, you will need to join the validator set. To do this, you must initialize a staking pool and delegate to operators and voters. Once your staking pool has been setup, you can join the validator set. At this point your nodes will begin to sync with the network and your validator will be able to start participating in consensus. This is when you can start earning rewards.