Maxnode Guide

Maxnode Guide

Ubuntu Maxnode 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.0/lytix-2.0.0-x86_64-linux-gnu.tar.gz
tar zxvf lytix-2.0.0-x86_64-linux-gnu.tar.gz
cd lytix-2.0.0
sudo cp -r * /usr/local
Method = cold client wallet + Maxnode hosted on Linux
Need:
100000 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 ```maxnode genkey
  1. Enter getaccountaddress Your_Maxnode_Name

Copy both entries and save them

Still in the cold wallet:

  1. Send 100000 LYTX to the address in step 2 like so sendtoaddress Your_maxnode_address 100000

  2. Wait a few minutes while the transaction processes

  3. In the debug window type maxrnode outputs

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

Your_Maxnode_Name IP_Address_of_Your_Maxnode: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 Maxnode:

  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 maxnode=1 maxnodeprivkey=Output_from_step_2

  1. Save the file

  2. shutdown the client on the maxnode:

lytix-cli stop

  1. restart the wallet on the maxnode

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 Maxnodes and click on the Maxnode you added

  3. Click Start Alias and Confirm

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

It will take some time for the Maxnode 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.