Masternode Multinode easy to deploy
This tutorial explains how to easily install and deploy a Masternode using the DECENOMY Multinode Script. This script allows you to install more than one masternode of each coin on the same VPS.
- Masternode collateral Valid collateral amount related to the current block as well as each blockchain specification. Please review the information presented on this website in the Coins section. Within each coin information, the collateral values are listed below on the Rewards Breakdown Board
- Local Wallet An installed wallet is required to handle the collateral. It can be downloaded directly from the GitHub coin repository. Please review the information presented on this docs in the Coins section. Within each coin information, a Wallet Download link for that Github is provided.
- VPS with UBUNTU 20.04 (preferable) A Virtual Private Server is required to keep the masternodes up and running with continuous and stable connections. It should be running the UBUNTU v20.04 Linux distribution installed.
- Terminal emulator Tool needed to connect to the above VPS. The most commonly used one is Putty https://www.putty.org/ but other more modern options are also good and viable. An example in this case is Tabby https://github.com/Eugeny/tabby
- DECENOMY Masternode Multinode To easily install and manage your masternodes multinode. For more detailed information about this tool please see the information presented on this website in the DECENOMY Multinode Script section.
To get started, we need to install the DECENOMY Multinode Script on the purchased VPS. To install and run the script for the first time, you should copy and paste the following command into your terminal emulator after connecting to your VPS, with root privileges:
wget -q https://raw.githubusercontent.com/decenomy/mnscript/main/decenomy.sh && bash decenomy.sh
Note: After the first run, the script will convert the file " decenomy.sh " into an executable file named decenomy. Therefore, the user can simply type the following command at the terminal prompt to run the script the next time: ./decenomy Your terminal emulator will display a screen like the one shown below:
Enter the number of the coin you want to install the masternode on and follow the script instructions. ( if you need help on the script side, please follow this chapter at Multinode script - link ) At the end you will get a screen like this:
Leave the terminal emulator in this state so that you have access to the VPS IP shown above, which will be used in the next step for the Local Wallet.
To install the local wallet of the desired coin, please visit the Coins section. Within each coin's information, a Wallet Download link from its respective Github repository is provided. Make sure you have enough funds in your wallet to process the collateral creation, and follow the steps shown in the following screen:
Once the collateral is created, please open the masternode.conf file by selecting the icon in the upper right corner and using your preferred text editor.
The contents of the file will always be organized in the same order.
Example: mn1 127.0.0.2:45328 P3HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0
Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index
For the next step, we will need the masternodeprivkey information, which is different and unique for each masternode collateral created. In this example, we will have three masternodeprivkeys for each of the three masternode collaterals created.
On your terminal emulator, follow the steps illustrated below to add the masternodeprivkey and create your masternode multinode. If you need more help with the script, please refer to this chapter on the Multinode script - link )
At this point, we should already have: - A local wallet with sufficient funds that has created the necessary collateral. - A running wallet on our VPS with the masternodeprivkey entered in the multinode list. This information comes from the local wallet. On the terminal emulator, on the script side, follow the instructions: Coin Selected - Wallet and masternode stats - Masternode Statistics We should be able to see the following information, indicating that three masternodes have been created, but are still disabled:
When we reach this point we can go back to our local wallet and start the masternodes by clicking on the "Start all" button. Note: If you are adding more masternodes to those already created and enabled, please use the three dots at the end of each masternode line and select "Start". Otherwise, the "Start all" button will reset your already enabled masternodes.
After executing the start command on the local wallet, if we reload the information available to our script running on the VPS, we can see that our masternodes have become active on the network.
Going deeper into the script, we can see the classic masternode report with status 4. To do this, select option 2, "Masternode status complete info". This will give us more detailed information about the status of our masternodes in the network.
Last level to check if the masternodes are active and running in the network we can go back to the screen and select option 3 - Masternode on Explorer. This will provide absolute proof that the masternodes are up and running on the network.
The masternodes are properly installed and active. As soon as they ping the network (approximately every 2 hours), their status will change to "ENABLED" and stay that way. At this point, the local wallet can be turned off without affecting the masternode rewards received, as they are tied to the blockchain and not the wallet's status. The VPS, however, needs to remain always on so that the masternode stays online for the network.