Crypto.ba

Masternode setup HOW-To

Sibcoin Masternode setup by Rux

Local setup

Install latest Sibcoin QT Wallet (windows/linux)
https://www.sibcoin.org/en/download

Protect your wallet with passphrase (VERY IMPORTANT!)

Go to Settings/Encrypt wallet, then enter your passphrase.

Backup your wallet.dat (VERY IMPORTANT!)

Default Windows (show hidden folders and files)
Go to C:/users/USER/AppData/roaming/sibcoin/wallet.dat

Send masternode funds

Send 4000 SIB to your created wallet, it need 15 confirmation before you can activate masternode.

Setting Masternode genkey

In wallet go to, Tools/Debug Console and type:

masternode genkey (write down long string, you will need it later).

masternode outputs (its 0 or 1, write this down, you will need it later)

bls generate (write down long string, you will need it later).

Setting Masternode configuration file

In wallet go to, Tools/Open Masternode conf file, and add new line

“MN1 VPSIP GENKEY TXID OUTPUT”

Example
MN1 143.54.23.34 KgxQx1dnJgPaweF4Stsa4avvRguS4FbPaZGtCcDsUugKxu369A 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0

Save file and close.

Remote setup

Buy VPS, i recommend Vultr, use my reff to get 100$ on hosting.

https://www.vultr.com/?ref=8475652-6G

Buy cheapest VPS 5$ monthly.

Login to root, adduser sibcoin and add sudo rights to sibcoin user.

adduser sibcoin

adduser sibcoin sudo

Setup Swap file

Run these commands on your VPS to add 4GB swap file.

fallocate -l 4G /swapfile

chmod 600 /swapfile

mkswap /swapfile

swapon /swapfile

nano /etc/fstab

Add this line to fstab file

/swapfile none swap sw 0 0

Then restart your server.

Setup Remote wallet

Download latest Sibcoin linux wallet (0.17.)

Run these commands

wget https://github.com/ivansib/sibcoin/releases/download/v0.17.0.0/sibcoin-0.17.0-x86_64-linux-gnu.tar.gz
tar -zxvf sibcoin-0.17.0-x86_64-linux-gnu.tar.gz
mkdir .sibcore
cp sibcoin-0.17.0/bin/sibcoind .sibcore/
cp sibcoin-0.17.0/bin/sibcoin-cli .sibcore/
chmod 777 .sibcore/sib*

This will create hidden folder .sibcore and will copy sibcoind and sibcoin-cli file to .sibcore folder.

Go to hidden .sibcoin folder and create sibcoin.conf and add this to sibcoin.conf

rpcbind=127.0.0.1

rpcallowip=127.0.0.1

rpcuser=XXXXXXXXXXXXX (random)

rpcpassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXX (random)

listen=1

server=1

daemon=1

maxconnections=64

masternode=1

masternodeprivkey=XXXXXXXXXXX (masternode genkey from local setup)

masternodeblsprivkey=XXXXXXXXX (bls generate from local setup)

externalip=XXX.XXX.XXX.XXX (your VPS IP)

Save and close sentinel.conf

Go to .sibcore folder (cd .sibcore)

run ./sibcoind and let it create wallet (no need to encrypt it)

To check sync status type

./sibcoin-cli getinfo (you can do command watch -n 3 ./sibcoin-cli getinfo, this will display report every 3 second).

After it has been synced, use command to check if mnsync is ready

./sibcoin-cli mnsync status (everything has to be true, except for latest one)

Setup Sentinel

Go to .sibcore wallet and type

sudo apt-get install -y git python-virtualenv
sudo apt install virtualenv
git clone https://github.com/ivansib/sentinel.git
cd sentinel
virtualenv venv
./venv/bin/pip install -r requirements.txt

Edit sentinel.conf so that it knows where is your sibcoin.conf file

nano sentinel.conf

Remove # so that it’s like

sibcoin_conf=/user/sibcoin/.sibcoin/sibcoin.conf

Setup cronjob for Sentinel

Type crontab -e and add this to last line (5x *)

          • cd /user/sibcoin/.sibcore/sentinel && ./venv/bin/python bin/sentinel.py >/dev/null 2>&1

Back to Local wallet

Go to Options/Wallet and enable “Show Masternodes Tab”, then restart wallet.

Go to tab Masternodes, then My Masternodes, and you should see your added Masternode infos from Masternode Conf file.

Mark that line, and press Start alias, enter your passphrase from wallet and that will start your node on remote VPS.

Go to VPS instance, and type

cd .sibcore

./sibcoin-cli masternode status

It should show “Masternode successfully stared”

If you have any more questions, post here or come to Sibcoin Telegram group
https://t.me/sibcoin_en

Have fun

Izaziva Rokiiiii :grin:

1 Like