How to setup a PIVX Masternode in Windows - A Guide

in pivx •  7 years ago 

This guide is to setup a PIVX Masternode in Windows PC. I've written this based on my experience.
Things you need.
(a) At least 10,000 PIVX Coins
(b) Two computers.
i. One to hold the wallet and control the masternode remotely. This is your daily use computer (browsing, movies etc...), which need not be online all the time. Let us call this Main Computer
ii. The second computer that will act as Masternode Server. This should be connected to the internet via cable and should be on 24/7. Let us call this as Masternode Computer.

Here are the steps to setup a Masternode.

Step 1: Download and install PIVX wallet in both the computers.
i. Download PIVX wallet from https://pivx.org/get-pivx/wallet/. Choose x32 OR x64 based on the operating system
ii. Go to bin folder and click pivx-qt.exe. It will take several hours to synchronize for the first time.
iii. Set a passphrase under Settings. Remember this passphrase and write it down somewhere. If you forget your passphrase you will lose the coins.
iv. Remember to backup you wallet regularly and keep it in a safe location. This will help you to recover your coins in case computer crashes. File -> Backup Wallet.

Step 2: Load at least 10,000 coins in your main computer wallet (a.k.a main wallet)
Send PIVX coins from your account (another wallet or exchange) to a receiving address found under File -> Receiving Addresses. You can generate as many addresses as you like.

Step 3: Generate Masternode Private key from main wallet.
Go to Tools -> Debug console and enter the command masternode genkey. Keep the output in a safe document such as notepad. This is your private key for the Masternode.

Step 4: Get account address from main wallet.
In Debug Console enter the command "getaccountaddress MyMasternode". You can use your own name instead of MyMasternode. Copy the output and save it to the notepad.

Step 5: Still in main wallet, send exactly 10,000 PIVX to the address generated in Step 4.
Go to Send --> paste the address in Pay To box, enter 10,000 and choose "Send as zero-fee transaction if possible"

Step 6: Get the proof of transaction in main wallet.
Enter "masternode outputs" and copy the output to the notepad. This is the proof of the transaction.

Step 7: Update masternode.conf in main computer.
Open masternode.conf in the main computer (should be under AppData/PIVX folder) and update it as below.

" <Name of Masternode -- this is the name you have given in step 4 (MyMasternode)> < Unique IP address. google whats my ips>:51472 <masternode private key output from Step 3> <proof of transaction output from step 4 > <index. The single digit number output from step 4>"

It should look something like this
masternode1 209.358.10.20:51472 87BxAhVTQrCCVdqycRkkttVcaxZvvxCadukwHwv1s7neYFm1EAX 717e59cad55492af9d2c2468c699308139499820c7074c1ef46fa5e19614b006 0

Step 8: Update PIVX.Conf in main computer.
Open your PIVX.CONF file in the main computer and update as below.
rpcuser=long random username
rpcpassword=longer random password
rpcallowip=127.0.0.1
listen=0
server=1
daemon=1
logtimestamps=1
maxconnections=256

Step 9: Restart the main wallet.

Step 10: in the Masternode Computer, update pivx.conf file as below.
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:51472
masternodeprivkey= Masternode provate key output from Step 3

Step 11: Restart Masternode Wallet. If there is an error suggesting you to change listen=0, make that change in the PIVX.Conf file in Masternode computer.

Step 12: In Main Wallet, start the masternode
Go to Debug Console and enter the command Masternode start-alias . You should see output something like this.

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

You can also verify the masternode status in masternode wallet with the command "masternode status". Output should contain status as "Masternode successfully started"

That's all. Hope this works for you. If so please hit the like button so I will know how many people really benefited from my documentation. Thanks and all the best.

References:
https://pivxmasternode.org/2017/03/08/step-step-guide-setting-masternode/
https://steemit.com/pivx/@bigsambucca/newbies-guide-to-setting-up-a-pivx-masternode
https://pivx.slack.com/messages/C4KS5DWC9/
http://178.254.23.111/~pub/DN/DN_masternode_payments_stats.html
http://pivxtv.azurewebsites.net/

Please feel free to reach out to me with any questions.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi, do you know how to set up 2 MNs on 1 VPS?

Nice post. Thanks for bringing this to our attention. It surprises me people don't do their due dilligence on the coins they invest in. How can you invest in something if you don't know it's Trustworthiness. Besides coinmarketcap.com there is: https://www.coincheckup.com. I'm using this site that gives in depth reports on every tradable cryto in the market.

You can take me, but you will never take my bunghole, Hm heh.... For I am the Great Cornholio Hm heh I have no bunghole, hm heh...

Do you have to have a static IP from your ISP for a Masternode?

You could use a Static IP VPN server. I use and recommend NordVPN. This is my referal: https://ref.nordvpn.com/?id=4526393f8

Hi! We have an Steemit Crypto Blog Bounty running right now.
Maybe you want to write an article on Steemit about StakingLab.io and earn some Masternode / POS Coins :)

https://steemit.com/stakinglab/@tcubed/stakinglab-s-steemit-bounty

Congratulations @ravin! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!