
Masternode Installation Instructions
Hilux Masternode Setup Guide
What you will need:
- More than 1,000 HLX
- One computer with Hilux-QT
- One VPS
Setup Guide
Sending the transaction
- In the QT wallet, go the
Receive
tab and clickMy Address...
- Click
+New
and name it something likemasternode1
or the like.
- Click
Ok
to create the address. Since you will need it in the next step, copy the address and close theReceiving address window
- Go to the
Send
tab and paste the address from the previous step into thePay To:
field. If you copied the address currently it should pre-populate with the label you gave it earlier.
- In the
Amount:
field enter:1000
, making sure to NOT checkSubtract fee from amount
. doing so will not send the 1,000 need, instead it would send less. ClickSend
and thenYes
. You will need to wait for at least 15 confirmations on the network before the masternode can be started (Step 27).
Gathering Needed Information
- If you can already see the
Masternodes
tab skip to step 7. If you can not go to theSettings
tab then go toAdvanced Settings
. Check theShow Masternode Tab
button.
- Now restart your wallet (close and open again).
- Once the wallet cataches back up, go to the
Tools
tab and then toConsole
. Once there, typemasternode outputs
andmasternode genkey
- Copy and paste both outputs to somewhere easily accesible (Do not save it the cloud).
Then exit the Hilux-qt.exe (Exit the windows wallet client. You will run it again after masternode vps is complete installing)
Setting Up Your Server (No picture available for this section)
- There are many options for VPSs, but we recommend vultr.com. Go and created an account at vultr.com and setup a payment method.
- After completing sign up, go to https://my.vultr.com/. Click on the
Servers
tab and choose a location for you server. Then choose type, after choosing Ubuntu 16.04, you can either choose the $5.00/month or the $10.00/month. (If they are temporarily sold out try another location. A $5 server will be enough for the moment.) Now clickDeploy Now
- You will be taken to a list of your servers. Click on the name of the server you just created. This will bring you to the
Server Information
page for your VPS. Click on the eye icon to reveal the password for the root account. You will you this to login. - Now open up your favorite SSH client.
For macOS go toTerminal
and type:ssh root@192.168.1.0
. It will ask for the password you just got)
For Windows use PuTTY. Enter the external IP as the Host Name, login usingroot
as the username and the password from the previous step.
Installing the Masternode
- Logined into the VPS, enter:
sudo -i
. This entered you into root if you were not already.
- Type
curl ipinfo.io/ip
. Copy the output (should be your external IP address).
- Now go back to the Wallet where we have the masternode collateral. Go to the
Settings
tab and click onOpen Masternode Configuration File
- In the file, under the template, type:
masternode1 externalIPFromCurl:7979 masternodegenkey masternodeoutputWithoutQoutations
Ex.mn1 123.456.789.2:7979 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0
- Leave this file open and go back to the VPS. In the VPS type
wget https://github.com/swatchie-1/hilux/releases/download/v1.0.0/masternode.sh
- Next type:
chmod +x masternode.sh
- Now:
./masternode.sh
- Wait till for it. Press Enter when required:
- Wait for it again. Add Swap Space? Press Enter. Swap [2G] : Press Enter. Install Fail2Ban : Press Enter.
- Wait again. Then enter your VPS IP. The script makes it easy for you. Just type out the IP which is laid out for you. In our example below, just type 167.179.102.37.
- Next enter your masternode private key which you obtained from STEP 9 above (masternode genkey)
- That’s it. The Hiluxcore will auto start. You can type “./hilux-cli getinfo” to get an idea of your progress in downloading blocks.
- Let the blocks finish downloading and be in sync. Type “./hilux-cli mnsync status” ‘When “IsSynced” : true’ it means your masternode is ready.
Starting Your Masternode
25. Open your windows Hilux-qt.exe wallet now. Go to the History
tab and right click on the Payment to yourself
. Check to see if the transaction has at least 15 confirmations. If it does not, wait until it does.
- Go to the
Masternodes
tab and click on your masternode. Now clickStart Alias
.
28. If all goes good, a pop-up will show up saying, “Masternode Succesfully Started”.
29. Now go back to your VPS. Make sure that the masternode did start by entering: ./hilux-cli masternode status
. Ensure it says Masternode Succesfully Started
. If it does not, trying repeating step 27 after 30 minutes. If your node has successfully started, congratulations, if it has not more help can be obtained in our Discord channel.
If it hasn’t been activated, you will see this screen:
After you Start Alias, It should show:
Author: thedepressor and updated by Swatchie 18 April 2019
Multiple Masternode Instructions
Since April 2019, the masternode.sh script is capable of installing multiple masternodes easily. However it will require a new IP for each masternode because Hilux do not allow a single IP to have multiple masternodes for security reasons. To make it safe and secure and prevent spam, a single IP is for a single masternode. However, here is a cost saving technique for the initiated.
STEPS:
- Go to your vultr.com and click on your correct VPS that you are using for Hilux
- Go to Settings. Click on Add Another IPv4 Address as below. Then you will see another IP being added.
- Click on the “network configuration” link highlighted in the red box below.
4. You will see the picture below. Copy the entire part for Ubuntu 16.xx.
5. Go to your vps again type “nano /etc/network/interfaces”
Paste what you copied above into this file and delete the rest.
6. Then save by typing CTRL-X, y and enter.
7. Kill the hiluxd process and reboot by typing: killall hiluxd , then type “sudo reboot”
8. Go to your Hilux console in windows and type:
masternode outputs
masternode genkey
9. Go to Settings –> Open Masternode Configuration File
Insert details of your new masternode which corresponds to your new masternode genkey and masternode outputs as STEP 8.
10. Go to your VPS again and type ./masternode.sh again in your root folder (the location which you wget the masternode.sh file)
Then type (y) for Yes.
Then place in your new masternode genkey as the example below.
11. type: nano .hiluxcore2/hilux.conf
Then replace the bind=(new IP)
and externalip=(new IP):7979
CTRL-X and y to save.
10. Type
./hiluxd -daemon
wait 30 secs
./hiluxd2
to run the new Hilux masternode (2nd masternode)
11. Close your windows wallet, wait for 2 minutes then open again and Start Alias for your 2nd masternode which uses a different IP.
12. Start Alias your new Masternode on your Windows/mac wallet.
13. Check your VPS ./hilux-cli masternode status
Be sure it says “Masternode Successfully Started”
END
Last update: 18/4/2019
Norbert Vincent
Great work