Installing a Qredit Relay Node

For V2, we recommend using Ubuntu 18.04. Since syncing the node for the first time is very CPU intensive, we recommend to use a VPS with at least 2CPU's For an optimal P2P connection, we like all nodes to be located in Europe.


  1. Log in to your VPS

  2. Enter the following command to apply the latest updates to your system

sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y
  1. Enter the following commands, executing them one by one, to add new user. We recommend using user qredit for consistency.
sudo adduser qredit
sudo usermod -a -G sudo qredit
  1. Switch to your newly created user (qredit)
su - qredit
  1. The following are Core-Control installation commands, execute them one by one
git clone
cd core-control
./ install core

After running Core-Control for the first time, the script creates an alias called "ccontrol". After doing a reboot, you can use this alias from within any directory on your server. After the reboot, log into your qredit user again

sudo reboot
su - qredit

OPTIONAL If you have a locally maintained snapshot, this is the time to restore it. Place the snapshot in ~/snapshots, with the format "qredit_mainnet". Then run this command:

ccontrol snapshot restore
  1. Command used in this step will start a relay and sync your node to current blockchain height. This step will take up to few hours, depending on your VPS setup and block height.
ccontrol start relay
  1. After the relay is started you can check the synchronization progress with the following command. You can check current blockchain height by going to the Explorer and clicking on the “latest blocks” tab. The latest downloaded blocks in the relay logs will show as “Downloading blocks from height...”
ccontrol logs relay
  1. Optional (but highly recommended), you can create a snapshot when the relay finishes synchronization, to restore your node in case of problems
ccontrol snapshot create
  1. If your want your all of your (currently running) pm2 processes to start up in case your server (accidently) reboots, run the following commands:
pm2 save
pm2 startup

The last command will echo a command back. Copy, paste and run that command.

That is it, you now have set up a new Relay Node on the Qredit Platform!

Forging Node

If you want to become a Qredit delegate and start a Forging Node, please continue your setup here


When you install a Qredit Full Node using Core-Control, it automatically sets an UFW Firewall, only allowing the neccesary ports for Qredit (which are port 22 for SSH access, and ports 4101-4108 for the Qredit processes). When / if you are using the server for other things, please remember to open the necessary ports.

Last Updated: 5/14/2019, 4:44:18 PM