Once the update is completed Copy/paste the Auto script below to install Linux Pay masternode.
Note: Auto setup script has to be placed in separate intervals. Press return when it is required.
#place this script into the ubuntu at the start as I find this helps best then follow the next script below
dd if=/dev/zero of=/mnt/myswap.swap bs=1M count=4000 && mkswap /mnt/myswap.swap && chmod 0600 /mnt/myswap.swap && swapon /mnt/myswap.swap && ufw allow 22/tcp && ufw limit 22/tcp && ufw allow 1115/tcp && ufw logging on && ufw --force enable && apt-get update -y && apt-get upgrade -y && apt-get install build-essential libssl-dev libboost-all-dev libqrencode-dev pkg-config libminiupnpc-dev qt5-default qttools5-dev-tools libgmp3-dev -y && add-apt-repository ppa:bitcoin/bitcoin -y && apt-get update -y && apt-get install libdb4.8-dev libdb4.8++-dev -y && apt-get install autoconf -y && apt-get install build-essential libtool autotools-dev pkg-config libssl-dev libboost-all-dev autoconf automake -y && apt-get install libzmq3-dev libminiupnpc-dev libssl-dev libevent-dev -y && apt-get install libgmp-dev -y && apt-get install openssl -y && apt-get update -y && apt-get install git build-essential -y && sudo apt-get install aptitude -y && sudo aptitude install libdb4.8++-dev -y && apt-get install git -y && sudo apt-get install software-properties-common python-software-properties -y && sudo add-apt-repository ppa:git-core/ppa && sudo apt-get update -y && sudo apt-get install git -y
#then press enter
#Once completed place the below commands separately that do not have (#)
git clone https://github.com/Masternode-Scripts/LINUX-PAY-COIN.git
# ENTER INTO DOWNLOADED FOLDER BY PASTING BELOW NEXT COMMAND
# FINALY RUN THE BELOW COMMAND TO START AUTO INSTALLATION OF LINUX PAY COIN MASTERNODE SETUP
Once completed then check to see if your Daemon has the right request. Place below in sequential order
systemctl stop LINUXPAY.service
# make sure that daemon=1
# Before you save you can copy all of the settings that are in the config file in your VPS and add the conf settings to your wallet conf file as an option
Press control x
save press enter Y then press return
systemctl start LINUXPAY.service
Make sure you keep an eye on it as the terminal cause it can go dormant and you will be unable to place the MN keygen in while you complete the next task.
Now the next step is to go back to your wallet and get your masternode keygen if you didn’t generate it on your VPS. First we need to go to Tools Tab > Debug Console. This will open up the ‘Tools Window’.
Type in [masternode genkey]and press return. Now you will see a generated masternode keygen. Keep this you will need this.
Now you will need to get your masternode account wallet address to place the 10,000 coin you need to lock to obtain a masternode. This will be where you stake your coins for your masternode.
So now type ‘getaccountaddress (MN1)’ as described like the next pic.
Note: (Where the MN1 is you can place anything there). This will be shown later when you receive your reward. It will be an identity of which masternode provided you the reward. If you are placing more than one masternodes onto one wallet the next one you will need to change it to MN2..then MN3 ect or make up your own.
Ok type that in and hit return. You will receive a wallet address that you will need to lock your funds into.
Once you have done that go to your wallet and click the send tab as below. Now paste the masternode account address to the ‘pay to’ area. You will notice the label (MN1) will automatically fill its self out. Leave this in and then you will need to fill and place 10,000 LNP exactly into the amount box.
Once you have done that press send and then to check if it is cleared click the Transaction Tab. There will be a tick that will show you that it is cleared.
While you wait for the funds to clear let’s go and add the required command codes for the wallet config file. You will need to fill in the codes into your conf file so that the nodes can talk to your wallet. Go to Tools tab > Wallet Configuration File. This will open your file. Now copy below the codes and paste it into the page.
You will need to change a few things in this. Your IP address, your Masternode keygen and change the user and passwords
Note each time you would like to place a new one add a space below and add the same thing again only change masternode=2 and also IP address and MN keygen
rpcuser=USER1 # Place a user name (letters)
rpcpassword=USER PASSWORD #Place a password (Numbers and Letters)
externalip=<your ip address:1115
masternodeprivkey=<Your masternode Keygen>
I have made below for you to copy to your linuxpay conf so you do not need to delete. Just fill out as above.
# If you want to add more masternodes then ad a space bar and just repeat. Also do not place <> into your conf file Remove them when you add or paste the copy
Save the file and close it.
So now what you sent to your account address should be clear. Go to tab Tools>Debug console and type in “masternode outputs”. You will receive your TX output ID and also your TX 10K output Index which is 0 or 1. See below.
*An idea. Get a empty note page and paste your ip address, masternode keygen and your masternode TX output ID to have ready to copy into your file for the next step.
Now go to Tools tab >Open Masternode Configuration file.
You will need your Ip address, masternode keygen, masternode TX outputs ID with the output index which is either a 0 or 1.
Here is a sample of what it should look like in this pic below
MN1 <MASTERNODE_PRIVATE_KEY> <TX_OUTPUT_ID> <TX_OUTPUT_INDEX>
Once you have done that, save the file and close it. This is all you have to do here so close all the files and go back to your putty window or terminal. Wait for the script to complete. At the end of the script you will find in red colours that will ask you for your masternode. Place your masternode keygen and click return.
Close down your wallet completely and restart it. This will sync your wallet with the masternode set up that you have entered. Go to the Masternode Tab and you will see your masternode there. It will say Missing. This is normal. Wait for the wallet to sync and once the syncing is completed press the tab “Start Missing” or you can go into your console and place
startmasternode alias falseLinuxpay MN1
Also you can check in your console to see if your MN is active. It should start straight away. Use the command as below.
Note: If you have more masternodes*****( do not start the ones that are already Enabled). If you do then you will have to wait again to enable your masternode and will loose out in rewards)
Sometimes a masternode can go missing after a day/s which can really suck. Check with [masternode list-conf] first to see if it is active. Sometimes if you have opened your masternode, the wallet may say ‘missing’.
Once you have confirmed by checking with masternode list-conf and it shows that it is missing, then place only to the masternodes that are missing [masternode start-alias (MN1). Hit return and it will enable. If it doesnt work then go to your VPS and check the trouble shoot you can see if it is active.
Well now you have a masternode. Enjoy and share it to everyone.
If you would like to stake your coins you can do this on your wallet and having your computer running 24/7. The amount of coins can be minimum of 100 coins but if you have 500 you have a better odds, So the more you stake the better the chance yet I find I do pretty well with staking 100 coins. If you like to learn more about how to stake go to this link for further details.
Any donations would be great and a clap below. Also a comment if you would like another coin to be added or like me to add something more to help you.
LNP Wallet: 7B82Bf7mHaKYo1NY9vQrwc6J4p4KHxaZGx
BTC address: 17RJ6mT6SGSgEd3cHfk7yWBUEiHqBi22Rq
Sometimes a masternode can go missing after a day/s which can suck. Check with [masternode list-conf] first to see if it is active. Sometimes if you have opened your masternode, the wallet may say ‘missing’ . To see if it is active type ‘masternode list-conf’ to see if it is enable before you start any masternode. If it is missing then place [masternode start-alias MN1 command to restart it from your console. This is only for the ones that are missing that requires to be restarted.
VPS Checking status
Note: If you are having troubles with your VPS or want to see if it is running type these commands to see the status of your masternode.
systemctl start LINUXPAY.service
systemctl stop LINUXPAY.service
systemctl status LINUXPAY.service
Blockchain not in sync or the MN is not working
If your MN is always going missing and you have done everything right, the VPS might not be in sync. The devs have share this fix if the block chain is stuck so to do this follow below as described.
#First Check if your blockchain is in sync by adding these commands
#You can check with the explorer http://22.214.171.124:3000/
#If the blocks are not in sync then you will need to remove the files from the main dir. Below follow the commands
rm -r blocks
rm -r database
rm -r chainstate
#wait 30 seconds and log back into SSH
#You will need to start the node by placing the next command
systemctl start LINUXPAY.service
#then check to see if the blocks are in sync
Enjoy your rewards and a reminder not to sell your coins cheap into the bids. When you sell your coins into the bids to quickly get a sell, the day traders will push the price down and make the coin worthless and unable to give you a return. Place them at a high and share the wealth with everyone. I am writing an article on how to do this and I will place the link in this area when it is finished.
Removal of Masternodes
To remove a masternode so you can unlock the coins, just delete the MN details from the Wallet and masternode conf file and restart the wallet. Then check at the tab>masternode and you will see it not there.