Setting up a NEW Wagerr Masternode using 2.0.1 (Monte Carlo)

Did this tool save you time, lots of headaches, or teach you something? Donations are appreciated for making your Wagerr experience much easier, please use my VULTR affiliate link or send $WGR to WagerrLiVo87tYRpLmwV3QJvB2sY58hS5f Want your own $WGR vanity address? Click here!

Wager Masternode Setup Updated for Wagerr Core 2.0.1 (Monte Carlo)

Full video guide is at the bottom of the page

This guide is for a single Wagerr masternode, on an Ubuntu 18.04 64bit server (VPS) running headless and will be controlled from the wallet on your local computer (Control wallet). The wallet on the VPS will be referred to as the (Remote wallet). You will need your server details for progressing through this guide.

*Please make sure that you take all security measures seriously and harden your VPS and Wagerr wallet to protect yourself and all funds. This guide does not include server hardening. You should always change the root password on your vps along with creating an additional user account. Also, installing and setting up basic firewall settings are a must.*

First the basic requirements:

25,000 WGR

A main computer (Your everyday computer) – This will run the control wallet, and hold your collateral of 25,000 WGR and can be turned on and off without affecting the masternode.

Masternode Server (VPS – The computer that will be on 24/7) If you do not already have an account please consider using my affiliate link VULTR.

A unique IP address for your VPS / Remote wallet

(For security reasons, you’re are going to need a different IP for each masternode you plan to host)

The basic reasoning for these requirements is that, you get to keep your WGR in your local wallet and host your masternode remotely, securely.

Configuration

Note: with the introduction of zWGR, BEFORE unlocking your wallet, ensure that the following line is in your wagerr.conf file of the control wallet.

enablezeromint=0 zeromintpercentage=0

This will prevent the wallet from autominting zwagerr during the masternode set up process.

1) Using the control wallet, enter the debug console (Tools > Debug console) and type the following command:masternode genkey (This will be the masternode’s privkey. We’ll use this later…)

2) Using the control wallet still, enter the following command:getaccountaddresschooseAnyNameForYourMasternode

3) Still in the control wallet, send EXACTLY 25,000 WGR to the address that you created with the getaccountaddress command.

4) Still in the control wallet, enter the command into the console:masternode outputs (This gets the proof of transaction of sending 25,000)

5) Still on the main computer, go into the Wagerr data directory, by default in Windows it’ll be %Appdata%/Wagerr or Linux~

Find masternode.conf and add the following line to it:

<Name of Masternode(Use the name you entered earlier for simplicity)> <Unique IP address>:55002 <The result of Step 1> <Result of Step 4> <The number after the long line in Step 4>

Note: If this is the first time running the wallet in the VPS, you’ll need to attempt to start the wallet ./wagerrd this will create the config files in your ~/.wagerr data directory

Configuration Cont.

8) Now on the masternode, find the WGR data directory here.(Linux: ~/.wagerr)cd ~/.wagerr Open the wagerr.conf file and make it look like this:

rpcuser=long random username

rpcpassword=longer random password

rpcallowip=127.0.0.1

listen=0

server=1

daemon=1

logtimestamps=1

maxconnections=256

masternode=1

externalip=your unique public ip address

bind=your unique public ip address

masternodeaddr=your unique public ip address:55002

masternodeprivkey=Result of Step 1

Make sure to replace rpcuser and rpcpassword with your own.

9) Close and restart the control wallet.

Start your masternode

10) Now, you need to finally start these things in this order – Start the daemon client in the VPS ./wagerrd – From the Control wallet debug console startmasternode alias false <mymnalias> where <mymnalias> is the name of your masternode alias (without brackets)

Now the masternode setup is complete, you are safe to remove “enablezeromint=0” from the pivx.conf file of the control wallet if you so desire.

Tearing down a Masternode

1) How do I stop running MN1 on my VPS host and delete MN1 from my ‘WGR Core – Wallet’?

a) ./wagerr-cli stop from the masternode to stop the wallet. b) Then from your controller wallet PC, edit your masternode.conf, delete or comment out the MN1 masternode line entry. c) Now restart the controller wallet. d) Your 25,000 WGR will be unlocked when you reopen the wallet.

2) How do I get the 25k back that I’ve send to my MN1 address at the beginning of the MN1 setup?

You don’t need to “get that back” as it is already in your wallet. Being in the different address is not an issue as that’s also your address.

3) Can I use this 25k normally on my wallet then again, and sell it or stake it normally like before?