Masternode Guide

Masternode Guide

Ubuntu Masternode VPS prep:

For Ubuntu Linux builds the following packages are typically needed (works well on 16.04 Ubuntu:

sudo add-apt-repository -y ppa:bitcoin/bitcoin sudo apt-get update sudo apt-get -y install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libevent-dev libboost-all-dev libprotobuf-dev protobuf-compiler libdb4.8-dev libdb4.8++-dev automake git

After that the easiest way to pull the binaries and get it up and running is to head to https://github.com/LytixChain/lytix/releases and grab the latest release:

wget https://github.com/LytixChain/lytix/releases/download/v2.0.1/lytix-2.0.1-Linux-x86_64.tar.gz tar zxvf lytix-2.0.1-Linux-x86_64.tar.gz cd lytix-2.0.1 sudo cp -r * /usr/local

Method = cold client wallet + Masternode hosted on Linux

Need:

5001 LYTX Cold client machine with Lytix wallet Linux server running Lytix wallet

Cold client (assuming Windows, Mac, or Linux-qt):

Tools > Debug console

  1. Enter masternode genkey

  2. Enter getaccountaddress Your_Masternode_Name

Copy both entries and save them

Still in the cold wallet:

  1. Send 5000 LYTX to the address in step 2

  2. Wait a few minutes while the transaction processes

  3. In the debug window type masternode outputs

  4. Open the masternode.conf file and enter the following below the example:

Your_Masternode_Name IP_Address_of_Your_Masternode:27071 Output_of_Step_1 Output_of_Step_6 (Make sure to include the trailing number 0 or 1 or 2, etc) 8. Save the file 9. Close the cold wallet and reopen it

On the Masternode:

  1. Edit the lytix.conf file (located in the .lytix directory)

  2. Enter the following replacing with your values:

rpcallowip=127.0.0.1 listen=1 server=1 daemon=1 logtimestamps=1 maxconnections=256 masternode=1 externalip=IP_Address_of_Masternode bind=IP_Address_of_Masternode masternodeaddr=IP_Address_of_Masternode masternodeprivkey=Output_from_step_2

  1. Save the file

  2. shutdown the client on the masternode:

lytix-cli stop

  1. restart the wallet on the masternode

lytixd

On the Cold Wallet:

  1. Wait for 16 confirmations of the transaction sent in step 4 - View the transaction by going to Transactions in the Cold Wallet and double-clicking the entry

  2. After 16 or more transactions go to Masternodes and click on the Masternode you added

  3. Click Start Alias and Confirm

  4. If all is well it will show the Masternode started

It will take some time for the Masternode to become Enabled and ready for rewards. As the network grows it could take a few hours. As of this writing it will take less than an hour.