A handy bash script to setup masternode in no time on a VPS with Ubuntu 16.04 x64.
For Ubuntu 16.04
wget -q https://raw.githubusercontent.com/VersessCTO/versess-masternode-builder/master/build_masternode.sh
sudo chmod +x build_masternode.sh
./build_masternode.sh
For Ubuntu 18.04
wget -q https://raw.githubusercontent.com/VersessCTO/versess-masternode-builder/master/build_masternode_Ubuntu_1804.sh
sudo chmod +x build_masternode_Ubuntu_1804.sh
./build_masternode_Ubuntu_1804.sh
After the Masternode is up and running, you need to configure the desktop wallet accordingly. Here are the steps:
- Open the versess Desktop Wallet.
- Go to RECEIVE and create a New Address for masternode: MN1
- Send 1000 VERS to MN1. You need to send all 1000 coins in one single transaction.
- Wait for 15 confirmations.
- Go to Help -> "Debug Window - Console"
- Type the following command: getmasternodeoutputs
- Go to Tools -> "Open Masternode Configuration File"
- Add the following entry:
Alias Address Privkey TxHash TxIndex
- Alias: MN1
- Address: VPS_IP:PORT
- Privkey: Masternode Private Key
- TxHash: First value from Step 6
- TxIndex: Second value from Step 6
- Save and close the file.
- Go to Masternode Tab. If you tab is not shown, please enable it from: Settings - Options - Wallet - Show Masternodes Tab
- Click Update status to see your node. If it is not shown, close the wallet and start it again. Make sure the wallet is unlocked.
- Select your MN and click Start Alias to start it.
- Alternatively, open Debug Console and type:
startmasternode alias false MN1
- Login to your VPS and check your masternode status by running the following command to confirm your MN is running:
versess-cli getmasternodestatus
You will get Masternode Successfully Started
versess-cli getmasternodestatus
versess-cli getinfo