Steps:
DEFAULT CONNECTION TO DEVNET
If you follow the default setup in this document, then your public fullnode will be connected to the Aptos devnet with a REST endpoint accessible on your computer at localhost:8080.
To connect to a different Aptos network, such as devnet or testnet, make sure you have the correct version of:
- Docker image tag (e.g. devnet, testnet)
- Source code branch (if you build the binary directly)
RUNNING FULL NODE WITH SOURCE CODE OR DOCKER
CHOOSE A NETWORK
This document describes how to start a public fullnode in the Aptos mainnet
network yet can easily be used to do the same in the devnet
and testnet
networks. To do so, instead check out the desired branch and use the genesis.blob
and waypoint.txt
node files for the respective branch: [mainnet
]
Hardware requirements
We recommend the following hardware resources:
- For running a production grade public fullnode:
- CPU: 8 cores, 16 threads (Intel Xeon Skylake or newer).
- Memory: 32GB RAM.
- For running the public fullnode for development or testing:
- CPU: 2 cores.
- Memory: 4GB RAM.
Storage requirements
The amount of data stored by Aptos depends on the ledger history (length) of the blockchain and the number of on-chain states (e.g., accounts). These values depend on several factors, including: the age of the blockchain, the average transaction rate and the configuration of the ledger pruner. Follow the storage requirements described in [Validator Hardware Requirements]
That should help😁