REQUIREMENTS:

  • 10,000 PIV
  • A main computer (Your everyday computer browsin', game playing' computer)
  • Masternode Server (The computer that will be on 24/7) (Another Windows computer)
  • A different IP address for EACH masternode


(Tutorial will use Windows as main wallet and another Windows computer as the masternode)


The main wallet will hold all PIVX used to run the masternode.


For this guide, I'm going to refer to your main computer's wallet as the main wallet, and the other Windows's wallet as the masternode wallet.


1) Using the main wallet, enter the debug console and type the following command:

masternode genkey

   

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


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

getaccountaddress masternodename


3) Still in the main wallet, send 10,000 PIV to the address. (Make sure this is 100% only 10,000; No less, no more.)


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


masternode outputs


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


5) Still on the main computer, go into the PIVX data directory (Where is my PIVX data directory?)


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


 <Name of Masternode(Use the name you entered earlier for simplicity)> <Unique IP address>:51472 <The result of Step 1> <Result of Step 4> <The number after the long line in Step 4>



Example: MN1 31.14.135.27:51472 892WPpkqbr7sr6Si4fdsfssjjapuFzAXwETCrpPJubnrmU6aKzh c8f4965ea57a68d0e6dd384324dfd28cfbe0c801015b973e7331db8ce018716999 1


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


6) Still on the main computer, open the pivx.conf file (Find it or use the edit the config file in the PIVX-qt client under "Tools"). Make it look like this:

rpcuser=long random username
rpcpassword=longer random password
rpcallowip=127.0.0.1
listen=0
server=1
daemon=1
logtimestamps=1
maxconnections=256


Save the file and restart the main wallet.


7) Now on the masternods, find the PIVX data directory here. (By Default: %Appdata%/PIVX). Open the pivx.conf file and make it look like this:

rpcuser=long random username
rpcpassword=longer random password
rpcallowip=127.0.0.1
listen=1
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
masternodeprivkey=Result of Step 1


Make sure to replace rpcuser & rpcpassword with your own.


8) Close and restart this masternode wallet.


9) Coming back to the main wallet, open the Debug Console and enter the following command:


masternode start-alias <alias>


 (Make sure wallet is unlocked)


The output should look something like this:


                 {
                       "overall" : "Successfully started 1 masternodes, failed to start 0, total 1",
                       "detail" : {
                          "status" : {
                             "alias" : "mn1",
                             "result" : "successful"
                         }
                 }



11) In the masternode wallet, enter the following command:


masternode status


You should see something like:
 

{
    "txhash" : "jse9grj983j4f9j349fj34r",
    "outputidx" : 1,
    "netaddr" : "x.x.x.x:51472",
    "addr" : "D0w3j948f98ejb90ejf498j349fj394jf",
    "status" : 4,
    "message" : "Masternode successfully started"
}



Congratulations! You have successfully created your masternode! 


If you have encountered some kind of error during this, try troubleshooting here.