Virtus Masternode Setup Guide
This is a complete guide to setup Virtus (VRT) masternode on Ubuntu Vps.
Here I will show how to setup Virtus masternode on Ubuntu 16.04 x64 (1Gb Ram).
First of all download latest Virtus wallet on your local PC and let it sync.
Once it is fully synced then encrypt the wallet.
Then backup your wallet.
You need have 25000.1 VRT in your wallet.
MAIN WALLET ON YOUR LOCAL PCFirst of all unlock your wallet, go to
Settings > Unlock walletTo setup your Main Virtus wallet go to
Tools > Debug ConsoleThen type
You should see private key of your MN like this
7sRJ51FgXbxUINGRXVpRJ7CbpJv3WNp7cvtHhwrgqZj7Qqdyvb1save the output in a text file. It will be referred as
YOUR_PRIVATE_KEYThen type
Then copy the returned address and send exactly 25000 VRT to this address.
Wait for 1 confirmation, then go to the debug console and type
You should see one line corresponding to the transaction id
(tx_id) of your 5000 coins with a digit identifier (
digit) like this
"d668077d1dadf951b4kjhuj8fdef2171ea3fee6efceb44e20777032efdfca9c6": "0"Save these two strings in a text file.
Note that if you get more than 1 line, it's because you made multiple 25000 coins transactions, with the tx_id and digit associatedNext, go to
Tools > Open masternode configuration fileOpen the masternode.conf file and type at the bottom:
MN1 your_vps_ip:13881 YOUR_PRIVATE_KEY tx_id digit
Save it and close it.
Note that each line of the masternode.conf file corresponds to one masternode.Now you need open Masternode tab, go to
Settings > Options > Wallet > check Show masternode tabRestart your main wallet.
MASTERNODE WALLET ON VPSIf you don't have enough RAM, create 2–4GB of swap memory
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
For work with text files we need install nano
sudo apt-get update
sudo apt-get install nano
If you have a clean system, you need to install several dependencies
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev
sudo apt-get install libboost-all-dev
sudo apt-get install curl
sudo apt install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
sudo apt-get install libminiupnpc-dev
sudo apt-get install libzmq3-dev
Then we need download Virtus wallet and run virtusd
wget https://github.com/VirtusPay/virtus/releases/download/v0.12.2.2/virtus-ubuntu16x64-0.12.2.2.tar.gz
tar -xvzf virtus-ubuntu16x64-0.12.2.2.tar.gz
rm virtus-ubuntu16x64-0.12.2.2.tar.gz
mv virtus-ubuntu16x64-0.12.2.2 virtus
cd virtus
./virtusd
Wait 3 minuts. After see "
Warning: Make sure to encrypt your wallet and delete all non-encrypted backups after you verified that wallet works!" press Enter
wait 15 seconds and then press CTRL+C (exit from virtusd)
Open Virtus wallet configuration file
nano /root/.virtuscore/virtus.conf
and insert
rpcuser=youusername
rpcpassword=strongpassword
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
externalip=your_vps_ip:13881
masternode=1
masternodeprivkey=YOUR_PRIVATE_KEY
press CTRL+X
press Y
press ENTER
Now start you masternode wallet
wait 3 minuts. After see "
Warning: Make sure to encrypt your wallet and delete all non-encrypted backups after you verified that wallet works!" press Enter.
Wait about 10 mins for your wallet to download the blockchain. You can check the progress with the following command :
./virtus-cli getblockcount
The block number has to catch up with the latest on the blockexplorer.
STARTING THE MASTERNODEGo back to your MAIN wallet on local PC
First of all unlock your wallet and go to the Masternode tab.
You need to wait for 15 confirmations in order to start the masternode. Select the line corresponding to the masternode.
Click "Start-alias". Your masternode should be now switch to status PRE-ENABLED and after 15-20 minutes switch to status ENABLED !
CHECKING THE MASTERNODE STATUSYou can check the masternode status by going to the masternode wallet on your VPS and typing:
./virtus-cli masternode status
If your masternode is running it should print "Masternode successfully started".
If you have a firewall on your VPS, you need to open the 13881 port.