Snapshots for Blockchain State - 3rd March

Using snapshots while setting up full nodes help you sync faster without validating all data. This will speed up for setup dramatically. One can use this to sync faster instead of sync from scratch from other nodes since the Heimdall node sometimes takes days to sync.

Available snapshots

Bor : https://matic-blockchain-snapshots.s3.amazonaws.com/matic-mainnet/bor-snapshot-2021-03-01.tar.gz

MD5 : 504d9700fc8e93af549d40eb386c9fc8
Sha1Sum : 340e25343d32ce2745966c0c1d4ddfe42dbc7c30

Heimdall : https://matic-blockchain-snapshots.s3.amazonaws.com/matic-mainnet/heimdall-snapshot-2021-03-02.tar.gz

MD5 : 52238a7f0db6d818938be072c35a0d6a
Sha1Sum : 100dc20036b567fdb8e02fbc9f56ffd222479f9f

Using Snapshots

Heimdall

First, you need to set up your node with pre-requisites as per the node setup guide. Before you start services for Heimdall to sync, follow the below steps to use snapshot:

Download the Snapshot to your VM. To download the Snapshot Tar file to your VM you can run the following command

wget -c <Snapshot URL>

For example:

wget -c https://matic-blockchain-snapshots.s3.amazonaws.com/matic-mainnet/heimdall-snapshot-2021-03-01.tar.gz

This will download the Snapshot of Heimdall.

Now, to unpack the Tar file in the Heimdall Data directory run the following command. You need to ensure that you’re running this command before you Start Heimdall service on your node. If your Heimdall service has started, please stop and then run the below command. Once unpacking is complete you can start the Heimdall service again.

tar -xzvf <snapshot file> -C <HEIMDALL_DATA_DIRECTORY>

For example:

tar -xzvf heimdall-snapshot-2021-03-01.tar.gz -C ~/.heimdalld/data/

Note that if your Heimdall data directory is different then please mention that directory name correctly.

Bor

First, you need to set up your node with pre-requisites as per the node setup guide. Before you start services for Bor to sync, follow the below steps to use snapshot:

Download the Snapshot to your VM. To download the Snapshot Tar file to your VM you can run the following command

wget -c <Snapshot URL>

For example:

wget -c https://matic-blockchain-snapshots.s3.amazonaws.com/matic-mainnet/bor-snapshot-2021-03-01.tar.gz

Now, to unpack the Tar file in the Bor Data directory run the following command. You need to ensure that you’re running this command before you Start Bor service on your node. If your Bor service has started, please stop and then run the below command. Once unpacking is complete you can start the Bor service again.

tar -xzvf <snapshot file> -C <BOR_DATA_DIRECTORY>

For example:

tar -xzvf bor-snapshot-2021-03-01.tar.gz -C ~/.bor/data/bor/chaindata

Note that if your bor data directory is different then please mention that directory name correctly.

This is currently the latest Snapshot we have taken of the Blockchain stake. We will keep taking Snapshots every 2 weeks and keep posting this on the Forum and Discord Channels.