Skip to main content

Quick Start

System Requirements

Please see the system requirements section for details.

Default Ports to Open on Firewall

Port RangeProtocolPurposeNotes
8336, 8340UDP or TCPNetwork connectivityMust be open to join the network.
50000-50003*UDP or TCPWorker processes libp2p communicationPort range must be opened based on the number of worker processes.
60000-60003* (example for 4 workers)UDP or TCPWorker processes streaming communicationPort range must be opened based on the number of worker processes.

*Using an example of 4 workers, 1 port for each, starting from the base port.

info

If you're running the node at your home (on a residential ISP), then you must additionally set up port forwarding in order for your node to be reachable by the network. For this use case, it's recommended to use TCP connection for your node. This can be achieved by setting listenMultiaddr to /ip4/0.0.0.0/tcp/8336 and streamListenMultiaddr to /ip4/0.0.0.0/tcp/8340 in the p2p section of the config, and dataWorkerBaseListenMultiaddr to /ip4/0.0.0.0/tcp/%d (don't omit the %d) in the engine section.

Node Install

To install and manage a node, the long-term supported method is to download and install via qclient.

Then run:

sudo qclient node install

Enabling Node Auto-Updates via QClient

You can enable/disable qclient auto-updates with:

qclient node auto-update enable
note

There may be some early-bugs that may cause this method to not work for you, as this method is recently released.

If you have issues, the autorun solution below can be used in the meantime.

Legacy Release Autorun Script

This is a legacy solution and not actively maintained anymore, but may be used.

The release autorun script automatically downloads the latest node binary, runs it, checks for new version in the background and, if found, triggers the update including node restart.

Create the node directory:

mkdir -p ceremonyclient/node && cd ceremonyclient/node 

Download the release autorun script and validate that its content is in line with your expectations:

wget https://github.com/QuilibriumNetwork/monorepo/blob/release/node/release_autorun.sh

Make the script executable:

chmod +x release_autorun.sh

Run the script:

./release_autorun.sh

This script is intended to help get started quickly, but for robust deployments it is recommended to use some service orchestration solution (e.g. systemd on Linux).

Key and Store Backups

In order to run a node, access rewards or make token operations for your account, you need the node's keyset consisting of the config.yml and keys.yml files. You are strongly advised to maintain copies of these files in an encrypted backup.

Worker data is stored in worker-store/[worker-id]. It should also be regularly backed up, to make the node restoration faster (for example, in case of physical server failure) and avoid unnecessary penalties.

If this worker data is lost, it can be restored by running the node which will fetch the data from it's shard peers, but will result in missed rewards and penalties if the worker data is not restored in time.

Keyset and worker data are stored in your node's .config directory:

.config/keys.yml
.config/config.yml
.config/worker-store/[worker-id]/
info

If you installed via qclient, your config directory should be in ~/.quilibrium/configs/[config-name].

If you used release_autorun.sh script, your config directory should be ceremonyclient/node/.config.