Shell script to install a Wagerr Masternode on a Linux server running Ubuntu 16.04.
This will require a VPS, I use Vultr. I recommend using a $5 server.
This script will install Wagerr Core 3.1.0.
Log into the server using ssh (Putty for windows or terminal for Mac users) and run the following commands:
wget -q https://raw.githubusercontent.com/cryptosharks131/Wagerr/master/wagerr_install.sh
bash wagerr_install.sh
After the MN is up and running, you need to configure the desktop wallet accordingly. Here are the steps for Windows/Mac Wallet:
- Open the Wagerr Core Wallet.
- Go to RECEIVE and create a New Address: MN1
- Send 25000 WGR to MN1.
- Wait for 15 confirmations before starting the node.
- Go to Help -> "Debug window - Console"
- Type the following command: masternode outputs
- Open masternode.conf from the following folder %appdata%\wagerr (windows) or ~/Library/Application Support/ (hidden folder for Mac users)
- Add the following entry:
Alias Address Genkey TxHash Output_index
- Alias: MN1
- Address: VPS_IP:55002
- Genkey: Masternode GenKey
- TxHash: First value from Step 6
- Output index: Second value from Step 6 It can be 0 or 1
- Click OK and exit the Wallet.
- Open Wagerr Core Wallet, go to Masternode Tab.
- Click Update status to see your node. If it is not shown, close the wallet and start it again.
- Click Start All or Start Alias
- If you are not able to see your Masternode, try to close and open your desktop wallet.
wagerr-cli getinfo
wagerr-cli masternode status
Also, if you want to check/start/stop Wagerr , run one of the following commands as root:
systemctl status Wagerr #To check the service is running.
systemctl start Wagerr #To start Wagerr service.
systemctl stop Wagerr #To stop Wagerr service.
systemctl is-enabled Wagerr #To check whetether Wagerr service is enabled on boot or not.
The first line (rm wagerr_update.sh) is not required the very first time you update the node and will return an error if you run it. This is fine, continue with the update script.
rm wagerr_update.sh*
wget -q https://raw.githubusercontent.com/cryptosharks131/Wagerr/master/wagerr_update.sh
bash wagerr_update.sh