Thanks to original guide author.. I revised..
Setting up a Masternode - WindowsWe will be using your home computer for this
nothing fancy
Create a new .txt file, we need to copy/paste a few codes/addresses
Start with a new wallet (0 balance) but first back up your old wallet.dat if you have coins in it
Open te QT, and make sure you have your firewall accepting connections from the CRAVE QT
Nex, Let it sync up
After you synced, go to Tools=>Debugconsole=>Console
Then typ :
masternode genkey Press enter
You will see a large code, copy this code to the .txt file for now. We need this code later on when we are setting up a new crave.conf file
Go back to your Wallet=>Tools=>Debugconsole=>Console
Then typ :
getaccountaddress 0This will give you a new CRAVE address. Copy this address to the .txt file for now. We need this address later on to sent EXACTLY 500 CRAVE to it (more or less will not work!) so you are able to be a masternode
Next you need to encrypt your wallet! Make sure you think of a strong password!
Settings=>encrypt wallet
After doing that your wallet needs to restart.
Close wallet and re-open.
Alright, It is time to sent those 500 CRAVE to the "address 0" you copy/pasted in the .txt file. make sure it is EXACTLY 500!!
If you have coins in your backed up wallet. Close down the CRAVE QT and just switch your wallet.dat with the back up wallet.dat (the one with your coins in it
) make sure you dont remove or lose the other "masternode" one, just put it away somewhere else for a sec.
Restart the CRAVE QT, Let it load, and you should see you have balance again from your backup wallet.
Send 500 coins to the CRAVE address we put in the .txt file earlier. Let it fully confirm in the blockchain.
Close the CRAVE QT and swap the wallet.dat files again. You will now need the masternode wallet.dat file again.
Next, we need to make a new .conf file
maxconnections=100
rpcuser=yourusername
rpcpassword=yourpassword
rpcallowip=127.0.0.1
rpcport=5555
gen=0
listen=0
server=1
daemon=1
reservebalance=9999999
logtimestamps=1
masternodeaddr=YOURIPADDRESS:9999
masternode=1
masternodeprivkey=YOUR GENERATED PRIV KEY
Change username/password
Replace
YOURIPADDRESS with your ip address
Replace the
YOUR GENERATED PRIV KEY with the one you copy/pasted in the .txt file
Save as crave.conf (we all know where to put this right?)
Open the CRAVE QT
Go to Tools=>Debugconsole=>Console
Typ
masternode start walletpasswordThen typ
masternode listIf you did everything right, and followed this guide step by step you should see you ip addres in the list with :1 behind it... then it is all set! Leave your wallet open though
If you want to do multiple Masternodes do similar to this:
You can change the port and setup more if you want. You will need to have multiple copies of the datadir and you crave-qt.exe
something like this for your .bat files and make sure you have a folder to hold the data for each running MN.
StartMasterNode1.bat
crave-qt -datadir=C:\SubFolders\CraveMasterNode1
StartMasterNode2.bat
crave-qt -datadir=C:\SubFolders\CraveMasterNode2
StartMasterNode3.bat
crave-qt -datadir=C:\SubFolders\CraveMasterNode3
Crave Master Node 1 Config
maxconnections=100
rpcuser=YourRPCUser
rpcpassword=YourRPCPassword
rpcport=9970
port=9999
gen=0
server=1
daemon=1
staking=0
reservebalance=9999999
masternodeaddr=YouIPAddress:9999
masternode=1
masternodeprivkey=YourMasterKey
rpcallowip=127.0.0.1
Crave Master Node 2 Config
maxconnections=100
rpcuser=YourRPCUser
rpcpassword=YourRPCPassword
rpcport=9971
port=9998
gen=0
server=1
daemon=1
staking=0
reservebalance=9999999
masternodeaddr=YouIPAddress:9998
masternode=1
masternodeprivkey=YourMasterKey
rpcallowip=127.0.0.1
Crave Master Node 3 Config
maxconnections=100
rpcuser=YourRPCUser
rpcpassword=YourRPCPassword
rpcport=9972
port=9997
gen=0
server=1
daemon=1
staking=0
reservebalance=9999999
masternodeaddr=YouIPAddress:9997
masternode=1
masternodeprivkey=YourMasterKey
rpcallowip=127.0.0.1
Works like a charm running 2 masternodes on same Windows machine. Now I just need to tackle running 2 masternodes on a raspberry pi. Any full documentation for that such as compiling wallet, running 2 masternodes on Linux, etc.?