How to setup a GanjaCoin Masternode (GanjaCoin / MRJA Masternodes)

Guide / Tutorial on how to setup a remote GanjaCoin masternode to earn GanjaCoin / MRJA yield.

Prerequisites:

  • Ubuntu VPS from VULTR (cheapest VPS is enough)
  • GanjaCoin Wallet on local Computer

Definitions:
Controllers Wallet = Wallet on local Computer
Masternode Wallet = Wallet on remote VPS Server

GanjaCoin Controllers Wallet Setup

First open the GanjaCoin wallet and create a new address called “mn01”.

Then open Debug Window.

In this debug window, go to “Console” and type in “masternode genkey”. Save the output to a text file called “masternode.txt”.

Then, go to tab “send” and send EXACTLY 30,000 MRJA to the “mn01″address.

Open the debug window again and type in “masternode outputs”. Save both values in the masternode.txt file.

Ubuntu VPS Setup

If you don’t have a VPS already, get the 1GB Ram VPS from Vultr:  Rent VPS

Install Ubuntu OS onto it. (Ubuntu 16.04 x64 for example)

Connect to your Ubuntu VPS via SSH and update & upgrade the server first.

apt-get update
apt-get upgrade

Now add a user and add him in the sudoers group so he has root access.

adduser ganjaman
adduser ganjaman sudo

Now change to user “ganjaman” and setup SSH keys for enhanced Security.

su ganjaman

ssh-keygen -b 4096
cd .ssh
cat id_rsa.pub >> authorized_keys

Now save the private key “id_rsa” to your clients computer so you can authenticate to the server with the SSH Certificate. (You must convert id_rsa to a “.ppk file in order to use the privatekey with Putty)

Restart the SSH Server and test if the authentication with the private key works.

sudo service ssh restart

If it works, edit the SSH config file to disable password authentication & root login.

sudo nano /etc/ssh/sshd_config

Change following Values in the file.

PasswordAuthentication no
UsePAM no
PermitRootLogin no

GanjaCoin Masternode Setup

Now we install GanjaCoin onto the ubuntu vps server.
Copy the setup script below into a text file and modify / edit the “TXID=” & “MNPRVKEY= ” to your Values.
Simply input the values right after the “=”.

TXID = 2. value of output from “masternode outputs” command in debug window
MNPRVKEY =
output of “masternode genkey” command

####################################################
TXID=
MNPRVKEY=
####################################################
MY_IP=ip route get 1 | awk '{print $NF;exit}' RPCP=$(date +%s | sha256sum | base64 | head -c 32 ;) export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get -y upgrade && apt-get -y install libwww-perl build-essential libtool automake autotools-dev autoconf pkg-config libssl-dev libgmp3-dev libevent-dev bsdmainutils libdb++-dev libminiupnpc-dev libboost-all-dev libqrencode-dev unzip && fallocate -l 4G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo "vm.swappiness=10" >> /etc/sysctl.conf && echo "/swapfile none swap sw 0 0" >> /etc/fstab && mkdir -p /root/.MRJA/ && echo -e "rpcuser=ganjamasternode\nrpcpassword=$RPCP\nrpcallowip=localhost\nrpcport=10560\nport=10559\nexternalip=$MY_IP\nserver=1\nlisten=1\ndaemon=1\nlogtimestamps=1\ntxindex=$TXID\nmaxconnections=500\nmnconflock=1\nmasternode=1\nmasternodeaddr=$MY_IP:10559\nmasternodeprivkey=$MNPRVKEY\nstake=0\nstaking=0\nseednode=138.197.44.71" > /root/.MRJA/GanjaProject.conf && mkdir -p /root/dev && cd /root/dev && git clone https://github.com/legends420/GCFORK.git && cd /root/dev/GCFORK/src && make -f makefile.unix USE_UPNP= && strip Ganjad && mv Ganjad /usr/local/bin/ && cd /root/ && echo "@reboot root /usr/local/bin/Ganjad" >> /etc/crontab && reboot ###################################################

After you edited the Setup Script above, copy the modified setup Script and connect to your VPS via Putty and paste it into your VPS. You must run the Setup Script as root!

Final GanjaCoin Masternode Setup Step

Back on the local Computer, open GanjaCoin Wallet and go to “masternodes” tab.
Click “Create..” and input all the values. The last 3 values are the ones you stored in the “masternode.txt” file.

 

Alias = Name of Masternode
Address = IP address & port of remote ubuntu masternode vps. port = 10559 
PRIVKEY = output of “masternode genkey” command
TXHASH  = 1. value of output of “masternode outputs” command
Output Index = 2. value of output from “masternode outputs” command in debug window

Now click “Start” and the Masternode should start successfully!

I hope i could help you on how to setup a GanjaCoin Masternode! 🙂
If questions, please comment below 🙂

Sharing is caring!


Information about the Author

IT-Systemengineer / Administrator and Cryptocurrency Investor. In Bitcoin since 2014. Love to travel, going out, work with Computers & doing Blog Posts. Working & living in Switzerland. Bitcoin & Altcoin Investor. Operator of multiple Cryptocurrency Masternodes.

Leave a Comment!

Your email address will not be published. Required fields are marked *