Building from scratch Ubuntu 16.04



There are many reputable providers that these can be purchased from: Vultr, Hetzner, and Time4VPS etc. Don't use lowest cost VPS to host your masternode as we will be going through a processes which requires a bit of memory. 1 GB of RAM is a good beginning with most providers.

A Virtual Private Server (VPS) running Ubuntu 16.04 LTS

  • 20 GB of disk space
  • At least 100 Mbps bandwidth speed
  • External IPv4 or IPv6 addr
  • 1 GB of RAM or more
  • 1 fast CPU of more

Graphical Wallet: A copy of the most up-to-date Adeptio Core wallet for your personal computer, you will use to store your masternode funds and control it. Download:

Adeptio coins in your Adeptio Core wallet. You can buy it on Crex24 eXchange or BiteBTC eXchange. 1 masternode requires:

Please keep in mind that you’re gonna need a single IP for each masternode you’re planning to run.

You can use regular user with sudo rights (safer) or root


Preparing VPS for masternode installation

Login with ssh or putty to your VPS server. And update the packages for up-to-date state:

sudo apt-get update -y
sudo apt-get upgrade -y

Add a SWAP file:

sudo fallocate -l 3G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo echo -e "/swapfile none swap sw 0 0 \n" >> /etc/fstab
sudo echo "vm.swappiness=10" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p

Reboot the server to load a new kernel (if) there are new one.

sudo reboot

Login with ssh or putty to your VPS server once again. We need a bunch of building tools, dependencies & libs:

sudo apt-get install git curl ufw wget software-properties-common dnsutils automake  -y
sudo apt-get install libtool autoconf pkg-config libssl-dev libboost-all-dev  -y
sudo apt-get install build-essential autotools-dev nano vim libminiupnpc-dev libevent-dev -y
sudo add-apt-repository universe -y
sudo add-apt-repository ppa:bitcoin/bitcoin -y
sudo apt-get update -y
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev

Copy line-by-line to the terminal. Not all commands at once.

If we want to build GUI wallet we need extra packages (Optional):

sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qt5-default -y
sudo apt-get install qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev -y


Getting the adeptio source code

Official adeptio github repository - 

Let's copy latest master branch:

cd ~/
git clone
cd adeptio


Building the wallet


You can use make -j {CPU Core count} in order to make building faster. For example with 2 CPU Cores: make -j 2

It's OK to ignore "warning" signs during building process


Strip the binary to reduce the size (Optional)

After successful build in order to minimize the adeptiod / adeptio-cli / adeptio-tx / adeptio-qt binary size we can use stripping method:

strip ./src/adeptiod ; strip ./src/adeptio-cli ; strip ./src/adeptio-tx

If we building with GUI wallet:

strip ./src/qt/adeptio-qt


Copy adeptio content to Ubuntu system paths

Our working content are:

  • adeptiod
  • adeptio-cli
  • adeptio-tx
  • adeptio-qt (optional if you building with GUI wallet)

Copy to Ubuntu system path - /usr/bin/

sudo cp -fr ~/adeptio/src/adeptiod /usr/bin/
sudo cp -fr ~/adeptio/src/adeptio-cli /usr/bin/
sudo cp -fr ~/adeptio/src/adeptio-tx /usr/bin/

If we building with GUI wallet:

sudo cp -fr ~/adeptio/src/qt/adeptio-qt /usr/bin/


Preparing Adeptio Core blockchain

In order to make adeptio core as Ubuntu system process let's make systemD service:

echo "Create adeptiocore.service for systemd"
echo \
Description=Adeptio Core Wallet daemon & service
User=$(echo $USER)
ExecStart=/usr/bin/adeptiod -daemon -pid=$(echo $HOME)/.adeptio/
PIDFile=$(echo $HOME)/.adeptio/
ExecStop=/usr/bin/adeptio-cli stop
[Install]" | sudo tee /etc/systemd/system/adeptiocore.service

Change the permissions:

sudo chmod 664 /etc/systemd/system/adeptiocore.service

Enable adeptio core to run after system reboot:

sudo systemctl enable adeptiocore

If we are running VPS with regular user and sudo rights we need to make permission to manage adeptiocore.service we just created. If we not sure you root or regular user:

echo $EUID

If the output is not 0 follow the next (otherwise skip this step):

sudo su
nano /etc/sudoers.d/storADEserver

Edit this line to corresponding yourUSERnameHERE and paste it:

%yourUSERnameHERE ALL= NOPASSWD: /bin/systemctl start storADEserver
%yourUSERnameHERE ALL= NOPASSWD: /bin/systemctl stop storADEserver
%yourUSERnameHERE ALL= NOPASSWD: /bin/systemctl restart storADEserver

Save the file. Then exit from root user:



Starting Adeptio Core blockchain

Now we can call systemD service to start adeptiocore.service:

sudo systemctl start adeptiocore

Wait 20 sec. and the check status:

sudo systemctl status adeptiocore

We should get something similar:

adeptiocore.service - Adeptio Core Wallet daemon & service
Loaded: loaded (/etc/systemd/system/adeptiocore.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2018-12-30 22:44:18 UTC; 1s ago
Process: 6085 ExecStart=/usr/bin/adeptiod -daemon -pid=/root/.adeptio/ (code=exited, status=0/SUCCESS)
Main PID: 6086 (adeptiod)
CGroup: /system.slice/adeptiocore.service
└─6086 /usr/bin/adeptiod -daemon -pid=/root/.adeptio/

Great. We just started adeptio blockchain and it's probably syncing blocks right now.


Generating masternodeprivkey from Cold Wallet

Leave a VPS for now. Open Adeptio Core wallet (GUI). In order to get the masternode to run, we need to send 10,000 ADE to an address we are just going to create. In your GUI-Wallet go to: Tools -> Debug Console and type in:

masternode genkey

This will generate a private key - We need to add that key to the “masternodeprivkey”-field in the same field which auto-installer asking for. Please input and wait for auto-installer finishes the setup on VPS side.

Next generate a wallet-address. Each masternode needs it’s own address. We are going to send 10,000 ADE to this address later.

getaccountaddress adeptio_masternode01

You can change adeptio_masternode01 to whatever you want to name your masternode.

Save the address & masternodeprivkey you’ve just generated for the next step.


Sending 10,000 ADE to the address

Send exactly 10,000 ADE coins to that address you just saved couple minutes ago. Yes - make sure this is only 10,000 ADE. No less, no more

Wait for the transaction to have at least 15 confirmations before continuing.


Getting the transaction output

Open up the wallet debug console once again Tools -> Debug Console and type in:

masternode outputs

It will display a list of valid masternode transactions. If this is your first masternode there will be only one.

The list contains a longer number (transaction ID) and a following number 0 or 1

Save both of these somewhere for the next step.


Putting all information together in Cold Wallet

We need a config file of our GUI wallet with name - masternode.conf. (Find it or use the “Edit config file” in the Adeptio Core wallet client under “Tools”) and fill it out like this:

{YOURMASTERNODENAME} {YOURVPSIP:9077} {The masternodeprivkey} {The output from when we entered masternode outputs} {The check digit that follows 0 or 1}

The result for example:

adeptio_masternode01 qqqxxxbbbbqqqq1111222 qqqqxxxxxxbbbbbbbbqqqqqqq1112222xxxxx 0

Save and close the masternode.conf, then restart the Adeptio Core wallet. 


Let's back to VPS where we left to sync blocks

By now all blockchain blocks should be synced. To ensure, check the latest block:

adeptio-cli getinfo | grep blocks

Let's compare with Official adeptio eXplorer data:

If the number match +- by 5 blocks continue:

sudo systemctl stop adeptiocore

Before we go to next step we need to set some parameters:

  • masternodeaddr
  • externalip
  • bind
  • masternodeprivkey (This key was generated with Adeptio Core wallet.)
  • RPCpassword (Random Strong Password)

To make no mistake for masternodeaddr / externalip / bind check your external IP:


Open adeptio.conf delete all the text (if exists) and add new one. Of course replace the lines with { }:

nano ~/.adeptio/adeptio.conf


Delete the brackets { }

Save the file & start adeptiocore.service:

sudo systemctl start adeptiocore

Check the adeptiocore status:

sudo systemctl status adeptiocore

If the service started. Let's move on storADEserver installation.


Installing storADEserver

Adeptio Core & adeptio storADEserver works as on platform. In order to get positive answer from masternode setup we have to be installed adeptioStorade python code as well. The setup slightly changing by the time. Please check installation page here then come back to start a masternode on last step.


Start the masternode from Adeptio Core wallet.

We almost finished. We are now at the final step of our process. To start our masternode and finalize our process all we have to do is press the "start missing" button (or highlight the node and press "start alias").

After this, it should say enabled and still have a 00:00 under time. This shouldn't alarm you, as it can take a few hours for this to reflect. If we want to confirm we were successful, the best way is back on our VPS. There, enter the following command:

adeptio-cli masternode status

Successful output:

"txhash": "a8769244e7826273b182d4d7d5937f55dfc2b87fe45a257afad407f806ed0160",
"outputidx": 0,
"netaddr": "x.x.x.x:9077",
"addr": "APxwmaL9gK1yj467FntsxFATjaJ4GvQz18",
"status": 4,
"message": "Masternode successfully started"

Congratulations! You’ve successfully setup a masternode!

Please take a note that to get first reward it could take 2-8 days. Depending on masternode count

Need additional help? Go to Discord and ask for help.

No Comments
Back to top