HERE IS LINUX COLD WALLET MASTERNODE SETUP..DEV OR MOD IF THINK THIS GUIDE IS GOOD PLS ADD TO GUIDE SECTION..JUST SOME SMALL HELP FOR PNX
WHAT YOU NEED IS VPS UBUNTU 1GB FOR 2 NODE OR 2GB RAM FOR 4 NODE
1/ open window wallet click Phantomxnode click CREATE small window will open
2/ alias = any name for that node mine use PMN1,,
3/ address = your VPS unbuntu IP port = any port { i used 12345 } click OK and copy the address you just create for masternode
4/send exaclly 20000 to that address wait for 1 comfirm
5/Click to that address Click get config you should have some this like below
=======================================================================
rpcallowip=127.0.0.1
rpcuser=REPLAVEME = any username you chose
rpcpassword=REPLACEME = any name you chose not the same with username
staking=0
server=1
listen=1
port=REPLACEMEWITHYOURPORT
masternode=1
masternodeaddr=41.12.294.338:12345
masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=========================================================================
5/Open putty copy VPS IP login to VPS
VPS Ubuntu/
================ Step 01 // Preparing the environment ================
If you have < 2GB of RAM on the system, you won’t be able to compile
PNX. We’ll have to set up a swapfile. If you have the required 2GB, feel
free to skip to UPDATE THE UBUNTU SYSTEM
cd /var
touch swap.img
chmod 600 swap.img
dd if=/dev/zero of=/var/swap.img bs=1024k count=2000
mkswap /var/swap.img
swapon /var/swap.img
echo "/var/swap.img none swap sw 0 0" >> /etc/fstab
free
cd
===================================================
Updating the Ubuntu system
sudo apt-get -y update
sudo apt-get upgrade
sudo apt-get dist-upgrade
Installing the GIT process to download the Wallet Code
Code:
sudo apt-get install git
Installing the DIG to identify your IP Address
Code:
sudo apt-get install dnsutils
Installing the libraries to load to load the PNX Wallet
Code:
sudo apt-get install build-essential libssl-dev libboost-all-dev git libdb5.3++-dev libminiupnpc-dev screen
First, let's create a specific folder for PNX and give permission
Code:
sudo mkdir /wallets
sudo chmod 777 /wallets
Downloading the Github Code
Code:
cd /wallets
git clone
https://github.com/phantomxdev/phantomx.gitCompiling the code maybe this process will take long time running
Code:
cd /wallets/phantomx/src/leveldb
chmod +x build_detect_platform
cd /wallets/phantomx/src
sudo make -f makefile.unix
Copying the bin to the main folder
Code:
cd /wallets
cp /wallets/phantomx/src/phantomxd /wallets/phantomx/
This step will allow to save the data like wallet.dat, phantomx.conf and blockchain data in a specific folder into the dir
Code:
mkdir /wallets/phantomx/wallet
Creating the CONFIG file authorizing the Proof-of-Stake mode
Code:
vi /wallets/phantomx/wallet/phantomx.conf
PUT THE CONFIG FILE YOU GET IN WINDOW WALLET INTO THE VPS CONFIG WINDOW
rpcallowip=127.0.0.1
rpcuser=REPLAVEME = any username you chose
rpcpassword=REPLACEME = any name you chose not the same with username
staking=0
server=1
listen=1
port=REPLACEMEWITHYOURPORT
masternode=1
masternodeaddr=41.12.294.338:12345
masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
TIPS:
To insert these lines using VI EDITOR, press:
"i": to insert
"SHIFT + INSERT or RIGHT CLICK" to paste the code above
"Click ESC after that Click SHIFT ZZ": to save and leave from edit mode
Starting the Wallet FOR masternode activated
Code:
/wallets/phantomx/phantomxd -datadir=/wallets/phantomx/wallet -daemon -server
Waiting the BLOCKCHAIN update with the EXPLORER.
1 - Open the EXPLORER:
http://HTTP://EXPLORER.PHANTOMX.CO2 - Check the latest number of block
3 - Run the command bellow and the look the number on the parameter BLOCKS:
Code:
/wallets/phantomx/phantomxd -datadir=/wallets/phantomx/wallet getinfo
the wallet is take long to SYNC with BlockChain im not expert in Linux if some one good
in Linux should edit this Guide and add more comman in linux code FOR PNX BLOCKCHAIN BOOTRAP...
YOU HAVE FINISH SETUP VPS NOW GET BACK TO WINDOW WALLET UNLOCK THE WALLET IF YOU HAVE PASSWORD CLICK ON THE MASTERNODE PMN1 CLICK START YOU WILL SEE MASTERNODE SUCESS START
TIP YOU WANT TO RUN MULTI MASTERNODE JUST CREATE NEW PMN2 AND ADD SOME THING LIKE THIS TO THE VPS CONFIG LINE
rpcallowip=127.0.0.1
rpcuser=REPLAVEME = any username you chose
rpcpassword=REPLACEME = any name you chose not the same with username
staking=0
server=1
listen=1
port=REPLACEMEWITHYOURPORT
masternode=1
masternodeaddr=41.12.294.338:12345
masternodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
masternodeaddr=41.12.294.338:12346
masternodeprivkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx