Automated Polis Masternode Setup
Branch: master
Clone or download
Latest commit 4f13ded Feb 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Update LICENSE May 23, 2018
Manual-Install-Guide.md v1.4.10 Feb 15, 2019
Manuel-Update-Guide.md Update Manuel-Update-Guide.md Feb 15, 2019
README.md v1.4.10 Feb 15, 2019
bootstrap.sh Update bootstrap.sh Feb 3, 2019
polis_install.sh Add ubuntu 18.04 Feb 17, 2019
polis_update.sh v1.4.10 Feb 15, 2019

README.md

Polis

Shell script to install a Polis Masternode on a Linux server running Ubuntu 16.04.
This will require a VPS, I use Vultr. The $5/mo server size will suffice.
This script will install Polis v1.4.10.


Installation:

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/Polis/master/polis_install.sh
bash polis_install.sh

Desktop wallet setup

After the MN is up and running, you need to configure the desktop wallet accordingly. Here are the steps for Windows Wallet

  1. Open the Polis Core Wallet.
  2. Go to RECEIVE and create a New Address: MN1
  3. Send 1000 Polis to MN1.
  4. Wait for 15 confirmations.
  5. Go to Tools -> "Debug console - Console"
  6. Type the following command: masternode outputs
  7. Go to ** Tools -> "Open Masternode Configuration File"
  8. Add the following entry:
Alias Address Privkey TxHash Output_index
  • Alias: MN1
  • Address: VPS_IP:PORT
  • Privkey: Masternode Private Key
  • TxHash: First value from Step 6
  • Output index: Second value from Step 6 It can be 0 or 1
  1. Click OK and exit the Wallet.
  2. Open Polis Core Wallet, go to Masternode Tab. If you tab is not shown, please enable it from: Settings - Options - Wallet - Show Masternodes Tab
  3. Click Update status to see your node. If it is not shown, close the wallet and start it again.
  4. Click Start All or Start Alias
  5. If you are not able to see your Masternode, try to close and open your desktop wallet.

Usage:

polis-cli getinfo
polis-cli masternode status
polis-cli mnsync status

Also, if you want to check/start/stop Polis , run one of the following commands as root:

systemctl status Polis #To check the service is running.
systemctl start Polis #To start Polis service.
systemctl stop Polis #To stop Polis service.
systemctl is-enabled Polis #To check whetether Polis service is enabled on boot or not.

Updating Polis

The first line (rm polis_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 polis_update.sh*
wget -q https://raw.githubusercontent.com/cryptosharks131/Polis/master/polis_update.sh
bash polis_update.sh

Sentinel

Sentinel is installed in /sentinel and added to crontab file.
Sentinel log file is /root/.poliscore/sentinel.log
Test the config by running the following commands:

cd /sentinel
./venv/bin/py.test ./test
SENTINEL_DEBUG=1 ./venv/bin/python bin/sentinel.py

Import Polis Bootstrap

The first line (rm bootstrap.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 bootstrap.sh*
wget -q https://raw.githubusercontent.com/cryptosharks131/Polis/master/bootstrap.sh
bash bootstrap.sh

Donations:

Any donation is highly appreciated.

Polis: PGxJ67aCzfXC3QgiP8rgyhMU3dxzgc6cDg
BTC: 1FJvtLBszQgY2eKBawov48RwSYy2yqEvn1
ETH: 0x39acE9917e25E2A04643d30319cF34449A72441B
LTC: LR1Mmchr6Zz1vj51xecTiEdS1WHfJTVg5t