Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

KeplerPay/MasternodeInstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Kepler Masternode Installation Guide

  • Follow the guide carefully and read everything before you ask any question!

Follow these instructions or the video guide to setup a masternode. This guide is for the creation of separate Controller Wallet & Masternode. For Security reasons, THIS IS THE PREFERRED way to run a Masternode. Your coins will be safe if the masternode server is hacked.

Table of Content

1. Desktop Wallet Preparation

1.1 Desktop Wallet Setup

  1. Download the wallet: kepler.cash
  2. Start the wallet and select the default data directory. Afterwards close the wallet. (This creates the folder structure)
  3. Start the wallet again and wait for synchronization. (2min to 15min)
  4. You can optionaly encrypt the wallet (Settings => Encrypt wallet) for security reasons. Do not forget the password or you lose the coins that you have.
  5. Backup %appdata%/KeplerCore/wallet.dat file. This contains your coins. DO NOT LOSE IT!

2. Masternode Setup

2.1 Send the coins to your wallet

  1. Create and copy a new receiving address. (File => Receiving address => New)
  2. Send exactly 10000 coins to this address. (One transaction, pay attention to the fee)
  3. Wait for a confirmation.
  4. Save the transaction id and index, masternode outputs, and generate and save a new masternode private key masternode genkey using the debug console (Tools => Debug Console)

2.2 Automatic Masternode Setup

  1. Download putty
  2. Start putty and login as root user. (Root password and server ip address is in vultr overview tab)
  3. Paste this command and follow the instructions:
apt-get install -y python ; rm installer.py; wget https://raw.githubusercontent.com/KeplerPay/MasternodeInstall/master/installer.py && python installer.py

What does the script?

  • updates the system
  • secure the server (setups a firewall)
  • setups swap if server RAM is not enough
  • download and install the wallet
  • configure the masternode with rpcusername, rpcpassword and mn's private key (the mn is running under mn1 username)
  • setup sentinel
  • setup cronjob for automated jobs (autostart masternode on system start, run sentinel every minutes, etc...)

2.3 Add masternode to the desktop wallet

  1. Open %appdata%/KeplerCore/masternode.conf and add a new line to it. The line format is:
    'AliasName ServerIP:12102 PrivateKey TransactionID TransactionIndex'
  2. Open the wallet, wait for synchronization, unlock the wallet
  3. Go to Masternodes tab (Setting => Options => Wallet => Show Masternode Tab)
  4. Click Start All
  5. Wait around 2-10 hour to start receiving coins. Check the masternode address for rewards here: explorer or use your wallet.

3. FAQ

  1. What if I restart the server?
    • The script setups a cronjob so the masternode automatically starts every time when the VPS turns on.
  2. What is the password for the mn1 account?
    • There is no default password. When you create a user it does not have a password yet, so you cannot login with that username until you create a password. There is one other way to act as a new user without its password. As root type su - mn1
    • You need to set a password for the user. Use the passwd command: passwd mn1
  3. I get the following error: "Could not allocate vin"
    • Make sure your wallet fully synced and UNLOCKED.
    • Make sure the masternode address contains exactly 10000 coins.
  4. How many masternodes can I run using one IP/server?
    • You can only use one masternode per IP address.
  5. How do I delete the masternode?
    userdel -r -f mn1
    

About

Basic masternode installer.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages