You are on page 1of 6

Phobos Masternode Set-up Guide.

CONTENTS:

1 Requirements for a Masternode.

2 Configuration of the main wallet.

3 Setting up VPS server.

4 Initiating Masternode.

1 Requirements for a Masternode.


1. 5000 Coins as a collateral for the masternode.
2. VPS.

2 Configuration of the main wallet.


1. Run the wallet, click tools tab and select “Debug Console”.
2. Type in Debug Console
#CODE: createmasternodekey
[This is the masternode private key] (A)

3. Type in Debug Console


#CODE: getaccountaddress MN1
[This is the MN public address, the public address to deposit 5000 PBS in one
single input] (B)
4. After sending 5000 PBS to the above public address (B). Type in Debug
Console:
#CODE: masternode outputs
[The first string will be the transaction hash (C) and the last digit is the index (D)]

3 Setting up VPS Server.


1. Select a VPS Server with minimum 1GB Ram, 25 GB Storage and high
bandwidth allowance. I prefer Vultr 5$ Plan.
2. Install Putty and SSH into the server.
3. Add a new user in the server.
#CODE: adduser user1 (provide a strong password and leave all the other
details blank)
#CODE: usermod -aG sudo user1
4. Reboot the server and login with the new user as root.
#CODE: sudo -i
5. Update the server, install pwgen.
#CODE: apt update
#CODE: apt upgrade
#CODE: apt install pwgen
6. Install ufw firewall and configure its setting.
#CODE: apt install ufw
#CODE: ufw allow ssh/tcp
#CODE: ufw limit ssh/tcp
#CODE: ufw allow 51572
#CODE: ufw logging on
#CODE: ufw enable
7. Installing PBS wallet.
#CODE:
wget https://github.com/Phoboscurrency/PBSCoin/releases/download/v1.0.0/pbs-1.0.0-x86_64-linux-gnu.tar.gz
#CODE:
tar -xvzf pbs-1.0.0-x86_64-linux-gnu.tar.gz
#CODE:
cd pbs-1.0.0/bin
#CODE:
./pbsd
[This command will try to start the server but will throw an error that pbs.conf is
not found, thus creating the file in the process]
8. Configure pbs.conf file.
#CODE:
cd ~

[Copy the below code in Notepad, edit masternodeprivkey and externalip then
paste it in the VPS terminal]

#CODE:

USERNAME=$(pwgen -s 16 1)
PASSWORD=$(pwgen -s 64 1)
cat << EOF > ~/.pbs/pbs.conf
rpcuser=$USERNAME
rpcpassword=$PASSWORD
rpcallowip=127.0.0.1
server=1
listen=1
daemon=1
maxconnections=64
masternode=1
masternodeprivkey=MN_PRIVATE_KEY_(A)
externalip=VPS_IP_ADDRESS:51572
addnode=45.76.143.123
addnode=45.77.255.46
addnode=107.178.113.226
addnode=77.163.35.167
addnode=212.237.4.165
EOF

9. Start the PBS server.


#CODE:
cd ~
#CODE:
cd pbs-1.0.0/bin
./pbsd
10. Check the status of block sync and MN running status.
#CODE:
./pbs-cli getinfo
#CODE:
./pbs-cli masternode status

4 Initiating Masternode.
1. Go to the main wallet, click on tools tab and select open masternode
configuration file.

2. Add a new line and enter the following and then save it.
#SYNTAX:
MN1 VPS_IP_ADDRESS:51572 MASTERNODE_PIRVATE_KEY_(A)
TRANSACTION_HASH_(C) INDEX_(D)

#EXAMPLE:
MN1 45.32.102.93:51572
93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg
2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0

3. Restart the wallet, go to Masternodes Tab and click enable Missing. This will
enable your Masternode.

You might also like