HarvestCoin Hot Cold VPS Masternode on Windows

This is a step by step procedure to setup a HarvestCoin Hot-Cold VPS Masternode on Windows.

We will be setting up two masternode wallets:

1- One wallet is installed remotely on the VPS, it will not have funds in it, so it considered cold. 2- One wallet is installed locally on your windows computer, it will have the funds in it, so it is considered hot. This acts as a proof that you own the funds, and as a remote control.

After the install, you can shut down your local wallet anytime, and the remote wallet will continue working 24/7, and it will be sending your rewards to your local wallet.

For this to work, you will need to rent a VPS, like at scaleway.com or vultur.com The least expensive will do. (2-5$ per month) I used Ubuntu Trusty 14.04 for this setup. Once you have rented your VPS and you know your remote IP, you need to learn how to secure it, I prefer Bitvise https://www.bitvise.com/ssh-client-download You can find info how to secure your VPS with Bitvise here https://www.bitvise.com/getting-started Or elsewhere on the web.

The Local wallet Setup:

First Download the HarvestCoin from the official website: https://www.harvestcoin.org/ Go to wallet, windows.

Once installed you should Encrypt the wallet, and keep your password safe. Then Backup your encrypted wallet to a safe place.

Now let the wallet sync. If it does not sync you can close and try again.

Open yourself a new notepad textfile to paste all your informations for future use.

What you are searching for is these informations:

Masternode deposit address: Masternode private key: Remote IP address: Port:12116 Valid 2500 HC Transaction Hash: Valid 2500 HC Transaction Index:

To find those infos, Go to Help -> Debug Window and Select The Console Tab

In the Console window bottom field, type getaccountaddress 0 and copy the result to your notepad. This is your MASTERNODE DEPOSIT ADDRESS, where you will deposit the coins to create a masternode. Pay 2500 HARVEST exactly into this address. No more, no less. If you were sent more or less than 2500 HC, send exactly 2500 to yourself so you have a valid transaction. You need 15 confirmations on your valid tx to start your masternode.

In the Console Debug window enter “masternode genkey” and copy the result to your notepad. This is your MASTERNODE PRIVKEY.

Now we need to open the local wallet configuration file, it's in a hidden folder on your roaming folder on your computer, so to access it:

Press once on the windows key on the bottom left of the keyboard, the type directly %appdata% and press enter.

It should open your roaming folder where you can find the Harvest folder

Enter the Harvest Folder and double click on Harvest.conf

It should open the file in Notepad. Then paste these lines:

masternode=1 rpcuser= (yourusername) rpcpassword= (yourlongpassword) masternodeprivkey= (your local masternode private key) masternodeaddr= (IP:Port)

Go back to your Notepad and copy-paste your private key after the equals sign of “masternodeprivkey=”. Paste the IP and PORT after masternodeaddr= (example
IP is your remote VPS IP Address, Port for this coin is 12116
Now save and close the Harvest.conf file.

One thing done.

Now we need to find the Valid transaction proof:
(You need to have already made your exact 2500 transaction, and have the wallet unlocked sync, and 15 confirmations for this).

Go to the help, debug window, console.

Type masternode outputs

You will get only empty {} if your transaction did not work properly. If you have a valid transaction you will get something like this:

{ "9876235987jkghfkjashogfre987634259876342oiuyfihg98762135" : "0" }

This is your "VALID TRANSACTION HASH" followed by your "TRANSACTION INDEX"

Copy-paste the long string in your notepad (without all the extra caracters { : ") that is your Tx Hash. Then copy-paste to your notepad the alone number (0 or 1), that is called the Index.

We are now ready to create the masternode:

Go to the local wallet, masternode tab, click create.

Fill in the fields:

Alias: (name of your masternode) Address: (IP:Port example IP is your remote VPS IP Address, Port for this coin is 12116 PrivKey: Your masternode private key TxHash: Your valid Transaction hash, (the long string clean without the extra stuff) Output Index: Your valid transaction index (0 or 1) Reward Address: Your HarvestCoin Address Reward: I put 100%

click ok,

Close the wallet by going to File -> Exit.

It should have created a file in your %appdata% roaming folder-Harvest called masternode.conf

You can open it to check (Optional)

In there you should have just one long string with all your infos one after the others:

Alias Address:Port PrivKey TxHash Index RewardAdress %
Now you know where to find it.

Open the HARVEST Wallet again by running Harvest-qt.exe.

The Local side is done, now we need to setup the VPS:

Setting up the remote HarvestCoin Wallet On VPS
Once you purchased a fresh VPS with Ubuntu 14.04, and you are connected to it with Bitvise or similar software:

We will be copy-pasting commands one by one in the VPS console:

(in Ubuntu console you paste using right click-enter. Ctrl-C and Ctrl-V doesn't work. Selection automatically copies to clipboard also).

Starting and Updating Ubuntu:

(Copy paste these commands):

sudo apt-get update

apt-get upgrade

(press enter to continue when asked)

If you want more security you can create a new user (optional but recommended):

adduser newUsername usermod -aG sudo newUsername

(Return to your ssh client and log in again with this new user).

Step 2: Making swapfile:

sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000 sudo mkswap /var/swap.img sudo swapon /var/swap.img
To make the swap file persist after rebooted:

sudo chmod 0600 /var/swap.img sudo chown root:root /var/swap.img sudo nano /etc/fstab

Append the following line to the end of the file:

/var/swap.img none swap sw 0 0

Save the file and exit

Step 3: Firewall ( can do this step at anytime )

sudo apt-get ufw sudo ufw allow OpenSSH sudo ufw allow 9999 sudo ufw default deny incoming sudo ufw default allow outgoing sudo ufw enable

Step 4 : Compiling the wallet

Step 5: You need to install dependencies

sudo apt-get -y update && sudo apt-get -y install build-essential libssl-dev libdb++-dev libboost-all-dev libcrypto++-dev libqrencode-dev libminiupnpc-dev libgmp-dev libgmp3-dev autoconf autogen automake libtool

cd ~/Harvestcoin/src make -f makefile.unix

(this step takes a while, make sure it does not give you an error message at the end)
  • -Optional-
  • Once completed, to see if the wallet is ready you can type:
  • ls
  • If you have the file called Harvesd in the list, that is your VPS wallet.
  • If you want to see the different functions of your wallet you can type:
  • ./Harvestd help
  • -This was optional, only to help in case of problems or if you are curious-
Step 6: Now you can Start your VPS masternode:


(It should say - It is recommended you use the following random password: etc...

And exit normally, it wants you to set a user and password in the file ~/.Harvest/Harvest.conf You can use the password it suggests, or use another one you choose.

Step 7: Editing Harvest.conf to set user and password (Note edit as nano)

nano ~/.Harvest/Harvest.conf

##navigate and edit the file to make it look like this: ##(Change username and password)




daemon=1 server=1 listen=1

##(Save And Exit)

Let's Start the server again:


You should see server starting, and let it sync for a while.

To check the status of your masternode,

Press enter to get command line active if it's not ./Harvestd getinfo

Once the blocks number is the same that you can see in the help-debug window-information of your synced local wallet, or on the block explorer, it means your vps wallet is synced.

Restart your local wallet and go to masternodes. Press Update.

If you did the procedure to setup your local wallet, you should see your masternode with it's - alias - ID:Port - % - Reward address, so you can start it.

You should see "masternode is running!"

You can check status in the local console by typing masternode status

If you get "status" : 1 it's all good! You don't need to keep you local open now.

If it's not working i suggest you go to the HarvestCoin slack to ask for help https://harvestmasternodecoin.slack.com

Enjoy your rewards !

Author : Namirah
Bitcointalk link : Namirah