MGN Masternode Setup Guide

Requirements


Please note

The method described below will allow you to keep your MGN in your Primary PC wallet whilst still having the masternode running on the Masternode Server.

This method will also use Ubuntu as the basis of all instructions.


Instructions

  1. Inside Primary PC MGN wallet, enter the debug console and type this command:

    masternode genkey

  2. Inside Primary PC MGN wallet, enter the debug console and type this command:

    getaccountaddress yourMasternodeName

  3. Inside Primary PC MGN wallet, send exactly 10,000 to this the address.
  4. Inside Primary PC MGN wallet, enter the debug console and type this command:

    masternode outputs

  5. Inside Primary PC, navigate to MGN data directory, default area (for Windows) is %Appdata%/MagnaCoin, and edit masternode.conf with any text-editor. Add the following lines to it:

    FORMAT: ALIAS IP:57821 MASTERNODEPRIVKEY TRANSACTIONHASH INDEX
    USAGE: <yourMasternodeName> <yourMasternodeServerIPAddress>:57821 <yourMasternodeGenKey> <yourMasternodeOutputs> <theNumberAfterTheLongLineInYourMasternodeOutputs>

    Substitute the values with your own values and remove the "<>" symbols.

  6. Inside Primary PC, navigate to MGN data directory and edit mgn.conf to show this:

    rpcuser=randomUsername
    rpcpassword=randomPassword
    rpcallowip=127.0.0.1
    listen=0
    server=1
    daemon=1
    logtimestamps=1
    maxconnections=256

    replace rpcuser and rpcpassword with your own secure values.

  7. Inside Masternode Server, navigate to MGN data directory, default area (for Linux) is ~/.mgn, and edit mgn.conf to show this:

    rpcuser=randomUsername
    rpcpassword=randomPassword
    rpcallowip=127.0.0.1
    listen=1
    server=1
    daemon=1
    logtimestamps=1
    maxconnections=256
    masternode=1
    externalip=yourUniquePublicIPAddress
    bind=yourUniquePublicIPAddress
    masternodeaddr=yourUniquePublicIPAddress
    masternodeprivkey=yourMasternodeGenKey

    replace rpcuser and rpcpassword with your own secure values.

  8. Close and re-open the Masternode Server MGN wallet
  9. To start running the Masternode, inside Masternode Server MGN wallet, enter the debug console and type this command:

    masternode start-alias alias

  10. Use this command to check the status:

    masternode status


Common Issues

Your masternode's wallet isn't synced. Try deleting the folders: blocks, chainstate and database.


Disclaimer

This guide is based off the original article created by bigsambucca on Steemit. View it here.