This guide is for setting up a FIXmasternode on a Ubuntu 16.04/18.04 64-bit server (VPS) and will be controlled from the local wallet on your computer. The wallet on the VPS that runs your masternode will be referred to as the remote wallet.
One million FIX
A personal computer - this will run the local wallet, hold your 1,000,000 FIX collateral and can be turned on and off without affecting the masternode
A VPS server running Ubuntu 16.04/18.04 - this computer will be on 24/7 and runs the remote wallet and masternode
A static IP address for your VPS
Download, install and sync the FIX wallet on your local computer. Wallet links can be found here.
In this local wallet, go to Tools > Debug console and type the following command:
This command will generate your Masternode Private Key. Save this key e.g. on Notepad as we will be using it later.
3. Now enter the following command into the console:
getaccountaddress YourMasternodeAddressName This will create a wallet address and masternode name for your masternode. Save this as we will need it later.
4. Send 1,000,000 FIX to the address generated in the previous step. IMPORTANT: In the Amount box, type in EXACTLY 1,000,000. This transaction tells the blockchain that the address you are sending it to is a masternode. If you type in more or less than one million FIX, or attempt to split the payment into two transactions, it will be invalid for a masternode. When you press the Send button the wallet will calculate the proper transaction fee. Click Yes in the dialog box that follows and proceed to the next step.
5. Using your local wallet, wait for the first confirmation and then enter the debug console (Tools > Debug Console) and type the following command:
masternode outputs This will display the transaction id followed by the output index (this is the proof of transaction of sending 1,000,000 FIX). Save this to a notepad as well.
6. In the local wallet’s toolbar, click Tools > Open Masternode Configuration File to open masternode.conf and add the following line:
<MN alias> <unique IP address>:17464 <your MN private key> <transaction ID (txhash)> <output index 0 or 1 (outputidx)>
Save the file and restart the wallet.
Example as per above format:MN1 126.96.36.199:17464 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0
Example of the masternode.conf file
To install the remote wallet first you will log into your VPS using the SSH client. After logging in, type the following commands into your VPS terminal.
1. Download the MN installation script
2. Run the MN installation script
3. Follow the instructions
When the transaction has received 16 confirmations, the masternode is eligible to start. In the Masternodes tab, right-click on the masternode and choose Start alias.
Go back to your remote wallet to check the masternode status:
./fix-cli startmasternode local false
A message Masternode successfully started should appear.
You can also use the following command to check the status:
./fix-cli masternode status
Something similar to this should appear:
“txhash” : “334545645643534534324238908f36ff4456454dfffff51311”,
“outputidx” : 0,
“netaddr” : “188.8.131.52:17464”,
“addr” : “FmXhHCV6PjXjxJdSXPeC8e4PrY8qTQMBFg”,
“status” : 4,
“message” : “Masternode successfully started”
Now you can also double-check the masternode status in the FIX explorer.
To do so, copy your masternode wallet address from the terminal window by selecting it with your mouse (
FmXhHCV6PjXjxJdSXPeC8e4PrY8qTQMBFg in the above example). Visit the masternode section of the FIX explorer, and paste it in the lower right search box to find your masternode.
Your masternode status should appear as ACTIVE.
That's about it. Congratulations! You have successfully created your masternode.