Solana Snapshots mirror


Info

We are still in BETA! During development, we may break API compatibility and change current parameters.

How to use?

TL;DR:

# mainnet-beta
wget --trust-server-names \
     https://snapshots.avorio.network/mainnet-beta/snapshot.tar.bz2 \
     https://snapshots.avorio.network/mainnet-beta/incremental-snapshot.tar.bz2

# testnet
wget --trust-server-names \
     https://snapshots.avorio.network/testnet/snapshot.tar.bz2 \
     https://snapshots.avorio.network/testnet/incremental-snapshot.tar.bz2
To achieve maximum performance we recommend using aria2 command line tool:
# mainnet-beta
aria2c -x16 -s16 --force-sequential=true \
                 https://snapshots.avorio.network/mainnet-beta/snapshot.tar.bz2 \
                 https://snapshots.avorio.network/mainnet-beta/incremental-snapshot.tar.bz2

# testnet
aria2c -x16 -s16 --force-sequential=true \
                 https://snapshots.avorio.network/testnet/snapshot.tar.bz2 \
                 https://snapshots.avorio.network/testnet/incremental-snapshot.tar.bz2

You can control the concurrency by changing -x and -s parameters. The boilerplate params consider you are running hardware within Solana requirements.


Why?

Implementing a mirror for Solana ledger snapshots through Cloudflare enhances decentralization by optimizing global routes, allowing validators from countries with no or minimal presence of other validators to catch up with the network faster. It accelerates download speed through Cloudflare’s extensive peering with multiple data centers worldwide, ensuring faster access to ledger data.

After suffering from slow snapshot downloads while bootstrap Solana validators in Brazil, even with multi-gigabit servers, we devised this project idea.

This helper also aims to help Solana validators concentrate their bandwidth and resources on on-chain operations.


FAQ

How often the data is updated?

We search for new full snapshots every 10 minutes and incremental snapshots every 2 minutes.

Is the download optimized for all regions?

Not yet! We have initially focused on the Americas and will be rolling out improvements for APAC and Europe in the upcoming weeks.