This section of the guide details the CLI (Command Line Interface) process of masternode set-up. The commands laid out in this section are to be interpreted as Unix (Linux/Mac) commands. Presently, the only way to set up a masternode on a remote Unix system is via CLI. masternode functionality via the GUI client is forthcoming.
- The wallet on your remote machine (hereafter referred to as the remote wallet) is running and fully synchronized with the network
- The wallet on your local machine (hereafter referred to as the local wallet) is running and fully synchronized with the network
- Your local wallet contains enough Omega to start the number of masternodes you intend to start (1000 per masternode)
- The configuration for your local wallet is void of content*
*Can also contain minimal configuration:
The following section outlines commands to be run on your local machine.
- Change directory to the location of your
- Generate a private key for your masternode; it is imperative to keep this safe (example private key given):
./omegad masternode genkey
- Retrieve the receiving OMEGA address for your masternode (replace
EXAMPLE with your chosen masternode name; example address given):
./omegad getaccountaddress EXAMPLE
- Send 1000 OMEGA to the masternode address you have just retrieved:
./omegad sendtoaddress "OTFF2JKYfLMAZUqXdqyCX7nUuryw7shZNp" 1000 "" "" false
Be sure to enter this command accurately, otherwise your masternode may receive less OMEGA than intended.
- [OPTIONAL] Validate that your OMEGA has been received by the masternode address:
./omegad getreceivedbyaddress OTFF2JKYfLMAZUqXdqyCX7nUuryw7shZNp
- Add the details of your masternode to your Omega configuration file (open it in your favorite text editor)*:
masternodeaddr=<remote machine IP address>:7777
masternodeprivkey value with your own private key, generated in step 1. You may also replace the value of
port to any arbitrary open port number.
*The location of the
omega.conf file differs from system to system:
- Start your masternode:
./omegad masternode start <wallet password; if wallet is encrypted>
- [OPTIONAL] Verify that your masternode is up and running:
./omegad masternode list | grep <remote machine IP address>
The command output should contain a masternode listing with the remote machine IP address.
For any further masternodes you may want to set up, follow the same procedure.