Masternode HOT/COLD Setup Guide

Setting up a local wallet for cold storage and a hot wallet masternode on a VPS is very easy. Better hardware can be used to help with the masternode’s performance. Also, using less than the minimal required hardware can make the masternode unstable and may cause the masternode to crash or perform poorly. Doing so, the node may get flagged, banned and kicked off the masternode list and it will lose valuable rewards or collateral.

Users who are looking at building the hot wallet from source, please consider getting a VPS with 2 GB of RAM, or setup a swap file to allow the building to be successful. Using 1 GB of RAM will likely cause memory errors and crashes during compiling.

For additional security on your vps consider removing root access, adding a sudo user, setting up SSH access and firewall.

Hardware Requirements:

Minimum
Recommended
RAM 1 GB 2 GB
CPU 1 x 1 GHz 1 x 2 GHz
Disk 8 GB 16 GB
Network 400 GB/mth 1 TB/mth

Masternode bandwidth usage ranges between 300-500 GB per month and will increase as the network grows.
We recommend VPS services such as DigitalOcean, Vultr and Afrihost, although any decent hosting provider will do. Generally an instance with low to average specifications will do, although performance requirements will increase over time.

v0.12.1.11 Wallet Releases

Ubuntu 16.04:
https://github.com/tune-crypto/tune/releases/download/v0.12.1.11/tune_v0.12.1.11_l.zip
Windows 32bit:
https://github.com/tune-crypto/tune/releases/download/v0.12.1.11/tune_v0.12.1.11_w32.zip
Windows 64bit:
https://github.com/tune-crypto/tune/releases/download/v0.12.1.11/tune_v0.12.1.11_w64.zip

Blockchain Snapshots

Block Height : 49874
Block Hash : 0000000000a477181b33cf33d85a76681f3cc9c6e0b5d51311cb04ae2c08f69f
Linux Snapshot:
Blocks (Only) Full (excl. wallet.dat, tune.conf or masternode.conf)
Windows Snapshot:
Blocks (Only) Full (excl. wallet.dat, tune.conf or masternode.conf)

Verify your on the correct blockchain

  1. Open the block explorer block count api
  2. Open the block explorer block hash api – 49874
    You can change the number in the url to the one on the block count to get the block hash for that block number
  3. Check if your blockchain current number of blocks matches the block count from the api
    If your blocks match then you are on the correct chain. If not, please check your wallet version and your “tune.conf” file for any discrepancies.

Installation Instructions

Windows Cold Storage Wallet:

  1. Download the relevant zip file
  2. Download the relevant snapshot
  3. Extract the wallet and the snapshot
  4. Open extracted wallet folder and execute the “tune-qt.exe” application
  5. Choose a wallet data directory or use the default and click “OK”
  6. Firewall Warning – If Windows Security Alert popups, please click “Allow access”
  7. Tune Wallet will now open and start to synchronize the blockchain
Fast Track Synchronize (Optional)
  1. Close the qt wallet
  2. Open your wallet data directory, If you used the default directory you will find it on your windows data partition
    • E.g: C:\Users\[yourusername]\AppData\Roaming\TuneCore
    • From your Run Command type: %appdata%\TuneCore
  3. Copy the snapshot blocks folder into your wallet data directory and select “Replace the files in the destination”
  4. Remove all files in the wallet data directory EXCEPT for:”wallet.dat”, “masternode.conf,” & “tune.conf”
  5. Execute the “tune-qt.exe” application again. It will take a bit longer to open because it’s validating the newly added blocks
  6. Your blockchain sync will now be much further along 🙂 Wait for the blockchain to sync and the other network information
  7. Verify your on the correct blockchain
  8. Make a new address for the masternode on your wallet – Click on “File” ==> “Receiving addresses…” and then click on “New”
  9. Type in a label for your new receiving address E.g: MasterNode1 and click “OK”
  10. You will see your newly created Addresses next to your label, right click the address and select “Copy Address”, now paste this to a safe location we will be using this address to send the collateral to. You can now “Close” the “Receiving addresses” dialog
  11. Next we need to show the masternode tab on the qt wallet – Click on “Settings” ==> “Options” and click on the “Wallet” Tab
    Make sure that both the “Show Masternode Tab” and the “Enable coin control features” are selected and click “OK”
  12. First thing to do is to check the required collateral needed to start the masternode – Click on “Tools” and then “Debug Console”
    At the bottom textbox type in: getinfo and press “Enter”
    Find the text “masternode price”: 1000, Before Block 10K it was 1000, after Block 40 it’s 3000…but it might change again after Block 120K

Deposit Collateral to your Cold Wallet:

  1. From your wallet or exchange wallet send the exact amount of collateral needed to the address made in step 16, 3000 TUN, if the price changed then send that amount

Windows Cold Storage Wallet Continue:

  1. Wait for at least 10 confirmations then on the debug console type in: masternode outputs and press “Enter”
    You succeeded if you see something like:
    {
    “1fbc82fec63160a6fb99d9d7200c2fe7b518ab19e7a18595cf1825e10661ba4b”: “5”
    }

    Copy this information to a safe location we will be using this later as well as with our masternode profit-sharing registration, the first long number is the Output TXID and the small number at the end is the Output Index
    You failed if you see something like:
    {
    }

    You must send the exact amount of collateral, or you must just wait for at least 10 confirmation before you type in: masternode outputs
  2. Now we just the masternode private key, on the debug console type in: masternode genkey and press “Enter”
    Copy the masternode private key to a safe location we will be using this later as well as on the vps and with our masternode profit-sharing registration
    You succeeded if you see something like:
    {
    93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg
    }
  3. You can now close or exit your cold storage qt wallet.
  4. Open your wallet data directory
    if you used the default directory you will find it on your windows data partition –

    • E.g: C:\Users\[yourusername]\AppData\Roaming\TuneCore
    • From your Run Command type: %appdata%\TuneCore
  5. Edit your “masternode.conf” in a text editor like notepad and a row to the bottom of that file with your masternode details as described in the format & example, TUNE coin uses port:20726. And you will get IP from your vps hosting provider. Your “masternode.conf” file should now look like, E.g:
    # Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index
    # Example: mn1 127.0.0.2:19999 93HaYBVUCYjEMK64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4eb92e0d0324456a67c 0
    MasterNode1 123.123.123.123:20726 93HaYBVUCYjEMK64xiqgX37tGBDQL8Xg 1fbc82fec63160a6fb99d995cf1825e10661ba4b 5
  6. Save your “masternode.conf”

Ubuntu 16.04 VPS Hot Masternode Wallet:

  1. Log into your vps
    If you are logged in as root you do not need to put ‘sudo’ in front of the following commands
  2. Type the following commands line for line into the cli:
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get dist-upgrade
    sudo apt-get install nano htop git
    sudo apt-get install software-properties-common
    sudo apt-get install build-essential libtool autotools-dev pkg-config libssl-dev
    sudo apt-get install libboost-all-dev
    sudo apt-get install libevent-dev
    sudo apt-get install libminiupnpc-dev
    sudo apt-get install autoconf
    sudo apt-get install automake
    sudo add-apt-repository ppa:bitcoin/bitcoin
    sudo apt-get update
    sudo apt-get install libdb4.8-dev libdb4.8++-dev
    sudo apt-get install zip unzip
    wget https://github.com/tune-crypto/tune/releases/download/v0.12.1.11/tune_v0.12.1.11_l.zip
    unzip tune_v0.12.1.11_l.zip
    rm tune_v0.12.1.11_l.zip
    ./tuned -daemon
    sudo nano .tunecore/tune.conf
  3. Add lines masternode=1 and masternodeprivkey=YOURMASTERNODEPRIVATEKEY to the “tune.conf” E.g:
    masternode=1
    masternodeprivkey=93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg
  4. Save the “tune.conf” file – Ctrl + X (to quit nano), Y (to save changes), Enter (to override and return to cli)
  5. You can now reboot your vps, wait a few seconds and then log back into the vps and start the TUNE daemon
  6. Type the following commands line for line into the cli
    ./tuned -daemon
    watch ./tune-cli getinfo
  7. Wait for the blockchain to synchronize, Congratulations you are on the correct TUN-chain!

Windows Cold Storage Wallet Final :

  1. Execute the new “tune-qt.exe” application and wait for the blockchain and other network information to completely sync
  2. Click on the “Masternodes” main tab
    On the “My Masternodes” tab you should now see your masternode1 alias and the status of the masternode, if the status is “ENABLED” it means your masternode has successfully started, if the status is “MISSING” or “NEW_START_REQUIRED”, please click on “Start MISSING” or “Start all” respectively
    You should get a popup message saying:
    Successfully started 1 masternodes, failed to start 0, total 1
  3. Congratulations! Please remember to register for profit sharing.

FAQ

Coming Soon!

Share this article
Author

I am one of a lucky few, where my passion happens to be my business! Some people call it hard work, but i am having the time of my life! Over the years my projects, codes and builds were getting ever more complicated, advance and cutting edge but even more exciting and fun. i was growing as a developer (and still am) but now i strive for the next level of excellence!

Leave a comment