Running a Relay Node

Ark offers an easy to setup solution for running a relay node for v2 with Core Commander.

The experience is similar to the old solution for v1: Ark Commander.

Core Commander only supports Ubuntu (16.04, 18.04).

Docker images for running a relay node with configurability can be found there.

Requirements

  • 4GB RAM
  • 40GB SSD
  • 2 Cores

Instructions

On a fresh Ubuntu installation, follow these commands

  1. Update and Upgrade
sudo apt-get update && sudo apt-get upgrade
  1. Add new user and add to sudo group
sudo adduser username
sudo usermod -aG sudo username
  1. Login to the new user account and clone Core Commander
sudo su - username
git clone https://github.com/ArkEcosystem/core-commander
  1. Execute commander.sh with bash
bash core-commander/commander.sh
  1. Enter your sudo password sudo password welcome screen Core Commander

  2. Let Core Commander install software dependencies dependency 1 dependency 2 dependency 3 dependency 4

  3. Reboot your system reboot when dependencies have installed

  4. Log back in and run Core Commander with bash again

username@host:~$ bash core-commander/commander.sh
  1. You will be told that your system is up to date system is up to date

  2. Choose I, ENTER to Install Ark Core on the main menu main menu press I to install Ark Core

  3. Let Core Commander clone and build Ark Core build and clone Ark Core

  4. Choose your network version select network version (mainnet)

  5. Configure database settings and log level for your setup configure host, port, username, password and name for database configure log level

  6. Start the relay node enter Y to start the relay node

  7. Monitor the sync progress with R, ENTER, L, ENTER enter R on main menu enter L on Relay menu relay syncing logs shown

The node will sync and the messages will show you when it is ready to be used.

JSON-RPC

Now that the relay is setup you can head over to the JSON-RPC installation guide if you wish to use the JSON-RPC to manage your wallets and transactions.

Notes

Please read the documentation pages for all of our Ark Client and Crypto libraries (offerred in many programming languages).

Also, read the API documentation.

Last Updated: 11/20/2018, 1:58:59 AM