Tutorial Basic requirements:
Local system – your everyday computer, which will run Control wallet and hold the masternode coins
Remote Linux VPS (Ubuntu Server 18.04 for example) installed with unique IP address that is running 24/7
Minimum VPS specs: 20 GB of storage space, 2 GB of RAM, 1 dedicated CPU core
Latest PGO Core wallet release
100,000 PGO (good to have 100,001 to make sure you can cover transaction fee – with at least 15 confirmations)
(NOTE: You will need a different IP address for each masternode you plan to host.)
Download and install
Step 1 – Download PGO wallet
Download the most recent version of the PGO Core wallet here: https://github.com/pengolincoin/PengolinCoin-Core/releases/latest
Step 2 – Extract and install the wallet
Choose the proper version for your operating system. Extract it, install and run the wallet.
After starting the wallet for the first time, it will offer you to make a default PGO data directory.
Depending on your operating system, the default directory should be similar to:
WINDOWS --> C:\Users\YourUsername\AppData\Roaming\pengolincoin
LINUX --> /home/USER/.pengolincoin
Step 3 – Create a Masternode using your wallet « Creation Wizard »
First of all, make sure that you have 100,000 PGO in your wallet with at least 15 confirmations (in fact, 100,001 PGO to make sure you are able to cover the transaction fees).
- Unlock the wallet (icon in the top menu).
- Go to “Masternodes” tab (left menu).
- Click “Create Masternode Controller”.
- Masternode Creation Wizard intro window will open. It just reminds you that you need to have 100,000 PGO in your wallet in order to create a Masternode. Just click the “Next” button.
- Now you need to type the Masternode name. Choose a name (i.e. “Masternode01”) and then click “Next” button again.
- Now you will be asked to type the IP address of your VPS (it might look similar to “220.127.116.11”), and then click “Next” button again.
- If everything went successful, you should get a message “Master node created!”.
- Status of the newly created Masternode will be “MISSING”. That is normal in this phase.
We will get back here to Control wallet little bit later after we setup VPS.
VPS Remote wallet installation
These procedures are for a clean server install. If you have an existing installation then some steps may not be required. Performing the steps is unlikely to have any effect on the system. Securing the server has NOT been included in this tutorial. That is your responsibility. Although it’s not required, a great guide to assist you can be found here : https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-18-04
To be able to access a VPS from Windows, you’ll need a software/SSH client like PuTTY for example (https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe). You can choose between alternatives as well, but this tutorial will not include installation of such software. After you successfully login to your VPS, follow the further steps. On Linux, use the terminal.
Step 1 – Install most recent security patches
A clean server install will likely need some software updates. Enter the following command which will bring the system up to date:
sudo apt-get update && sudo apt-get -y upgrade
Step 2 – Download and extract PGO Core wallet for Linux
Enter the following command lines one by one to download and extract PGO wallet:
cd ~ && wget https://github.com/pengolincoin/PengolinCoin-Core/releases/download/v3.2.1/pengolincoin-3.2.1-pc-linux-gnu.tar.gz
tar xvfz https://github.com/pengolincoin/PengolinCoin-Core/releases/download/v3.2.1/pengolincoin-3.2.1-pc-linux-gnu.tar.gz
Step 3 – Create the masternode configuration file and populate
Before the node can operate as a masternode a custom configuration file needs to be created. Since we have not loaded the wallet yet, we will create the necessary directories and the configuration file by typing the following command lines:
mkdir ~/.pengolincoin && cd ~/.pengolincoin && sudo apt-get install nano && touch pengolincoin.conf && nano pengolincoin.conf
(We’re using Nano here, you may choose Vim or other editor…)
This command has created a blank pengolicoin configuration file where we will enter our masternode configuration variables. Now we should properly setup configuration settings.
Paste the following configuration settings into the editor (using PuTTY, paste is being done simply by right mouse click):
Before you exit the editor, there are 2 parameters that you need to update with your own settings. These are:
–> Set this to a custom username. i.e. rpcuser
–> Set this to a STRONG password. i.e. password (Well… this is an example: use something more complex for your own safety!)
Now go back to Control wallet in Masternode tab, click on the 3 dots next to Masternode you created few steps above and then click “Info“.
Now click icon next to “Export data to run the Masternode on a remote server“.
It will now ask you for a confirmation to export required data to run a Masternode. Click “OK” button.
Now you will get a message that required info was successfully exported (copied to your clipboard) and now you should paste it in your pengolincoin.conf file on your VPS under the maxconnections=256 line in pengolincoin.conf file.
After all, your pengolincoin.conf file on your VPS should look like:
Save and exit the Nano editor by pressing
CTRL-O and Enter to save
CTRL-X to exit the editor
Start your masternode (on VPS server)
Step 4 – Load the masternode
With the configuration created we are now ready to load the masternode and sync to the network. Load the masternode by typing the following command:
cd ~/pengolincoin-3.2.1-pc-linux-gnu && ./pengolincoind
You will get the message “PengolinCoin server starting”. To follow the progress until the wallet is fully loaded and synchronized, type:
tail -f ~/.pengolincoin/debug.log
Wait until you see the message similar to:
2020-07-10 09:53:21 CmasternodeSync::GetNextAsset – Sync has finished
2020-07-10 09:53:21 CActiveMasternode::ManageStatus() – not capable: Hot node, waiting for remote activation.
Once you get this message, you are completely synced and masternode is ready to be started.
Press CTRL-C to get back to command line.
Now go back to your Control wallet -> Masternodes -> Click the 3 dots then chose "Start"
Status will change from MISSING -> ACTIVE.
Now go back to your VPS and type:
./pengolincoin-cli startmasternode local false
If everything went well, you should receive the following message: “Masternode successfully started”
Congratulations! You have successfully started your masternode!
- if the output of getmasternodestatus is fine, then you are perfectly fine. But have in mind that it can take up to 2 hours for masternode to change status from ACTIVE to ENABLED in the masternode list.
- First masternode reward requires a longer waiting period. It usually takes from minutes to hours to receive a first masternode reward.
- You can close the Control wallet, as it is not needed. Only VPS should be working 24/7.
If you have any troubles or issues, feel free to join PengolinCoin Discord and post your question in #support channel.
DO NOT ever receive any help or assistance through private messages, as there are many scammers out there trying to steal your coins, even if they look the same as developers, admins or support staff. Every help ever will be provided through public channels.
Shutting down a Masternode
How do I stop running masternode on my VPS and delete masternode from my PGO Control wallet?
In Control wallet in Masternode tab click on Masternode you wish to shutdown and click “Delete”.
Restart the wallet.
Your 100,000 coins are now unlocked and spendable.
How do I get the 100,000 PGO back that i’ve send to my Masternode address at the beginning?
You don’t need to "get it back" as it is already in your wallet.
Being in the different address is not an issue as that’s also your address.
Can I use this 100,000 PGO normally on my wallet then again, and sell it or stake it normally like before?
Yes! If your wallet is unlocked for staking, it will automatically stake these 100,000 PGO coins and you can spend them at any time.