NYX Masternode Setup Guide for Cold Wallet

Single masternode on Linux VPS (Ubuntu 16.04 x64) + cold control wallet on local PC (Windows 10)



  1. A remote server (Virtual Private Server, VPS) which will be our masternode wallet.
  2. A local computer running under Windows 7, 8.1 or 10 which will be our control wallet.
  3. PuTTY, which will be used to setup the server (install the dependencies, the wallet itself, and configure everything) after the initial configuration.
  4. 1001 or more NYX as collateral (1000 NYX + 1 NYX to cover the transaction fees)
  5. NYX wallet for windows

To do:

  1. Install control wallet for windows
  2. Deploy VPS server
  3. VPS configuration
  4. Install Sentinel
  5. Start masternode

1. Install control wallet for windows

a) Go to https://www.nyxcoin.org/download and download wallet for your windows.

b) Unpack it (I advise you to unpack it to D:\NYX folder)

c) Create DATABASE folder inside D:\NYX folder

d) Launch nyx-qt.exe

Project Image

e) It will offer to choose data directory. Select “Use a custom data directory” and select D:\NYX\DATABASE folder (it will be more comfortable for future use)

Project Image

f) As soon as wallet start go to SETTINGS -> OPTIONS -> WALLET and check “Show Masternodes Tab”. Press OK.

g) Close Nyx core and open again. You will see MASTERNODES tab. Wait for Synchronizing finish.


i) Type: getaccountaddress masternode
(It’s your masternode address, copy it to notepad, you should send exactly 1000 coin to that address)

j) Type: masternode genkey
(Your “masternodeprivkey”, copy that key to notepad, you will need it later)

Project Image

k) Close debug console

l) To the left corner of wallet application press FILE -> RECEIVING ADDRESSES

Project Image

*NOTE: It’s sample addresses. Don’t sent here! Send to your addresses.

m) SEND 1001 NYX or more from exchange to first address labeled as “(no label)”

n) When coins come and you can see it in your wallet - send 1000 NYX exactly to address labeled as “masternode” (exactly 1000coins, don’t try to send coins from exchange to “masternode” address directly. You will unable to send exactly 1000 from exchange).

Project Image

o) It will appear as “Payment to yourself” and minus commission only. That is ok. Wait for 15 confirmations. It will take about 30 minutes. To check confirmations just double click on transaction.

Project Image

p) Go to TOOLS -> DEBUG CONSOLE and type: masternode outputs

Project Image

q) Copy text only to notepad without quotes and brackets. It will be your collateral_output_txid and collateral_output_index

r) Open TOOLS -> Open Masternode Configuration File

s) To the bottom of text you should paste your data(divided by spaces):

Masternodename - any you want
IP:port – Your VPS IP address and port 4330(port is fixed for all)
masternodeprivkey – You got it from step #1-j
collateral_output_txid – first part of masternode outputs
collateral_output_index – second part of masternode outputs (usually 1 or 0)

Project Image

* Last string is example how it must be looks like, don’t copy my text but insert your data!
* You will get ip address after deployment your VPS, so you can enter it later. Port is 4330

t) Save changes and leave masternode.conf file opened, because we need IP address.

u) Go to TOOLS -> Open Wallet Configuration File

v) You should change RPCUSER(any unique username) and RPCPASSWORD(any unique strong password). Copy whole blue text to notepad, change only red text with your data and paste it in nyx.conf file.


Project Image

w) Save changes and close nyx.conf file. Don’t close masternode.conf file because we need to fill in IP.

If you know how to deploy VPS you can skip step #2

2. Deploy VPS server

a) Register: https://www.vultr.com/ and add some funds. At least 10$ or more

b) Press “Servers”

c) Press “+”

Server location: Frankfurt(or any)

Server type: Ubuntu 16.04 x64

Server Size: 25 GB SSD 5$/mo 1cpu 1024mb 1000gb (will be more than enough)

Project Image

Enable IPv6, Auto Backups and Private networking not needed

Enable DDOS Protection or not is your decision (if DDOS attack occur your server will continue work while others are down. It is mean you will get more profit because other masternodes are down)

Startup Script don’t touch

SSH Keys don’t touch

Server hostname & label: Give name to your server (ex: NYXMN1)

Project Image

d) Press Project Image
Once install done you’ll get confirmation email. It’ll take up to 5 mins.

e) Press your server name

Project Image

You’ll see your IP, username and password

Project Image
*to see your password press “EYE” icon

3. VPS configuration

a) Download PUTTY for your windows system https://www.putty.org

b) Copy your VPS IP and open PUTTY

c) Paste IP to PUTTY “Host name” and press OPEN and answer “Yes”

Project Image

Login as: root

Password: (copy from vultr server screen in browser)

