NXT Public Node Setup

NXT Public Node Setup

NXT Public Node Setup

1. Get a Server

HIFORMANCE

This example will use a server from HiFormance, but could be adapted for other providers.

  • Sign up at https://hiformance.com
  • Choose your server - Special: July 2018 KVM 1GB will work well.
  • Choose Ubuntu 16.04 (64 Bit) when ordering.

2. Prepare the Server

  • Sign in to the Control Panel using information sent by email.
  • Use the tab "Hostname" to set the hostname for the server - any name will work and will be used to identify the server. 
  • Click the "Serial Console" icon or open a command line box on your computer to run the following commands:
  1. apt-get update
  2. apt-get install openjdk-8-jre nano screen ufw
  3. ufw default deny incoming
  4. ufw allow 7876
  5. ufw allow 7874
  6. ufw enable

3. Install the NXT Client

  1. wget https://www.jelurida.com/nxt-client.zip
  2. unzip nxt-client.zip

4. Configure Properties

  1. cd nxt/conf
  2. nano nxt.properties

Add this to new file:
nxt.myAddress=IPAddress
nxt.allowedBotHosts=*
nxt.allowedUserHosts=IPAddress
nxt.apiServerHost=0.0.0.0
CTRL X and then Y to save.

5. Run the Node

  1. cd ../
  2. screen bash ./run.sh
  • The NXT blockchain will download. 
  • Screen bash command allows you to close the command window while the client to continues to run.
  • Visit the client in browser here: http://IPaddress:7876
  • Create and fund new account.
  • Observe node status here: https://www.peerexplorer.com
  • REMEMBER to update your node with every NRS release.

Consider running an Ardor node on the same server.