Authored by Sejal Patel

CSPN Masternode Installation

Before getting started, please do not allow anyone access to your system. This includes the use of TeamViewer. No member of the CSPN staff will require access to your system in order to resolve a problem. If anyone claims to need direct access, please report them to another member of the CSPN staff immediately.

Getting Started

This guide is designed to quickly get you started on running a CSPN masternode.

1. Validate prerequisites

  • You will need the ability to use SSH. For Mac, this would be Terminal and for PC it is recommended to use Putty
  • If doing a cold wallet setup (most popular), you will need a CSPN Wallet with at least 1337.1 coins.

2. Setup a VPS instance

  • You can find instances starting at $3.50 with Vultr
  • Supported OS's are Ubuntu 16.04 and higher (our regressions are done using Ubuntu 18.04) using IPv4.

Vultr servers are confirmed to safely run at least 3 instances of CSPN masternodes on a single $3.50 server (1 cpu/512mb RAM) without issues. However, any VPS using Ubuntu 16.04 or higher should work without issues.

3. Installation of Masternode

SSH to the VPS server as the root user (or sudo to root) and type the following

bash <(wget -qO- -o-

You should see the installation process starting. Upon completion of the installation it will then present information similar to below

*** Step 6: Installation Complete ***
Config /root/cspn-mn1 (Backup this folder)
Alias cspn-mn1 (Name of masternode alias)
IP (IP of this masternode instance)
Port 13370 (Port number of this masternode instance)
Key 2ZerzzdLu9NgzznRi2CYzz9kHzAnzzsiuuFPzzqJyWzzoxA5zz8 (Private key of this masternode instance)

masternode.conf (Add the below to your local wallets masternode.conf)
cspn-mn1 2ZerzzdLu9NgzznRi2CYzz9kHzAnzzsiuuFPzzqJyWzzoxA5zz8 <txid> <txid index>

The Alias listed is the reference/command will be your interaction point with the masternode. The masternode.conf information contains most of the information needed to activate your masternode.

The masternode.conf information should never ever be shared with anyone. No member of the CSPN team will ever ask for that information and anyone claiming to need that information should be reported immediately.

Cold Wallet Setup

For most people this is the setup that will be desired. The wallet which has the actual funds will be located remotely (usually on a persons PC).

After the installation is completed, it will present you with information (save this info) to be added to the masternode.conf file that looks similar to

cspn-mn1 2ZerzzdLu9NgzznRi2CYzz9kHzAnzzsiuuFPzzqJyWzzoxA5zz8 <txid> <txid index>

Replace the <txid> and <txid index> with the appropriate values. To achieve this, do the following steps

  1. Click on the menu File > Receiving addresses... create a New Address with an appropriate label (e.g MN1). Click OK with the Address left blank. Right click on the newly created address and select Copy Address.
  2. Switch to the Send tab and send exactly 1337 CSPN to this address.
  3. Go to the Transactions tab and wait for the first confirmation.
  4. Open up Help > Debug window > Console and type: masternode outputs
  5. Copy the txhash (first part) and replace the <txid> value with it.
  6. Copy the outputidx (second part: 0 or 1) and replace the <txid index> value with it.
  7. Open up Tools > Open Masternode Configuration File and paste the fully completed line at the end of the file. It should look similar to
cspn-mn1 2ZerzzdLu9NgzznRi2CYzz9kHzAnzzsiuuFPzzqJyWzzoxA5zz8 44b61df9612dfc2a5df4b5bdf4c4bdfb5ecdf99f2df495edf009cdf128adf0c8 0

Now restart the wallet and in the masternodes tab you will see your alias (MN1) show up. Click on it and click "start" to startup the masternode.

Hot Wallet Setup

This setup keeps the wallet on the actual masternode itself. The funds earned will auto-stake themselves over time as well. This is recommended only for advanced users comfortable with command line interactions and are very familiar with interactive via the shell commands.

After the installation is completed, it will present you with information to be added to the masternode.conf file that looks similar to

cspn-mn1 2ZerzzdLu9NgzznRi2CYzz9kHzAnzzsiuuFPzzqJyWzzoxA5zz8 <txid> <txid index>

This information may be ignored. It is only relevant for cold wallets.

Now make sure you send at least 1337.1 coins to a holding address onto the masternodes wallet.

  • cspn-mn1 getaccountaddress "holding" in order to collect funds from as many transactions as needed to have at least 1337.1 coins.
  • From another wallet or exchange send at least 1337.1 (after transaction fees) to the above generated address.

Next make sure you have a single transaction with the exact collateral amount of 1337 in it. To do this

  • cspn-mn1 getaccountaddress "masternode" in order to obtain an address in which to send the funds to.
  • cspn-mn1 sendtoaddress "<the address from output of line above>" 1337 which should look something like

[ { "txhash": "44b61df9612dfc2a5df4b5bdf4c4bdfb5ecdf99f2df495edf009cdf128adf0c8", "outputidx": 0 } ]

  • Next wait until you have 15 confirmations. You can check your confirmations by doing
cspn-mn1 listtransactions "masternode"
  • Once you have 15 confirmations, your masternode can be started (if not auto-activated which can happen if it doesn't stake first) by doing
cspn-mn1 masternode start all
cspn-mn1 masternode status

Interacting with your Masternode

Upon successful completion of installation you will be presented with an alias name (cspn-mn1 initially). For this example, I will demonstrate all examples using cspn-mn1 as the alias name provided.

Administrative Capabilies

cspn-mn1 start - Turn on the masternode if not running
cspn-mn1 stop - Turn off the masternode
cspn-mn1 upgrade - upgrades this instance to the latest version of the code and relinks to the latest blockchain in case of issues
cspn-mn1 uninstall - completely uninstalls this masternode. will first backup the wallet/configurations before uninstalling.
cspn-mn1 debug - Enter interactive shell of running masternode isolated environment

Masternode CLI interface

All CLI commands are passed through the appropriate masternode installation via the alias link. See examples below

cspn-mn1 help - List all commands, or get help for a specified command
cspn-mn1 getinfo - Returns an object containing various state info
cspn-mn1 mnsync status - Returns the sync status
cspn-mn1 masternode status - Print masternode status information
cspn-mn1 masternode start-all - Start masternodes configured in masternode.conf

Below is the technical details behind everything that will take place during the installation.

Edited 6.67 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment