Quick sync

Start your Quantum Portal node using a snapshot.

💡

Tip: Looking for instructions using the old script node.sh? See here.

💡

Tip: These instructions synchronize your Quantum Portal node quickly by downloading a recent snapshot of the blockchain. If instead you prefer to synchronize your Quantum Portal node using the Quantum Portal peer-to-peer network then see Genesis sync

Prerequisites

Download the latest Quantum Portal blockchain snapshot

Download the latest Quantum Portal blockchain snapshot for your chosen network (testnet or mainnet) from a provider:

The following instructions assume you downloaded the pruned snapshot from quicksync.io.

Let SNAPSHOT_FILE denote the file name of the snapshot you downloaded. Example file names:

  • Mainnet: QP-dojo-1-pruned.xyz.tar.lz4
  • Testnet: QPtestnet-lisbon-3-pruned.xyz.tar.lz4

Install lz4: MacOS | Ubuntu

Decompress the downloaded snapshot into your ${QPD_HOME}/data directory.

# Ensure QPD_HOME env var is set or substitute it below

# Remove any existing data if it exists
rm -r ${QPD_HOME}/data

lz4 -dc --no-sparse [SNAPSHOT_FILE] | tar xfC - ${QPD_HOME}

# Verify that snapshot data was uncompressed
ls $AXERLARD_HOME/data

Start your node

$QPD_HOME/bin/QPd start [moniker] --home $QPD_HOME >> $QPD_HOME/logs/QPd.log 2>&1 &

Your Quantum Portal node will launch and begin downloading the rest of the blockchain after the snapshot.

View your logs in real time

tail -f $QPD_HOME/logs/QPd.log

You should see the height (representing the downloaded blockchain) increasing in the logs.

... executed block height=690578 ...
... executed block height=690579 ...
Edit this page