* It is absolutely normal that password is invisible. Cursor will not move.
* For paste your password just click right mouse button, you will not see anything - it’s normal, press ENTER.
* Always use right button click for paste text in PUTTY from WINDOWS

Project Image

d) Upgrade OS by running the following commands(copy-paste one by one and confirm by ENTER button):
apt-get update
apt-get upgrade
(Press Y and ENTER when prompted)
apt-get dist-upgrade
(Press Y and ENTER when prompted)
apt-get install software-properties-common nano libboost-all-dev libzmq3-dev libminiupnpc-dev libssl-dev libevent-dev
(Press Y and ENTER when prompted)
add-apt-repository ppa:bitcoin/bitcoin
(Press ENTER when prompted)
apt-get update
apt-get install libdb4.8-dev libdb4.8++-dev
(Press Y and ENTER when prompted)
mkdir nyx && cd nyx

e) Download the latest wallet version:

wget http://latest.nyxcoin.org/nyx-2.0.0-linux64.tar.gz

* If main link doesn’t work, try to copy link from github.
* Backup link for “nyx-2.0.0-linux64.tar.gz” file you can copy from: https://github.com/nyxpay/nyx/releases

f) Extract all files from the wallet tar.gz file using the tar command, delete archive and go to nyx folder:

tar -xvf nyx-2.0.0-linux64.tar.gz && rm nyx-2.0.0-linux64.tar.gz && cd nyx-2.0.0

* Name “nyx-2.0.0-linux64.tar.gz” could be different. It depend on current version. Check file name on github repository first and make necessary correction in command if needed.

g) Make it possible to launch NYX core from any directory and start NYX wallet:

chmod +x nyx*
mv nyx-cli nyx-qt nyx-tx nyxd /usr/local/bin
cd ..
rm -r -f nyx-2.0.0
nyxd -daemon

h) Edit nyx.conf file:

nyx-cli stop
cd /root/.nyx
nano nyx.conf

i) nyx.conf file will be opened automatically in Linux text editor. You should change RPCUSER(same as before), RPCPASSWORD(same as before), EXTENALIP(your VPS ip) and MASTERNODEPRIVKEY(we got it on step #1-j). Copy whole blue text to notepad, change only red text with your data and paste it in putty:


Project Image

j) Save changes in nyx.conf file by pressing CTRL+O -> ENTER -> CTRL+X

k) Start nyx server by:
It should say “Nyx Core server starting”

l) Make sure your wallet is syncing with the NYX network:

nyx-cli getinfo
nyx-cli mnsync status

"IsBlockchainSynced": true ,
"IsMasternodeListSynced": true ,
"IsWinnersListSynced": true ,
"IsSynced": true ,

* That is mean your node is synced

Project Image

4. Install Sentinel

a) Make sure Python version 2.7.x or above is installed:
python --version
cd /root/nyx

b) Installation:
apt-get update
apt-get -y install python-virtualenv
git clone https://github.com/nyxpay/sentinel.git && cd sentinel
apt install virtualenv
(Press Y and ENTER when prompted)
virtualenv ./venv
./venv/bin/pip install -r requirements.txt

c) Set up a crontab entry to call Sentinel every minute:
crontab -e
(Press 2 and ENTER when prompted)

d) COPY blue text and paste it in PUTTY:
* * * * * cd /root/nyx/sentinel && ./venv/bin/python bin/sentinel.py >/dev/null 2>&1
(And press ENTER to move string to next line)

e) Use CTRL+O -> ENTER -> CTRL+X (for saving changes and exit to command line).

Project Image

f) Configuration sentinel.conf:
nano sentinel.conf

g) Copy blue text and paste in PUTTY:
(And press ENTER to move string to next line)

h) Use CTRL+O -> ENTER -> CTRL+X (for saving changes and exit to command line).

Project Image

i) Test Sentinel:
cd /root/nyx/sentinel
SENTINEL_DEBUG=1 ./venv/bin/python bin/sentinel.py

Project Image

* This is mean your sentinel is working fine
* Run command after masternode start only. It will not show sentinel status now.

5. Start masternode

a) Open windows wallet again

b) Wait for full sync

c) Open Masternodes tab -> My masternodes -> Start all

d) Your status will become “PRE_ENABLED” and after 30-60min it will be changed to “ENABLED”

e) Sometimes you should wait for 1-2 hours for your masternode sync with another nodes and become ready for starting, if it not start immediately don’t worry, just try a little bit later.

f) It doesn’t need to hold your Windows wallet opened all the time. Just close it.

g) You can open wallet and relaunch you node if your masternode status is “NEW_START_REQUIRED”

h) Don’t worry if status is “WATCHDOG_EXPIRED”. It will go back to “ENABLED” in 30-60 minutes.

Project Image

Subscribe to NYX for Masternode updates and news on roadmap progress