Skip to content

almightyhelp/Helio-MNScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiple MasterNode

A script which is easily create Multiple Masternodes of the same coin in the same VPS.

First of all you have to start one masternode using Helio-MN.sh script that is your MainNode.

Guide of use Helio-MN.sh for MainNode:

wget -q https://github.com/almightyhelp/Helio-MNScript/master/Helio-MN.sh
sudo chmod +x Helio-MN.sh
./Helio-MN.sh

Guide for Install MultiMN:

Install the multimn script

curl -sL https://github.com/almightyhelp/Helio-MNScript/master/multimn_install.sh | sudo -E bash -

Add the coin profile.

wget -q https://github.com/almightyhelp/Helio-MNScript/master/profiles/helio.mn
multimn profadd helio.mn helio

Now the HelioCoin profile is saved and the downloaded file can be removed if you want: rm -rf helio.dmn

Stop the helio Service:

systemctl stop helio

Now create 3 extra instances (Ex. You want to make 3 Masternode):

multimn install helio
multimn install helio
multimn install helio

You can check every MN like this:

helio-cli-1 getinfo
helio-cli-2 getinfo
helio-cli-3 getinfo
helio-cli-all getinfo

There's also a helio-cli-0, that is a reference to the 'main node', not a created one with multimn.

Now, if you want to uninstall any instances,then just uninstall it with:

multimn uninstall helio 2 (Uninstall instance 2)

You can uninstall all of them with:

multimn uninstall helio all

You can get priv key of all MN with:

multimn list helio --privkey

Note this all priv key and make masternode.conf in your Coldwallet where you done MasternodeTx. so masternode.conf look like this:

MN01 IP:14920 MN_PrivKey Tx_Hash Output_Index
MN02 IP:14920 MN_PrivKey Tx_Hash Output_Index
MN03 IP:14920 MN_PrivKey Tx_Hash Output_Index
MN04 IP:14920 MN_PrivKey Tx_Hash Output_Index

Here IP and port Same for all MN.

MN01 is your main_node MN which you create with Helio-MN.sh script.

MN02, MN03, MN04 is your masternode which you create with multimn.

Now StartMasternode from Coldwallet with:

startmasternode alias false MN01
startmasternode alias false MN02
startmasternode alias false MN03
startmasternode alias false MN04

Now StartMasternode in VPS with Service:

systemctl start helio (Start your MN which is create with main_node Helio-MN.sh script)

Below 3 MN which is create with multimn script.

systemctl start   helio-1.service
systemctl start   helio-2.service
systemctl start   helio-3.service

That's all now your MN start.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages