Oxid Supernode Setup Guide

Supernode Setup Guide

This guide is for a single supernode, running on a Ubuntu 16.04 server (VPS) controlled from the wallet running on your local computer (Control Wallet).

Requirements:
  • 25,000 OXID
  • A local PC, Mac or Linux computer, it will run the control wallet, holding your collateral of 25,000
  • Linux Supernode Server (VPS – The computer that will be on 24/7), it will run the remote supernode wallet.
  • A unique IP address for your VPS.
Configuration:

1) Using your control wallet, click Receive > New Address, type unique name (ex: SUPERNODE) and click OK. Click on the address you've just created, click Show => Copy Address.

2) Using your control wallet, click Send, paste the address into Pay To field, enter 25000 into the Amount field and click Send.

3) Wait for 2 confirmations.

4) Using your control wallet, enter the debug console (Tools > Debug Console > Console) and type the following command:

masternode genkey

5) Copy generated key (will use this later).

6) Type the following command in debug console:

masternode outputs

7) Copy txhash and outputidx (will use these later).

8) Deploy VPS server, make sure it's Ubuntu 16.04.

9) Take a note of VPS IP address (will use it in the next step).

10) On the computer with your control wallet go to the oxidred directory

11) Open masternodes.conf file, paste the following and save it:

SUPERNODE 127.0.0.2:28932 privkey txhash 0

where:

  • SUPERNODE - supernode unique name from the step 1
  • 127.0.0.2 - your VPS IP address from the step 9
  • privkey - supernode private key from the step 5
  • txhash - transaction hash from the step 7
  • 0 - outputidx from the step 7

12) Open oxid.conf file, paste the following and save it:

rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
staking=1
addnode=104.207.132.149
addnode=45.76.247.235
addnode=167.99.151.145
addnode=206.189.227.144
addnode=167.99.228.255
addnode=206.189.231.158
addnode=204.48.16.21
addnode=204.48.29.166
addnode=204.48.16.184
addnode=204.48.31.190

change:

  • username
  • password

13) Restart control wallet

14) Type the following command in debug console:

startmasternode alias false SUPERNODE

where:

  • SUPERNODE - supernode unique name from the step 1

15) The output of the command above should be:

Successfully started 1 masternodes, failed to start 0, total 1

16) Connect to the VPS using Putty if you're using Windows or terminal if you're using Mac or Linux.

17) On VPS server, type the following command, which will download supernode installation script:

wget https://raw.githubusercontent.com/oxidcoin/masternode/master/install.sh && chmod 755 install.sh

18) On VPS server, type the following command, replacing "XXXXX-PRIVATE-KEY-XXXXX" with your private key you generated earlier in the step 4:

./install.sh XXXXXXX-PRIVATE-KEY-XXXXXXX

19) Wait for install.sh script to finish executing and until you see the output:

Masternode successfully started