Ubuntu Masternodes

MASTERNODE SETUP


In this Tutorial we will describe you step by step how to setup one/multiple Masternodes with a so called HOT (local) and COLD (virtual) Wallet setup. The big benefit of a setup like this is that you have your Coins stored localy and the Masternode Wallets on your virtual Server are empty Wallets using just a config file. We will also show the possibility how to setup multiple Masternodes on one virtual Server.

CHECKLIST

  • minimum 1500 $MONK on your local Wallet
  • rent a Ubuntu 16.0.4 virtual server
  • A tool ( for example Putty ) to connect to your Server

DEPLOY AN UBUNTU SERVER


SHOW/HIDE

HOST SERVER ON VULTR

We recommend to use VULTR instances for our Masternodes since they can be terminated 24/7 whenever you decide to stop your Masternode Server payments stop.

First you have to Deploy a new Server on your VULTR web interface using the button in the top right corner.

Please make sure you select Ubuntu 16.04 x64 as Server. Depending on the Number of Masternodes you want to host you have to select the size of your Server.

1-5 Masternodes can be hosted on a 5$/mo Server. 5-15 Masternodes require a 10$/mo Server.

As a final step you simply have to define any name you like for the Server and then you can start the Service.

PREPARE LOCAL HOT WALLET


SHOW/HIDE

CREATE A MASTERNODE ADDRESS

Navigate to your RECEIVE Tab and create a New Address. Copy this Address by right clicking on it.

SEND 1500 $MONK TO YOUR NEW ADDRESS

Navigate to your SENDING Tab and enter your new Address as Receiver.

Make sure you send exactly 1500 $MONK to your new Adress.

PREPARE THE MASTERNODE.CONF

The last step on your HOT Wallet is the preperation of the masternode.conf. Please use the Menu “TOOLS” – “EDIT MASTERNODE.CONF” and open the masternode.conf file.

Leave this File open and go back to your MONKEY Wallet. Now open “TOOLS” – “DEBUG” and navigate to the Console.

Type masternode genkey and masternode outputs

Copy paste this values into your masternode.conf with the following structure:

Format:

alias IP:port masternodeprivkey collateral_output_txid collateral_output_index

Example:

mn1 127.0.0.2:8710 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0

alias has to be replaced with any name you want to use to identify your Masternode
IP:port has to be replaced with the virtual Server IP you rented at CHECKLIST. You can use every port you like. We use 8001 for our Tutorial.
masternodeprivkey is the result of your masternode genkey
collateral_output_txid is the txhash info your masternode outputs
collateral_output_index is the outputidx of your masternode outputs

The final Result on our Tutorial will look like this:

Once you entered this information you can save the masternode.conf file and your HOT Wallet is prepared.

You can restart your HOT Wallet now and you will see that 1500 $MONK are locked at Coincontrol:

You will also see Masternode at the MASTERNODE Tab of your Wallet now:

Please dont start it now. We first have to prepare the cold Wallet.

MULTIPLE COLD WALLETS ON ONE SERVER


SHOW/HIDE

CONNECT TO THE VIRTUAL SERVER

We use Termius ( on Mac ) to connect to our remote Server. You can also use a freeware like Putty on Windows.

Enter the IP of your Server and press connect.
Enter your login credentials when asked for. Default username is root. Password can be found on VULTR.

When you connected successfully you will see a shell similar to this:

Now you have to download our automatic install script to your ubuntu machine.

First of all you got to use a wget command – just copy paste this in your shell:

wget https://raw.githubusercontent.com/XeZZoR/scripts/master/MONK/setup.sh

The script will be fetched within a very short period of time.

Next command is giving the script permissions to be executed:

chmod 755 setup.sh


Final step already installs your Masternode:

./setup.sh

This step is important depending on if you already installed a Masternode before, or not!

If its your first time you host a Masternode on the Ubuntu Server, please type y – if you installed a Masternode before and only want to add a new one you can choose n.

In the next step the script will ask you how many Masternodes you want to setup. In our Tutorial we will choose 1 but you can put up to 8 on a 5$ Server and up to 15 on a 10$ Server of VULTR.

In the next Step you can define an unique alias for each Masternode, its recommended to number those.

Now you got to enter the Port you choosed at your HOT Wallet again, in our Tutorial it was 8001. If you create multiple Masternodes on your HOT Wallet its recommended to choose Ports like 8001, 8002, 8003 and so on.

Enter a fitting RPC Port in the same structure. 9001, 9002, 9003 and so on for each node.

Now the most important step. You have to enter the Masternode genkey for each Node that you defined at your HOT Wallets masternode.conf file.

If all was setup correct the Server is starting up and u can close the remote shell afterwards.