ALQO Masternode Guide

EONS
4 min readDec 20, 2019

If you’re a pro, this will get you going quickly, and skip my endless jabbering.

Ubuntu 16.04

This will install the wallet

cd ~ && wget https://raw.githubusercontent.com/captaingeeky/installers/master/alqo/wallettest.sh -O wallettest.sh && chmod +x wallettest.sh && ./wallettest.sh

This will get you going (scroll down for the conf file example)

cd ALQO
./alqod -daemon
./alqo-cli stop
vi ~/.alqocrypto/alqo.conf
<edit your conf>
./alqod -daemon
./alqo-cli getmasternodestatus

This guide is for a single masternode, on a Ubuntu 16.04 64bit server (VPS) running headless and will be controlled from the wallet on your local computer (Control wallet). The wallet on the VPS will be referred to as the Remote wallet.

You will need your server details for progressing through this guide.

First the basic requirements:

  1. 10,000 ALQO(may need a fraction of an ALQO more to cover for the transaction fee)
  2. The main computer (Your everyday computer) — This will run the control wallet, hold your collateral 10,000 ALQO, and can be not running without affecting the masternode.
  3. Masternode Server (VPS — The computer/node that will be on 24/7)
  4. A unique IP address for your VPS / Remote wallet

(For security reasons, you’re are going to need a different IP for each masternode you plan to host)

The basic reasoning for these requirements is that you get to keep your ALQO in your local wallet and host your masternode remotely, securely.

2) Using the control wallet still, enter the following command:

3) While still in the control wallet, send 10,000 ALQO to the address you generated in step 2 (Be 100% sure that you entered the address correctly. You can verify this when you paste the address into the “Pay To:” field, the label will auto-populate with the name you chose”, also make sure this is exactly 10,000 ALQO; No less, no more.)
- Be absolutely 100% sure that this is copied correctly. And then check it again. We cannot help you if you send 10,000 ALQO to an incorrect address.

4) While still in the control wallet, enter the command into the console (This gets the proof of transaction of sending 10,000):

getmasternodeoutputs

5) Still on the main computer, we need to edit the masternode.conf. You can find the file in the ALQO data directory, by default in Windows: it’ll be%Appdata%/alqocryptoor Linux:~

Once you have the masternode.conf file open in a text editor, add the following line to it:

<Name of Masternode(Use the name you entered earlier for simplicity)> <Unique IP address>:20480<The result of Step 1> <Result of Step 4> <The number after the long line in Step 4> Example: MN1 31.14.135.27:20480 892WPpkqbr7sr6Si4fdsfssjjapuFzAXwETCrpPJubnrmU6aKzh c8f4965ea57a68d0e6dd384324dfd28cfbe0c801015b973e7331db8ce018716999 1

Substitute it with your own values and without the “<>”s

7) Install the latest version of the ALQO wallet onto your masternode. The latest version can be found here: https://github.com/ALQO-Universe/ALQO/releases

b. From your home directory, download the latest version from the ALQO GitHub repository and compile the wallet, with this command:

cd ~ && wgethttps://raw.githubusercontent.com/captaingeeky/installers/master/alqo/wallettest.sh -O wallettest.sh && chmod +x wallettest.sh && ./wallettest.sh

c. The link above is for Ubuntu (or similar), make sure you choose the correct version of the core wallet if you are not using Ubuntu from https://github.com/ALQO-Universe/ALQO/releases

d. Go to your ALQO bin directory:cd ~/ALQO

e. Note: If this is the first time running the wallet in the VPS, you’ll need to attempt to start the wallet ./alqodthis will place the config files in your ~/.alqo directory

f. press CTRL+Cto exit/stop the wallet then continue to step 8

./alqo-cli stop

8) Now on the masternodes, find the ALQO data directory here.

9) Open the alqo.conf by typing vi alqo.conf then press ‘I’ to go into insert mode and make the config look like this:

rpcuser=long random username  rpcpassword=longer random password  rpcallowip=127.0.0.1  logtimestamps=1  maxconnections=256  masternode=1  externalip=your unique public ip address  masternodeprivkey=Result of Step 1 addnode=38.103.14.38:20480 addnode=80.211.7.205:20480 Make sure to replace rpcuser and rpcpassword with your own.

10) to exit the editor press escthen:xthen press enter

11) Now, you need to finally start these things in this order
- Start the daemon client in the VPS. First, go back to your installed wallet directory, and then start the wallet using these two commands:

- From the Control wallet goto the masternode tab, and click the 3 dots next to your new masternode status. Select Start.. (do this twice) You can also start it via the console with this command (again, do it twice, don’t as me why):

startmasternode alias false <mymnalias>

where <mymnalias> is the name of your masternode alias (without brackets)

The following should appear:

"overall" : "Successfully started 1 masternodes, failed to start 0, total 1",
"detail" : [
{
"alias" : "<mymnalias>",
"result" : "successful",
"error" : ""
}

- Back in the VPS (remote wallet), start the masternode:

./alqo-cli startmasternode local false

- A message “masternode successfully started” should appear

12)Use the following command to check status:

./alqo-cli getmasternodestatus

You should see something like:

{
"txhash" : "334545645643534534324238908f36ff4456454dfffff51311",
"outputidx" : 0,
"netaddr" : "45.11.111.111:51472",
"addr" : "D6fujc45645645445645R7TiCwexx1LA1",
"status" : 4,
"message" : "Masternode successfully started"
}

Congratulations! You have successfully created your masternode!

1) How do I stop running MN1 on my VPS hoster and delete MN1 from my ‘ALQO — Wallet’?

a) ./alqo-cli stop from the masternode to stop the wallet.
b) Then from your controller wallet PC, edit your masternode.conf, delete the MN1 masternode line entry.
c) Now restart the controller wallet.
d) your 10K will now be unlocked.

2) How do I get the 10k ALQO back that I’ve send to my MN1 address at the beginning of the MN1 setup?

You don’t need to “get it back” as it is already in your wallet.
Being in a different address is not an issue as that’s also your address.

3) Can I use this 10k ALQO normally on my wallet then again, and sell it or stake it normally like before?

Yes! It can be unlocked and transferred at any time.

***This guide was first created by PIVX core, and has been edited to support ALQO wallet 6.***

Originally published at https://medium.com on December 20, 2019.

--

--

EONS

A decentralized ecosystem for financial services.