Published using Google Docs
QDP Masternode Setup Guide
Updated automatically every 5 minutes

Introduction

This guide is for a single masternode, on a Ubuntu 16.04 64bit server (VPS) running headless and will be controlled from the wallet on your local computer (Control wallet). The wallet on the the VPS will be referred to as the Remote wallet.

You will need your server details for progressing through this guide.

First the basic requirements:

1. 10,000 QDP

2. A main computer with QDP wallet installed (Your everyday computer) – This will run the CONTROL WALLET, hold your collateral 10,000 QDP and can be turned on and off without affecting the masternode.

3. Masternode Server (VPS – The computer that will be on 24/7 with a unique IP address for your VPS / Remote wallet

(For security reasons, you’re are going to need a different IP for each masternode you plan to host)

The basic reasoning for these requirements is that, you get to keep your QDP in your local wallet and host your masternode remotely, securely.

Configuration

1) Using the control wallet, enter the debug console (Tools > Debug console) and type the following command:

>masternode genkey

The result looks like:

7UJQK3D9ve6GTe7UJLz6byyuWMjUg6rFaKYMYkT33qkV53rKFjo

(This will be the masternode’s privkey. We’ll use this later…)

2) Using the control wallet still, enter the following command:

getaccountaddress chooseAnyNameForYourMasternode

The result looks like:

QT8gZsLBauFjZ81g4Nzy8yCioZaQHbxuyF

3) Still in the control wallet, send 10,000 QDP to the address you generated in step 2 (Be 100% sure that you entered the address correctly. You can verify this when you paste the address into the “Pay To:” field, the label will autopopulate with the name you chose”, also make sure this is exactly 10,000 QDP; No less, no more.)

– Be absolutely 100% sure that this is copied correctly. And then check it again. We cannot help you, if you send 10,000 QDP to an incorrect address.

4) Still in the control wallet, enter the command into the console:

masternode outputs

 (This gets the proof of transaction of sending 10,000)

The result looks like:

{

    "01df9d34c7bca32bd45ac8114cff6bb3d2be159487b979baed460b20c5305a37" : "1",

}

5) Still on the main computer, go into the QDPX data directory, by default in Windows it’ll be

%Appdata%/QDPX

or Linux

~

Find masternode.conf and add the following line to it:

Example: MN1 31.14.135.27:57265 792WPpkqbr7sr6Si4fdsfssjjapuFzAXwETCrpPJubnrmU6aKzh c8f4965ea57a68d0e6dd384324dfd28cfbe0c801015b973e7331db8ce018716999 1

Substitute it with your own values and without the “<>”s

6) Close and restart the control wallet.

That ends the installation on main pc/control wallet.

VPS Remote wallet install

7) Install the latest version of the QDP wallet onto your masternode. The lastest version can be found here: https://github.com/qudexpay/qudexpay

Go to your home directory:

>cd ~

From your home directory, download the latest version from the QDPX GitHub repository:

>wget https://github.com/qudexpay/qudexpay/releases/download/v1.2.1/qdpd

>wget https://github.com/qudexpay/qudexpay/releases/download/v1.2.1/qdp-cli

The link above is for Ubuntu (or similar), make sure you choose the correct version of the core wallet if you are not using Ubuntu from:

https://github.com/qudexpay/qudexpay/releases

Make executable

>chmod +x qdp*

(Optional) Copy wallet files to proper location:

>cp qdp* /usr/local/bin/

8) Configurations:

>cd

>mkdir .qdp

>nano .qdp/qdp.conf

This should open a new black qdp.conf file and then copy&paste below to it:

rpcuser=long random username

rpcpassword=longer random password

rpcallowip=127.0.0.1

listen=0

server=1

daemon=1

logtimestamps=1

maxconnections=256

masternode=1

externalip=your unique public ip address

bind=your unique public ip address

masternodeaddr=your unique public ip address:57265

masternodeprivkey=Result of Step 1

*Make sure to replace rpcuser/rpcpassword/ip/addr/key with your own.

Start your masternode

9) Now, you need to finally start these things in this order

– Start the daemon client in the VPS

>qdpd

*The correct result should be:

QDP server starting

– From the CONTROL WALLET debug console

>masternode start-alias <your mn alias>

*You can find the alias under the "MASTERNODE" tab on the first page of your wallet

where <your mn alias> is the name of your masternode alias (without brackets)

The following should appear:

“overall” : “Successfully started 1 masternodes, failed to start 0, total 1”,

“detail” : [

{

“alias” : “<your mn alias>”,

“result” : “successful”,

“error” : “”

}

1)On the masternode VPS use the following command to check status:

>qdp-cli masternode status

You should see something like:

{

    "vin" : "CTxIn(COutPoint(28daa5a96bb22fb9a9e15e4aed5374b47591d17f139b339817055a86b0d1bb7f, 1), scriptSig=)",

    "service" : "111.111.11.11:57265",

    "pubkey" : "QeD8ZwHv5HZdsCBzvtXTW6Np652gSRjQ1z",

    "status" : "Masternode successfully started"

}

Congratulations! You have successfully created your masternode!