Masternode VPS Setup Guide
shensu edited this page Apr 24, 2019
·
9 revisions
- Get a VPS from a provider like DigitalOcean, Vultr, Linode, etc.
- Recommended VPS size: 512mb or 1gb RAM
- It must be Ubuntu 18.04
- Make sure you have a transaction of exactly 1000 ORE in your desktop cold wallet in a legacy address (starts with a
G
).- To create a legacy address from the console:
getnewaddress "" legacy
- To create a legacy address from the console:
- Open your wallet on your desktop.
- Go to the tab at the bottom that says "Tools"
- Go to the tab at the top that says "Console"
- Run the following command:
masternode genkey
- You should see a long key that starts with 7:
7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- This is your
private key
, keep it safe, do not share with anyone.
- Log into your VPS as root.
- Windows users follow this guide to log into your VPS.
- Copy command into the VPS command line and hit enter:
wget https://raw.githubusercontent.com/galactrum/galactrum/master/contrib/masternode/install_masternode.sh && chmod +x install_masternode.sh && ./install_masternode.sh && source ~/.bash_aliases
- When prompted, enter your private key from before.
- You will be asked for your VPS IP and a few other questions.
- The installation should finish successfully. Ask for help in discord if it doesn't.
- Open your wallet on your desktop.
- Go to the tab at the bottom that says "Tools"
- Go to the tab at the top that says "Console"
- Run the following command:
masternode outputs
- You should see output like the following if you have a transaction with exactly 1000 ORE:
{
"12345678xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx": "0"
}
- The value on the left is your
txid
and the right is thevout
- Go the the tab at the bottom that says "Settings"
- Click "Open Masternode Configuration File"
- Add a line to the bottom of the file using the VPS IP (with port 6270),
private key
,txid
andvout
:
mn1 1.2.3.4:6270 7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 12345678xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 0
- Save the file, exit your wallet and reopen your wallet.
- Go to the tab at the bottom that says "Tools"
- Go to the tab at the top that says "Console"
- Run the command:
masternode start-alias mn1
Congratulations, your setup should now be complete! Ask for help in discord if you need.
NOTE Your masternode will likely start out as the status PRE_ENABLED, then it will go to WATCHDOG_EXPIRED for about an hour before becoming ENABLED.