This is the advised Method to setup your Masternodes. The wallet containing the coins does not have to be exposed and can run on your local computer. It does not have to run all the time and you are not vulnerable to someone hacking your VPS because all he can do when he hacked your VPS is stop your MNs but not steal your coins!
Desktop Wallet Setup
In the first steps the desktop wallet will be setup. This is the wallet you can run on your local PC. When the Masternodes are connected this wallet can be closed and the PC does not have to run in order for the Masternodes to generate rewards.
We will create an address, private key and transaction for each Masternode (MN in the following) and show the necessary steps for configuration.
1. Open Console: Tools → Debug Console
and press Enter.
Repeat this step for the amount of Masternodes you want to setup as shown. Make sure you count up (MN1, MN2 etc.).
These are the addresses that will be associated with the MNs. You can view all you created addresses under File → Receiving Addresses.
2. Send exactly 1000 coins to each MN address
Klick on “add recipient“ to add lines so you can send to all nodes in one transaction.
3. Setup MNs in config: Tools → Open Masternode Configuration File
Your text editor will open with the configuration file.
alias IP:port masternodeprivkey txhash outputindex
We will now add a Line for each MN with the following Format:
a. Begin by entering and alias IP:port
i. Alias: the name of the MN receiving address (we
named them MN1, MN2, …)
ii: IP: The static IP of your server
iii: port: A port the MN will connect to. The port is not
fixes and only 1 MN can run on 1 IP!
You can only have one node per IP!
b. Next we get the “masternodeprivkey“
i. Open debug console again, type:
and press enter.
i. Repeat the line for each MN you want to setup
iii. Copy the output keys to the config
The private keys are used for voting and identify you as the real owner so don’t share them.
c. Next we will add txhash and outputindex
i. Go to the debug console again, type:
and press enter
ii. If you send the coins in one transaction the “txhash“ will be the same. If you add a Masternode later, another tuple will be added. So every Masternode has a unique pair of txhash and outputindex.
iii. Copy the information to the config file (Make sure you don’t forget the index!)
This is what your config should finally look like.
4. Save the file and restart the wallet.
Verify now that your MN are shown in the Masternodes tab.
Getting a VPS
For the cold wallets you first need a Linux VPS. You can get very cheap ones for 5$ here: vultr.com. These can run around 10 Mozart Coin Masternodes instances though it might be a good idea to split your MNs across some different servers. The more isolation you have the less likely you are hit big by a server outage.
After registration you get to the Dashboard. You have to do the first payment with something else then Bitcoin. After the first payment you can pay the servers in BTC.
5. Deploy the server
Hit the plus top right to add new instances
6. Choose a region near you. It does not really matter.
a. As “Server Type“ choose Ubuntu and klick 16.04 (Important don’t take 17.10!)
b. As Server Size choose the 5$ instance with 1GB Ram.
c. Scroll down and give the node a name.
d. After that click “Deploy now“ in the overview you should see this:
7. Connect to the Server.
e. You will need some SSH tool connect. I use “Royal-TS“ to manage
several connections at once. It’s a bit harder getting used too but has
f. To connect with “putty“ a basic tool refer to this guide.
g. You can find username (root) and password when you click on the
newly created instance. The installation has to finish before!
h. Note: pasting your clipboard is “right click“.
Automatic server installation and setup.
8. Download and execute script on VPS:
wget https://mozart-coin.com/coin/install-MN.sh chmod 755 install-MN.sh ./install-MN.sh
This process is interactive and takes several minutes.
Enter y and press enter when you first setup the server. All dependencies and needed programs will be installed (takes some minutes).
Enter y and press enter.
Enter the servers IP address (22.214.171.124 in my case).
Enter the number of Masternodes you want to run on the server (1 in my case).
Enter the asked information. The alias is to give each node a unique name and control it. Enter port and Masternode key which you configured before in the desktop wallet. Also unique free rpc port is needed. You can take any. The input process repeats for every node you want to configure (1 times in my case).
If you made an error when typing the interactive stuff: ctrl+c and restart the script
9. Controlling the Masternode
a. The script from the last step already started all wallets on VPS
b. Type “source .bashrc“ in console
c. Each MN has now its own control script under ~/bin (named with alias you typed before)
Start your Masternode
From the Control wallet debug console startmasternode alias false <mymnalias>
where <mymnalias> is the name of your Masternode alias (without brackets):
startmasternode alias false MN1
The following should appear:
Every node has a script “amadeus-cli_ALIAS.sh“, “amadeusd_ALIAS.sh“. Always use these scripts and not the daemon directly.
a.If sync is finished go to your desktop wallet and start MNs in the Masternode tab (unlock wallet before).
Use the following command on VPS to check status:
amadeus-cli_mn1.sh masternode status
You should see something like: