3 - HOW TO CREATE A MASTERNODE ON LINUX - UBUNTU To create a PNX Masternode, you need to have 20.000 coins.
If you followed the instructions on step 1 and step 2, now, let use the alias command!
First of all, let's create the
phantomx.conf file with all configuration on that.
================ Step 01 // Getting infos ================Again, getting the wallet address:
Get you private key - do not send for anyone:
pnx dumpprivkey <you wallet address via command bellow>
Identifying your EXTERNAL IP Address
dig +short myip.opendns.com @resolver1.opendns.com
================ Step 02 // Configuring your wallet ================Creating the CONFIG file
vi /wallets/phantomx/.wallet/phantomx.conf
Insert these lines in your
phantomx.confrpcallowip=127.0.0.1
rpcuser=<user you want>
rpcpassword=<your password>
staking=0
server=1
listen=1
port=9340
masternode=1
masternodeaddr=<your IP Address above>:9340
masternodeprivkey=<your private key above>
IF YOU NEED NODES, you can add these nodes in your phantomx.conf
addnode=54.218.118.59:9340
addnode=54.218.118.59:9341
You can change the PORT and RPCPORT, but do not forget to release them on the FIREWALL and AWS NETWORK CONSOLE
================ Step 03 // Restarting ================Restart your wallet:
pnx stop
sleep 15
pnx -daemon -server
You also can check the log if there are errors:
more /wallets/phantomx/.wallet/debug.log
if you want to test if the remote wallet address is OK, use TELNET in your personal PC.
Do not use in your current PNX VPS
telnet <your IP Address above> <RPC Port>
telnet <your IP Address above> 9341
================ Step 04 // Sending PNX Coins ================Send 20.000 PNX for your new address
Waiting the TX be confirmed. You can accomplish it via:
or checking your balance:
================ Step 05 // Starting your Masternode ================If all steps are OK, now you can start your Masternode
If started very well, after some seconds, you can check your masternode online here:
pnx masternode list | grep <your IP Address above>
I hope it can be useful.
I'm not the Geday... I'm just one guy trying helping who needs.
Do not forget to encrypt your wallet and make a backup of the files - wallet.dat
- phantomx.conf