Skip to content
Alchemy Logo

Avalanche

The snapshot service for Avalanche is available here.

Whether you need to bootstrap your full node or you are in need of a snapshot to ease the migration or kick-start of your validator, you can use our daily snapshot service to speed up the process.

Note: the nodes used for snapshotting are using the default pruning values of Avalanche and are hosted as Docker containers on machines using Ubuntu 22.04.

Go to our Avalanche snapshot service and download the latest available snapshot. Decompress the archive as per the following instructions and start your node.

1. Download the snapshot

wget <AVALANCHE_SNAPSHOT_URL>

2. Stop your Avalanche service

If Avalanche was already running on your machine, stop your services:

sudo systemctl stop avalanche.service

OR if you are using a container:

docker stop <AVALANCHE_CONTAINER_NAME>

Make sure there is no process running that might try to write to the database.

3. Clean the data directory

Make sure your Avalanche data directory is clean (let us assume <AVALANCHE_HOME> is your root Avalanche directory):

rm -rf <AVALANCHE_HOME>/db/mainnet/*

4. Install lz4 and decompress the archive

sudo apt-get install lz4
lz4 -c -d <AVALANCHE_SNAPSHOT_NAME>.tar.lz4  | tar -x -C <AVALANCHE_HOME>/db/mainnet/

5. Start the Avalanche service or container

You should be in-sync with the network in minutes after starting the node.

Also check the official documentation and the GitHub repository posted above to correctly deploy the node of your choice.

Was this page helpful?