🐧Bootstrap instructions for Linux

Instructions for a machine that did not have Alterdot installed before

If Alterdot is not already downloaded and running, you have to download the wallet from the official GitHub releases page.

You can download either the QT version (with graphical user interface) or the non-QT one a.k.a the CLI (command-line) version depending on your setup. On VPS servers you will be running the CLI version. On a Desktop, you can run either of them, the QT version being a lot more user-friendly.

  • Download and extract the wallet for Linux (the non-QT version in this case).

cd ~
wget https://github.com/Alterdot/Alterdot/releases/download/v1.9.2.0/alterdot-v1.9.2-linux.tar.gz
tar -xzf alterdot-v1.9.2-linux.tar.gz

The folder alterdot-v1.9.2-linux will contain the binaries/executables for Alterdot.

  • Download and extract the bootstrap file.

mkdir ~/.alterdot
cd ~/.alterdot
wget https://github.com/Alterdot/Alterdot/releases/download/v1.8.0.0/bootstrap.tar.gz
tar -xzf bootstrap.tar.gz

The last step can take a bit more time as the bootstrap is a large file.

  • Start the Alterdot node.

cd ~/alterdot-v1.9.2-linux
./alterdotd --daemon

The daemon will start in the background and it will begin syncing the rest of the blocks up to the present day.

Instructions for a machine already running Alterdot

  • Take a backup of your wallet.dat file if you have any funds there or if you plan to use it in the future.

cd ~/.alterdot/wallet.dat /some_dir/wallet.dat

You can ensure that you have a zero balance in this wallet by going to the folder with the alterdot-cli binary (typically ~/alterdot-v1.9.2-linux)

cd ~/alterdot-v1.9.2-linux # Or the folder where alterdot-cli exists
./alterdot-cli getinfo

Among the displayed output you will find a field called "balance" corresponding to the amount of Alterdot owned by this wallet.

  • Shutdown the daemon.

./alterdot-cli stop
  • Run the following commands to clean up the old files.

cd ~/.alterdot
rm -f *.log net*.dat peers.dat fee*.dat netf*.dat mnp*.dat gov*.dat mnc*.dat bootstrap.tar.gz
rm -rf blocks chainstate backups database evodb llmq bdns
  • Download and extract the bootstrap file.

wget https://github.com/Alterdot/Alterdot/releases/download/v1.8.0.0/bootstrap.tar.gz
tar -xzf bootstrap.tar.gz
cd ~
  • Start the Alterdot node.

cd ~/alterdot-v1.9.2-linux
./alterdotd --daemon

Last updated