Skip to content

bigbangbtc/bootstrap-aptos-fullnode

Repository files navigation

Run aptos fullnode with docker-compose

file description:

├── genesis.blob
├── waypoint.txt
├── blocked.ips
├── docker-compose-fullnode.yaml
├── fullnode.yaml
├── haproxy-fullnode.cfg

Steps to bootstrap your full node:

  1. generate keys: aptos genesis generate-keys --output-dir keys

  2. bootstrap

$ docker-compose -f docker-compose-fullnode.yaml up -d
  1. Verify initial synchronization

    During the initial synchronization of your fullnode, there may be a lot of data to transfer. You can monitor the progress by querying the metrics port to see what version your node is currently synced to. Run the following command (or using ./scripts/check_synced_version.sh) to see the current synced version of your node:

    curl 127.0.0.1:9101/metrics 2> /dev/null | grep "aptos_state_sync_version{.*\"synced\"}" | awk '{print $2}'
    

    The command will output the current synced version of your node. For example: 71000

    Compare the synced version returned by this command (e.g., 71000) with the Current Version (latest) shown on the Aptos status page. If your node is catching up to the current version, it is synchronizing correctly.

About

Run aptos fullnode with a single docker-compose command

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages