How to build a NihiloCoin masternode on Windows VPS

in nihilocoin •  7 years ago  (edited)

NihiloCoin (NIHL) - Masternode - Windows/Windows VPS - Guide

Note, if you think you did everything right and you are having "WATCHDOG_EXPIRED" status, simply go to step WATCHDOG_EXPIRED issues section at the bottom of the post.

Get wallet software

Download, install and sync latest NihiloCoin Windows wallet on both local and Windows VPS computers.
https://github.com/nihilocoin/nihilo/releases/

Send your collateral

In order to setup an Nihilo masternode , you’ll have to get some collateral:

1000 Nihilo coins (https://www.southxchange.com/Market/Book/NIHL/BTC https://wallet.crypto-bridge.org/market/BRIDGE.NIHL_BRIDGE.BTC https://stocks.exchange/trade/NIHL/BTC)

Open your local NihiloCoin wallet, check if you have active connection to the network(bottom-right corner), make sure you have 1001 NihiloCoin coins in your wallet. Go to "Settings > Options > Wallet", enable "Enable coin control features" and "Show Masternodes Tab". Now restart your wallet.

Go to "Receive" tab and create a payment request by filling "Label"(name your masternode, eg MN1) and "Amount"(amount should be exactly 1000). Keep everything else unticked(remove Request InstantSend). Now click "Request payment" and copy the address "Copy Address".

Go to "Send" tab and paste our copied address into "Pay To", now you should have "Label" and "Amount" correctly filled in. IMPORTANT to keep "Subtract fee from amount" UNTICKED. Keep "PrivateSend" and "InstantSend" unticked too. Now click "Send".

Generate your private key

Create a text document to save the following data. Now go to "Tools > Debug Console". Type "masternode genkey", this is your private key, save it to a text document.
Your private key will look like this:
"7929zATAyenPS9apZN543QkDi9uUdCJjGhFvyPoIQTjNQjw8pdd"

Note your transaction

Type "masternode outputs", this is your TxID, save it to your text document. (Note that if you are not getting your TxID, wait until your 1000 coin transaction has more confirmations or is complete)
Your TxID will look like this:
"8acf6e12ab210e8d8167fc800185bb3ppac3a534b4af6990001126c3a25d4146": "1"

Configure your masternode configuration file

We are still in our local wallet. Go to "Tools > Open Masternode Configuration File". You will see a text document, add a new line without "#". When done editing, save and close this text document.
[ID] you can use your previously named "Label"(eg MN1).
[VPSIP] your Windows VPS IP Address.
[masternodeprivkey] your private key (we previously saved it in text document)
[collateral_output_txid] your TxID string (we previously saved it in text document)
[collateral_output_index] your TxID single digit (we previously saved it in text document)

Format:
[ID] [VPSIP:7777] [masternodeprivkey] [collateral_output_txid] [collateral_output_index]

Example:
MN1 1.1.1.1:7777 7929zATAyenPS9apZN543QkDi9uUdCJjGhFvyPoIQTjNQjw8pdd 8acf6e12ab210e8d8167fc800185bb3ppac3a534b4af6990001126c3a25d4146 1

Close your local wallet.

Configure your masternode wallet configuration file

Open your Windows VPS wallet. Go to "Tools > Open Wallet Configuation File" Paste the following and edit these 4 lines: rpcuser(can be any random username), rpcpassword(can be any random password, you won't use it, but make sure it is long enough), masternodeaddr, masternodeprivkey. When done editing, save and close this text document. This is used internally within the master node software you dont need to remember the user name and password.

Format:
rpcuser=YourMasternodeID
rpcpassword=YourMasternodeRandomPassword
rpcport=11998
rpcconnect=127.0.0.1
listen=1
server=1
daemon=1
masternode=1
externalip=YourVpsIP:13535
masternodeaddr=YourVpsIP:13535
masternodeprivkey=YourPrivateKey

Example:

rpcuser=YourMasternodeID
rpcpassword=YourMasternodeRandomPassword
rpcport=11998
rpcconnect=127.0.0.1
listen=1
server=1
daemon=1
masternode=1
externalip=1.1.1.1:13535
masternodeaddress=1.1.1.1:13535
masternodeprivkey=7929zATAyenPS9apZN543QkDi9uUdCJjGhFvyPoIQTjNQjw8pdd

Restart your Windows VPS wallet. wait for it to fully sync.

Open your local wallet. wait for it to fully sync. Now go to "Masternodes" tab. You will see your masternode with status "MISSING", click "Start MISSING". Status should changed to either "PRE_ENABLED" or "WATCHDOG_EXPIRED" If your status is "PRE_ENABLED" you just have to wait ~~30 minutes and it will change to ENABLED. If your status is "WATCHDOG_EXPIRED" don't panic, we are going to fix it now. DO NOT restart or close your Windows VPS wallet.

WATCHDOG_EXPIRED issues

Fixing WATCHDOG_EXPIRED. Keep your Windows VPS wallet open. Download or copy the following file to your Windows VPS.
http://www.mediafire.com/file/2tuf7z4tlz6qd4q/sentinel-win64.rar

Extract it and place it in your "C:\Users\YOURUSER\Desktop\Nihilo_Windows_1_0_2" folder.

Create a shortcut to "sentinel-win64.exe", send it to desktop or anywhere else you want.

Right click on your shortcut and go to "Properties", the "Target" line looks like this:

C:\Users\YOURUSER\Desktop\Nihilo_Windows_1_0_2\sentinel-win64.exe

Now add the following including the quotes "--config=C:\Users\YOURUSER\Nihilo_Windows_1_0_2\data\nihilo.conf"

Your "Target" line now should look like this:

C:\Users\admin\Desktop\Nihilo_Windows_1_0_2\sentinel-win64.exe "--config=C:\Users\admin\Desktop\Nihilo_Windows_1_0_2\data\nihilo.conf"

Click Aplly > OK.

Now run your shortcut, your sentinel should start and you should see "Running sentinel" in the cmd window.

Restart your LOCAL wallet, wait for it full sync. Go to "Masternodes" tab. Now your Masternode status should be "ENABLED". If it is not "ENABLED", wait ~~30 minutes.

Congratulations! You are on board holding a Masternode of a coin that is on its way to the moon.

Please leave any comments to improve the post

Donations appreciated :)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!