OMEGA Masternode Setup Guide
OMEGA Masternode Setup Guide
OMEGA Masternode Setup Guide
Prerequisites:
- First of all, make sure you have the latest wallet version installed. You can get wallet here:
https://github.com/omegacoinnetwork/omegacoin/releases
- Make sure you have at least 1001 Omegacoins (1000 needed for masternode and 1 for
transaction fees).
- Check if your wallet has connection to the network (hovering over right corner in wallet will
show the number of connections):
Create a new address in your wallet. To do so go to “Receive”-tab and enter a name of your
choice, for example: MASTERNODE. Confirm. Copy Address. (It should show new address in
the list – by doubleclick on name it address will popup again).
IMPORTANT: Make sure, the checkbox for the fees included is unchecked. You want to
receive exactly 1000 coins. That’s the reason why you need at least 1001. You need to pay a
really small amount of network fees. Press Send. Transaction shouldn’t take long.
You can close your wallet now, it’s time to get the VPS ready.
- Get a VPS server of your choice. I run my masternodes on Vultr (of course every other Linux
server with SSH access works as well)
o If you haven’t worked with Vultr, it’s really easy to set it up. Just create an account
(www.vultr.com) and deploy a new server by clicking on the plus-sign. Make sure you
select the following options:
o Please make sure you select Ubuntu 16.04 64 bit. (17.04 is making troubles for some
nodes)
- Log into your server with Putty
- Type the following commans in the console (type only the ones in bold, line by line. Hit enter after
every line to execute that command. The line beginning with “//” is an explanation of what the
command below is actually doing):
// download the script (daemon) to the server. Please check if there is a more recent version
on the github page: https://github.com/omegacoinnetwork/omegacoin/releases)
wget
https://github.com/omegacoinnetwork/omegacoin/releases/download/0.12.5/omegacoin
core-0.12.5-linux64.tar.gz
// unzip the archive
tar -xvf omegacoincore-0.12.2
// Here you need two scripts: omegacoind and onegacoin-cli. We’ll copy them into the users’
// bin folder. By that we can execute them from everywhere.
cp omegacoind /usr/bin
cp omegacoin-cli /usr/bin
// Now start the server, so that the config files get created
omegacoind -daemon
// If it throws you an error saying something like “authentication failed”, don’t worry.
// Then we need to kill the process manually:
// The first one is our process we need to kill. The number after root is the process ID (19848
here)
// There’s no confirmation. However, you can verify if the process is gone by re-entering the
// command above (ps -ef …). The omegacoind process should be gone.
// now we need to add our data into the config file. Therefore cd to the root:
cd
// Explanation:
// rpcuser, rpcpassword: Completely random. Just make sure they’re not the same.
// masternodeaddr: Add the IP of your server here. In Vultr you can find it just by clicking on
// the server. The port is always 7777.
// masternodeprivkey: Add the privatekey you generated in your local wallet with
// “masternode genkey”
// When you’re done, press Esc in order to leave the insert mode. Then, to save the file, press
// :wq for saving the file (= write-quit)
// You’re all set now. Now we just need to start the server again:
omegacoind -daemon
// Now be patient, the server is syncing. You can watch the process with the following
// command:
watch omegacoin-cli getinfo
// The watch makes the command refresh every 2 seconds. The “blocks” number should
// increase. You can check the current block in the block explorer:
// http://explorer.omegacoin.network/
Back to your local wallet
o Open your AppData/Roaming folder (Fastest Way: Press Windows+R and type
“%AppData%”)
o Open OmegaCoinCore folder and open the file masternode.conf and you will see
something like this:
o Now you need to add your masternode in the format stated in the example like this.
Please replace all those values with your values.
Please note that there must not be a # at the beginning of the line, since it is
commenting the line out.
Now you can start your wallet again. Go to “Masternode”-tab. If tab is not shown you can enable
it: Settings ->Wallet->show masternodetab
Wait till wallet is completely synced (you can check the progress bar at the bottom). If there’s
no masternode shown, click “Refresh Status” – your masternode should show up (if not,
recheck if you’ve entered everything correctly in masternode.conf!). Press “Start All” To start
your masternode. The Status should switch to “PRE ENABLED”. After like 30 mins it should
show ENABLED.