HOT+COLD Wallet setup Windows & Linux VPS
Also, there are other setup guides out there and they take different approaches and place files in different directories…. jumping between guides is not recommended unless you’re an experienced Linux user and can easily and account for the differences in paths and commands. In such cases, we can’t support you! We are these steps from this guide. When you’re doing other, don’t ask about support.
a VPS server with Ubuntu (18.x, 19.x, 20.x), Debian 9.x
installation directory /root
Step 1 - Download and sync the Windows wallet
Step 2 - Setting up the collateral transaction
The first step involves sending exactly the needed masternode collateral about 9999 to a new wallet address. You’ll want to have a small amount above to cover the transaction fee, so you’ll need to have a starting balance of at least, say 10.000.00 GOSS. First, we’ll create a new wallet address to hold the collateral.
In the QT wallet, choose: File->Receiving addresse... and give it a label, such as MN01
Click Request Payment to create the address. You’ll see the new address. Choose Adddress Copy to store that address in the clipboard.
Click Close to exit the receiving address dialog. Now we’ll send the collateral amount to the address you just created.
Under the Send tab, paste the address that you copied into the Pay To: field. The Label field should pre-populate with the label you gave it earlier, in this case, MN01 and in the Amount: field, enter the actual collateral
Click Send and your transaction will be broadcast to the network
You’ll need to wait for 16 confirmations (the current number of confirmations is viewable in the Transactions tab before the masternode will fully activate. But now wait at least 1 confirmation before you follow the guide.
We can start working through the rest of the setup in the meantime
All is clear till now? This part was successful? When yes go to the next step, when no start over. All steps are easy and clear. Read, understand, and do it.
Step 3 - Generate the masternode entry and the RPC user and password
Next, we need to the Masternode tab in the wallet and click the Add Masternode button.
Fill out your alias name (in our example MN01), your VPS server IP address with the port (126.96.36.199:23677), the private key, output, and output ID will be filled out automatically when you press the buttons Autofill Privkey and Autofill Outputs.
Go to Tools - Open Wallet Configuration File
Put this in your wallet config file, change the username and password to your own, take care that you have no blanks, spaces or a newline in the file. Save and close the text file after editing.
You can use the online password generator for the username and password. You mustn't remember this. https://www.random.org/passwords/
Open the Masternodes tab in the wallet and click Add Masternode (be sure that your 9999 transaction has at least 1 confirmation.
Click Autofill Privkey and Outputs, the fields will be filled automatically. Copy the Privkey in a text file.
Fill the alias Name (MN01) and add the IP address from your Linux VPS server with the port (188.8.131.52:23677) and click OK.
Restart your wallet (close and open).
Step 4 - Setting up a Linux VPS
You will choose a VPS provider that you like. You are paying more than 5$ per month for your server? Be not so lazy and search, you will find nice providers from 2.50$/month. You not need “special” security extras, like DDOS protection.
Use fail2ban and the UFW firewall for security hardening. But what I’m telling you, when you install you’re masternode manually, you know this all.
Be patient with other different masternodes on one server. My suggestion is, run not more than four masternodes on one machine with 1GB memory.
These hardware specs are enough for a stable masternode: 1024 MB (1GB RAM), 20 GB disc, 1 CPU
Step 5 - Logging into your VPS with PuTTY
To access the VPS, we need to use a protocol called SSH. An SSH session will give you command-line access to your VPS and will be the mechanism we use for running commands on the Linux machine. We’ll use a program called PuTTY. (For OSX users, you can use your Terminal and just run the command ssh root@<YOUR VPS IP ADDRESS>)
The latest version of PuTTY can be downloaded from here. Install PuTTY and run it. Once open, you’ll see the standard PuTTy interface: Under Host Name, enter the IP address for your VPS.
You’ll likely see a security alert listing the ssh key fingerprint, choose Yes. Next up, you’ll see the login prompt for your VPS.
Note that in PuTTY, a right-click will paste the contents of your clipboard. So if you’re copying and pasting the root password, a right-click will paste. You won’t see any *’s or feedback for the password when you paste it, so just hit Enter after pasting. If you get an Access Denied message, double-check your root password and try typing it in manually rather than pasting.
Step 6 - Install the Masternode
Download the wallet:
Uncompress the archive, create the config folder and remove the not needed archive:
tar -xvzf gossip-2.3.0-x86_64-linux-gnu.tar.gz mkdir .gossip && cp gossip-2.3.0/bin/gossipd . && cp gossip-2.3.0/bin/gossip-cli . rm -rf gossip-2*
Create the config file:
Copy and paste the following parameters in this file (for IP v4 IP addresses):
rpcuser=myrpcuser rpcpassword=mylongrandompassword rpcallowip=127.0.0.1 listen=1 server=1 daemon=1 maxconnections=224 logintimestamps=1 masternode=1 externalip=Your VPS IP masternodeprivkey=Your QT wallet generated this key. Copy and paste it here
IP v6 config file example:
rpcuser=username rpcpassword=password rpcallowip=127.0.0.1 listen=1 server=1 daemon=1 maxconnections=224 logintimestamps=1 masternode=1 bind=[YOUR v6 address] masternodeaddr=[YOUR v6 address] masternodeprivkey=Your QT wallet generated this key. Copy and paste it here
Start your node:
Now we must wait for full synchronization. Check the synced blocks with the actual block count. You can find it in your Windows wallet under Tools --> Information
When you can see that the block count is on the Linux server the same as in the Windows wallet, your server is in sync.
Activate the Masternode. Return to your Windows wallet.
NOTE, before clicking start, make sure your transaction has AT LEAST 16 confirmations, you can check the number of confirmations by hovering the mouse cursor over the transaction in the Transactions tab.
When you have an IPv6 address, start with the command line: "startmasternode alias 0 YOUR_MN_NAME"
Go to the Masternodes tab, right-click your masternode and click Click the Start Alias.
Check the Masternode status:
./gossip-cli masternode status
We can see: “Masternode successfully started”
When not? Check your IP address and masternode private key from the Linux server and the windows wallet.
When you are starting the daemon with "sudo ./gossipd" your installation is NOT reboot safe! The best way is to create a service (unit file). Much easier is to use the GOSSIP masternode install script, we are creating here a unit file. The daemon will be all-time on and reboot safe.
But I think when you using the manual installation method you have Linux experience and you know what you are doing.