Install Masternode with KLKS Scrypt

This step assumes you have at least a basic knowledge of Linux and command line, and you are able to set up a VPS and connect to it using Putty or some other secure shell. You can read more infomation here.

In order to proceed with the installiation, ensure that to you have already completed the Preliminary Operations.

Step #1 

Login to your VPS with your credential using Putty and enter following commands to download and run the Kalkulus Script that automatically install your masternode:

sudo apt-get -y install git  [Enter]
git clone https://github.com/kalkulusteam/klks-vps-scrypt.git [Enter]
cd klks-vps-scrypt  [Enter]
chmod +x klks_vps_scrypt [Enter]
./klks_vps_scrypt [Enter]

The script will now start to be executed, and will require some information before to continue:

  • Masternode Genkey (you will get your key with command  masternode genkey in your desktop wallet)
  • Public IP Address of your VPS
  • When asked to create Swap, agree (this is recommended for a VPS with 2GB or less)
  • When asked to setup Firewall rules, agree (recommended)
  • When asked to setup Fail2bad, agree (this is recommended to prevent ssh bruteforcers)

Wait until installation is finished (few minutes usually)

The script will now install required dependencies, configure and update the VPS system, download and install the KLKS distribution, create the required masternode configuration file, and start the KLKS daemon under the new KLKS user the Script created.

Step #2

Enter following command to keep control of the KLKS daemon:

source ~/.bash_aliases   [Enter]

Check status of KLKS daemon to ensure is running (the daemon need some minutes before to fully synchronize with blockchain):

klks-cli getinfo  [Enter]

Step #3

Now it’s time to get back to your Desktop Wallet, open it and click on:

Tools’->  ‘Open Masternode Configuration File’.

In the ‘Masternode Configuration file’ insert following informations:

MN Label:  <Enter a label for your Masternode>

VPS IP:Port: <IP address of your VPS and port 51121>

Masternode genkey: <Masternode Genkey>  (we generated previously at Preliminary Operation)

TX id:  <Your transaction through the Masternode> (we generated previously at Preliminary Operation)

TX out: <OutputIndex of your transaction> (we generated previously at Preliminary Operation)

Example: 
klks_ms01 199.247.28.77:51121 525901f650f28c83b4b2df449ea4a738e0627bf151734e62fb30bd56de01cf21 0

Next, save the configuration file, close and restart your KLKS desktop wallet.

Step #4

After restarting your Wallet , go to “Masternodes” Section, select the masternode you want to launch and click on “Start Alias

Congratulations, you are now running a Kalkulus masternode.

Step #5

Check the status of your Masternode in your VPS Wallet by typing the following command :   

klks-cli masternode status  [Enter]

If everything works correctly, you should see masternode correctly running:

Explore more features!

Read about advanced features and tools that optimize your masternode experience: