Polygon
Download weekly snapshot:
LATEST HEIGHT | SIZE | CHAIN ID | PRUNING | DATE | TIME | LINK |
---|---|---|---|---|---|---|
61078724 | 2.3T | bor-mainnet | default | 2024-08-27 | 01:32:39 | bor-mainnet_2024-08-27.tar |
20134097 | 482G | heimdall-mainnet | default | 2024-08-26 | 01:07:17 | heimdall-mainnet_2024-08-26.tar |
0 | 12G | bor-amoy | default | 2024-09-08 | 02:02:02 | bor-amoy_2024-09-08.tar |
4474749 | 19G | heimdall-amoy | default | 2024-09-07 | 23:12:51 | heimdall-amoy_2024-09-07.tar |
59845311 | 12T | erigon-mainnet | default | 2024-07-27 | 15:24:06 | erigon-mainnet_2024-07-26.tar |
48141039 | 946G | erigon-amoy | default | 2024-06-04 | 23:40:39 | erigon-mumbai_2024-06-04.tar |
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.
Bor Instructions
Stop the service:
- Stop bor service
sudo systemctl stop bor.service
- Delete data directory:
sudo rm -rf /var/lib/bor/chaindata
- Install s5cmd client:
wget https://github.com/peak/s5cmd/releases/download/v2.2.2/s5cmd_2.2.2_Linux-64bit.tar.gz
tar -xf s5cmd_2.2.2_Linux-64bit.tar.gz
rm s5cmd_2.2.2_Linux-64bit.tar.gz
- Configure s3 bucket access:
cat <<EOF > s5cmd-r2.cfg
[default]
aws_access_key_id = 6b4b819da0d66d9ddf7bb37520c46a16
aws_secret_access_key = ab2dc9b991f4b5055787e8ba9c09c8b4ceb3e183561fbfa7f6475f23fa474766
aws_region = auto
host_base = dd74dc687a5ce54107082a6849814c19.r2.cloudflarestorage.com
host_bucket = dd74dc687a5ce54107082a6849814c19.r2.cloudflarestorage.com
enable_multipart = True
EOF
Bor Instructions
Download bor snapshot:
./s5cmd --credentials-file ~/s5cmd-r2.cfg --endpoint-url https://dd74dc687a5ce54107082a6849814c19.r2.cloudflarestorage.com cat --raw s3://sc-snapshots/bor-mainnet_2024-08-27.tar | tar -xvf - -C /var/lib/bor/chaindata
sudo systemctl start bor.service
sudo journalctl -u bor.service -f
Heimdall Instructions
Stop the 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.
- Backup priv_validator_state.json:
cp /var/lib/heimdall/data/priv_validator_state.json $HOME/priv_validator_state.json
- Delete the data:
sudo rm -rf /var/lib/heimdall/data
Download the snapshot archive:
wget -O - http://download6.snapshots.stakecraft.com/heimdall-mainnet_2024-08-26.tar | tar -xvf -C /var/lib/heimdall/data
wget -O - http://download6.snapshots.stakecraft.com/heimdall-mainnet_2024-03-24.tar | tar -xvf -C /var/lib/heimdall/data
Start service and check the logs:
sudo systemctl start heimdalld.service
sudo journalctl -u heimdalld.service -f