How to setup a Q Fullnode

Setup your Server

You must prepare your server / machine to begin. One possibility is to use a local machine, alternatively you can use a cloud instance on AWS for example. There is a good external tutorial on how to get started with Ethereum on AWS. You can use this tutorial as a basic reference.

Get basic Configuration

Clone this repository and go to the fullnode directory. This directory contains the docker-compose file for quick launching of the full node with preconfigurations on rpc, blockchain explorer, .env file for ports configuration and genesis.json.

Configure Ports

Choose ports (or leave default values) for node rpc api and blockchain explorer by editing the .env file.

EXT_PORT=<rpc port>
EXPLORER_PORT=<blockchain explorer port>

Launch Node

Launch the node by executing the following command from fullnode directory:

docker-compose up -d

Verify your Installation

After node is launched, it starts syncing with network. You can track the progress using blockchain explorer at http://localhost:EXPLORER_PORT (default: http://localhost:8080)

Note: Check our nodes real-time logs with the following command:

docker-compose logs -f --tail "100"

Find additional peers

In case you cannot connect to the client with the normal configuration, we recommend that you add an additional flag referring to our additional peers ($BOOTNODE1_ADDR/$BOOTNODE2_ADDR/$BOOTNODE3_ADDR):

node:
image: $QCLIENT_IMAGE
entrypoint: ["geth", "--bootnodes=$BOOTNODE_ADDR", "--datadir=/data", ...]