1 of 21

RUPAYA MASTERNODE SETUP GUIDE

2 of 21

ACKNOWLEDGEMENT

  • I would like to acknowledge the almighty God for life and the knowledge of man to come up with such technologies such as blockchain, bitcoin, rupaya
  • In the same light, I would also like to say thank to the likes of Satoshi N. , Mobay and the Rupaya team for pioneering such great projects as Bitcoin and Rupaya which will go a long way to make the world a better
  • A big thank you goes all stakeholders, investors, and community members of Rupaya
  • My profile: � Twitter: www.twitter.com/bitcoinghana

Bitcointalk: https://bitcointalk.org/index.php?action=profile;u=998392

RUPX address: 7Hyyzi9ZMksJqDdhoxocbJq3LcC4MgT3ZD

3 of 21

ABOUT THE GUIDE

There are many ways of setting up a masternode.�For instance:�1. on a VPS only using commands only

2. On your local computer only

3. On a VPS with a controller local wallet

Most importnantly you need 10,000 RUPX and a computer that can run a wallet and will stay online all the time.

This guide teaches how to setup a mastenode like the third point where your local computer will run the masternode but your VPS will do the work of staying constantly online for your. That is the essesnce of a server. And that is why the rupaya network will allow you to generate new coins as compensation for running a server with its full node hence Proof of Service in a PoS system.

4 of 21

ABOUT THE GUIDE

Every other valid method will work as well.

This guide was made for newbies, and not dummies.

I will not answer certain questions like:�How do I buy a VPS?�Where should I type my hostname and password?�What is VPS_IP and where do I find it?

www.google.com is everyone’s friend. Use her.

To err is human. If you find an error in this guide, or if you have a better alternatinve please mention me on twitter or send me a message on bitcointalk.�

Thank you

5 of 21

WHAT YOU NEED

  • A fully synced local wallet
  • Download and install PuTTy from www.putty .org
  • 10,000 RUPX (Not including transaction fees)
  • An open notepad for keeping records
  • The ability to meticulously follow simple instruction in the guide and pay attention to every detail

6 of 21

WHAT YOU NEED - 1

  • A VPS (for one Rupaya masternode, XS VPS package from time4VPS should suffice (https://billing.time4vps.eu/?affid=1959)

Any other VPS package with similar specs should work just fine

Install the Ubuntu 16 OS on your VPS

Get your VPS_IP (Static/External IP address) which will be provided by the VPS that you buy

Configure your PuTTy to gain access to your VPS and lets get started with our Rupaya node (you can use the default port 22)

7 of 21

COMPILING YOUR RUPAYA DAEMON

  • You need to compile your own linux OS Rupaya wallet which will continually run on your 24/7 VPS to keep your masternode running.�Feel free to download the precompiled wallet using command� wget [LINK]
  • I would recommend compiling your own wallet.
  • All the instructions for compiling a Rupayad can be found here: https://github.com/rupaya-project/rupaya/blob/master/doc/build-unix.md
  • For the sake of total newbies I will list a series of commands which will help you to compile a rupaya wallet on your linux VPS

8 of 21

COMPILING - INSTALLING DEPENDENCIES

  • sudo apt-get update
  • sudo apt-get install automake
  • sudo apt-get install libdb++-dev
  • sudo apt-get install build-essential libtool autotools-dev
  • sudo apt-get install autoconf pkg-config libssl-dev
  • sudo apt-get install libboost-all-dev
  • sudo apt-get install libminiupnpc-dev
  • sudo apt-get install git
  • sudo apt-get install software-properties-common
  • sudo apt-get install python-software-properties
  • sudo apt-get install g++

9 of 21

COMPILING

  • Download and compile the Berkely DB v4.8 database
    • sudo add-apt-repository ppa:bitcoin/bitcoin
    • sudo apt-get update
    • sudo apt-get install libdb4.8-dev libdb4.8++-dev –y

  • Download the Rupaya source code:
    • cd ~
    • git clone https://github.com/rupaya-project/rupaya.git

10 of 21

COMPILING

  • cd rupaya/
  • ./autogen.sh
  • ./configure
  • make

The MAKE command takes a while. Its where the bulk of the work is done. After this we need to confirm if our daemon has been successfully compliled in ~/rupaya/src$�so

  • cd src/ (cd helps to navigate directories or folders)
  • ls (displays the contents of a directory)

Look for rupayad.

11 of 21

IN YOUR LOCAL WALLET…

  • go to debug console and generate new address getnewaddress MN0
  • sendtoaddress 7LxR6E9orFDxhzMXn3tCGuehmayfcf3LsH 10000
  • masternode outputs
  • masternode genkey

NB: Replace my ADDRESS and my ALIAS(MN0) with yours

12 of 21

RUPAYA.CONF

  • rpcuser=(create a username)
  • rpcpassword=(enter a strong password)
  • rpcallowip=127.0.0.1
  • daemon=1
  • server=1
  • listen=1
  • maxconnections=256
  • masternode=1
  • externalip=(VPS IP Address)
  • bind=(VPS IP Address)
  • masternodeaddr=(VPS IP Address):9020
  • masternodeprivkey=(Insert your masternode key we generated above)

13 of 21

MASTERNODE.CONF

  • alias VPS_IP:port masternodeprivkey collateral_output_txid collateral_output_index

NB: Replace the format of the mastnernode.conf and rupaya.conf in a record notepad

Copy the masternode.conf text to C:\Users\User\AppData\Roaming\Rupaya on your local computer’s masternode.conf� and lets head back to PuTTy�

14 of 21

SETUP USING PUTTY

Edit the configuration file for the Masternode

  • Go to the configuration folder:

cd ~/.rupaya/

  • If the folder doesn’t exist, create it with

mkdir ~/.rupaya/ and then use cd ~/.rupaya/ to go into the config folder

  • List the contents and look for rupaya.conf

ls

  • If the file doesn’t exist, create it like this:

touch rupaya.conf

15 of 21

INSTALL NANO AND EDIT CONF FILES

  • sudo apt-get install nano

Nano is a file text editor for Ubuntu

  • Edit the file:

nano rupaya.conf

Paste(right-click) the contents of the RUPAYA.CONF that you have

16 of 21

Now that our masternode.conf on our local computer is configured and our rupaya.conf on our VPS is also configured, we are ready to start our masternode

But before close the wallet and relauch them to put the configurations into effect

Then start the VPS wallet �

./rupayad –daemon

17 of 21

  • Wait for wallet to fully sync. You can check with
  • ./rupaya-cli getinfo

Look for block and compare with the block explorer to see if you are fully synced or not

18 of 21

START MASTERNODE

  • Once both local wallet and VPS wallets are fully synced, open the local wallet and type

startmasternode many false

19 of 21

MASTERNODE STATUS

  • You can check for your masternode status on local wallet by checking the masternode tab

  • And on the VPS using the command:

./rupaya-cli masternode status

OR

./rupaya-cli masternode debug

20 of 21

SHOWING APPRECIATION

If you have been helped by this guide and would like to show appreciation by sending me some RUPX, please do. �

My RUPX address:

7Hyyzi9ZMksJqDdhoxocbJq3LcC4MgT3ZD

Follow me on Twitter: www.twitter.com/bitcoinghana

21 of 21

.

  • .