Skip to content

Masternode Setup Guide

Veles Network edited this page May 6, 2019 · 13 revisions

Linux masternode guide

This is a step-by step tutorial on how to set-up Veles Masternode on a Linux Server , taking advantage of Veles Masternode Installer script.

If you require further assistance contact the support team @ Discord


Supported Linux distributions

  • Ubuntu
  • Debian
  • Linux Mint
  • Gentoo
  • Sabayon
  • Fedora
  • RHEL
  • CentOS

Requirements

  1. 2,000 Veles coins.
  2. VPS running Linux (one of mentioned in start of guide)
  3. A Windows local wallet.
  4. An SSH client such as BitVise

Contents

  • Section A: Downloading and installing BitVise.
  • Section B: Connecting to the VPS and installing the MN script via BitVise.
  • Section C: Preparing the local wallet.
  • Section D: Connecting & Starting the masternode.

Section A: Downloading and installing BitVise.

Step 1

  • Download BitVise here

Section B: Connecting to the VPS & Installing the MN script via Bitvise.

Step 1

  • Open the bitvise application and fill in the "Hostname" box with the IP of your VPS. Example-PuttyInstaller

Step 2

  • Copy the root password from your VPS . Example-RootPass

Step 3

  • Type "root" as the login/username. Example-Root

Step 4

  • Paste the password into the Bitvise terminal by right clicking (it will not show the password so just press enter) *Example-RootPassEnter

Step 5

  • Once you have clicked open it will open a security alert (click yes).

Step 6

  • Paste the code below into the Bitvise terminal then press enter and wait .

source <(curl -s https://raw.githubusercontent.com/velescore/veles-installer/master/masternode.sh)

Example-RootPassEnter


Step 7

  • Enter your veles Masternode Private Key. Leave it blank to generate a new Masternode Private Key for you.

Example-RootPassEnter


Section C: Preparing the Local wallet

Step 1

  • Download and install the Veles wallet here

Step 2

  • Generate new address through debug console with command getnewaddress "" "legacy"
  • Send exactly 2,000 VLS coins to the address you generated on your local wallet. Example-console

Step 3

  • Create a text document to temporarily store information that you will need.

Step 5

  • Go to the console within the wallet
  • Type the command below and press enter

masternode outputs

Example-outputs


Step 6

  • Copy the transaction ID and output index .
  • Paste these into the text document you created earlier as you will need them in the next step.

Section D: Connecting & Starting the masternode

Step 1

  • Go to the "tools" tab within the wallet and click open "masternode configuration file"

Step 2

  • Fill in the form.
  • For Alias type something like "MN01" don't use spaces
  • The Address is the IP and port of your server (this will be in the Bitvise terminal that you still have open).
  • The PrivKey is your masternode private key (This is also in the Bitvise terminal that you have open).
  • The TxHash is the transaction ID/long key that you copied to the text file.
  • The Output Index is the 0 or 1 that you copied to your text file. Example-create Example-create

Click "File Save"


Step 3

  • Close out of the wallet and reopen Wallet
  • Click on the Masternodes tab "My masternodes"
  • Check if your Masternode collateral transaction have 16 confirmations.
  • Click start alias in the masternodes tab

Example-create


step 4

  • Check the status of your masternode within the VPS by using the command below:

  • Connect your VPS and change your user from root to veles by this command:

    su veles

Usage:

  • veles-cli masternode status #To check your MN status
  • veles-cli getblockchaininfo #To get general info such as Veles version and current block numnber
  • veles-cli mnsync status #To check if your MN is synced.

Also, if you want to check/start/stop Veles, run one of the following commands as user(veles):

  • systemctl status veles.service #To check if Veles service is running
  • systemctl start veles.service #To start Veles service
  • systemctl stop veles.service #To stop Veles service
  • systemctl is-enabled veles.service #To check if Veles service is enabled on boot

Example-create

If you do, congratulations! You have now setup a masternode. If you do not, please contact support and they will assist you.


Clone this wiki locally
You can’t perform that action at this time.