Skip to main content

Polygon

Download weekly snapshot:

LATEST HEIGHTSIZECHAIN IDAPP VERSIONPRUNINGDATETIMELINK
716972293.8Tbor-pebble-mainnet2.0.3full2025-05-1919:29:36s3://sc-snapshots/bor-pebble-mainnet_2025-05-19.tar
695585625.9Tbor-mainnet1.5.5pruned2025-03-2805:11:47s3://sc-snapshots/bor-mainnet_2025-03-27.tar
23709490437.6Gheimdall-mainnet1.2.3default2025-05-2107:35:25s3://sc-snapshots/heimdall-mainnet_2025-05-21.tar.gz
2191909135.3Gbor-amoy2.0.3default2025-05-2103:24:59s3://sc-snapshots/bor-amoy_2025-05-21.tar.gz
828028130.9Gheimdall-amoy1.2.3default2025-05-2102:16:14s3://sc-snapshots/heimdall-amoy_2025-05-21.tar.gz
6552760213.8Terigon-mainnet2.60.8full2024-12-1713:34:58s3://sc-snapshots/erigon-mainnet/
1441136019.8Gerigon-amoy2.60.8full2025-05-2101:18:13s3://sc-snapshots/erigon-amoy_2025-05-21.tar.gz
Our tips

We are providing several commands in order to download and extract snapshots to its corresponding place. Don't hesitate to adjust the commands according to your setup.

Rclone Installation

  1. Install rclone client:
sudo apt install pv
sudo -v ; curl https://rclone.org/install.sh | sudo bash

  1. Configure s3 bucket access:
cd ~/
mkdir -p ~/.config/rclone/
cat <<EOF > ~/.config/rclone/rclone.conf
[r2]
type = s3
provider = Cloudflare
access_key_id = 849df1cd0e8666858df4b1e182a4b2cd
secret_access_key = 568a53f5d4ca2b3d38780cd3e7a11ce2d6fe2887fbbe04405a96fc77021e917c
acl = private
region = auto
endpoint = https://dd74dc687a5ce54107082a6849814c19.r2.cloudflarestorage.com
EOF
Our tips

We have tested two ways of downloading files.

a) Download and unpack the files to the destination folder directly. You will have unpacked files in the target directory, but only with single download session. b) Download the archive in several concurent sessions. In this case you can get more speed(depends from your uplink), but this method needs double space to download and untar.

Bor Instructions

  1. Stop bor service
sudo systemctl stop bor.service
  1. Delete data directory:
sudo rm -rf /var/lib/bor/data/bor/chaindata
sudo mkdir -p /var/lib/bor/data/bor/chaindata
RCLONE_REMOTE="r2"
RCLONE_PATH="sc-snapshots/bor-pebble-mainnet_2025-05-05.tar"
DEST_DIR="/var/lib/bor/data/bor/chaindata"
  1. a) Download bor snapshot in a single session and unpack to target folder:
rclone cat "$RCLONE_REMOTE:$RCLONE_PATH" | pv | tar -x -C "$DEST_DIR"
  1. b) Download bor snapshot in multisession mode:
rclone copy "$RCLONE_REMOTE:$RCLONE_PATH" "$DEST_DIR"
sudo systemctl start bor.service
sudo journalctl -u bor.service -f

Heimdall Instructions

  1. Stop heimdall service
sudo systemctl stop heimdalld.service
Back up your priv_validator_state.json

Please make sure you have a copy of priv_validator_state.json from data folder.

  1. Backup priv_validator_state.json:
cp /var/lib/heimdall/data/priv_validator_state.json $HOME/priv_validator_state.json
  1. Delete the data:
sudo rm -rf /var/lib/heimdall/data
sudo mkdir -p /var/lib/heimdall/data
RCLONE_REMOTE="r2"
RCLONE_PATH="sc-snapshots/heimdall-mainnet_2025-05-08.tar.gz"
DEST_DIR="/var/lib/heimdall/data"
  1. a) Download bor snapshot in a single session and unpack to target folder:
rclone cat "$RCLONE_REMOTE:$RCLONE_PATH" | pv | tar -zx -C "$DEST_DIR"
  1. b) Download bor snapshot in multisession mode:
rclone copy "$RCLONE_REMOTE:$RCLONE_PATH" "$DEST_DIR"
  1. Start service and check the logs:
sudo systemctl start heimdalld.service
sudo journalctl -u heimdalld.service -f

Erigon mainnet Instructions

There are around 150 files with 100GB each

Please make sure you have enough space and download speed. The command below will download and join all the parts in one huge file.

  1. Stop erigon service
sudo systemctl stop erigon.service
  1. Download the snapshot archive:
RCLONE_REMOTE="r2"
RCLONE_PATH="sc-snapshots/erigon-mainnet/"
DEST_DIR=".local/share/erigon/chaindata"
rclone ls "$RCLONE_REMOTE:$RCLONE_PATH" | awk '{print $2}' | while read -r file; do rclone cat "$RCLONE_REMOTE:$RCLONE_PATH/$file";done > $DEST_DIR/mdbx.dat
  1. Start service and check the logs:
sudo systemctl start erigon.service
sudo journalctl -u erigon.service -f

Erigon Amoy Instructions

  1. Stop erigon service
sudo systemctl stop erigon.service
  1. Download the snapshot archive:
RCLONE_REMOTE="r2"
RCLONE_PATH="sc-snapshots/erigon-amoy_2025-05-08.tar.gz"
DEST_DIR=".local/share/erigon/chaindata"
rclone cat "$RCLONE_REMOTE:$RCLONE_PATH" | pv | tar -zx -C "$DEST_DIR"
  1. Start service and check the logs:
sudo systemctl start erigon.service
sudo journalctl -u erigon.service -f