Skip to content

simplepospool/goldpoker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,393 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gold Poker Coin Masternode Installation Guide

Installing a GPKR masternode on a Linux server running Ubuntu 16.04.:

  1. Connect to your VPS via command line and enter the following code:
wget -q https://gold-poker.com/latest/gpkr_install.sh && chmod +x gpkr_install.sh && ./gpkr_install.sh
  1. Wait for the installation to finish and let the script generate a private key (genkey) for you.

  2. Create a new text file in your editor. Chose an alias for your masternode (MN1 for example) and copy the ip:port and genkey from the installation outputs and paste it after the alias so it looks like this:

MN1 ip:port genkey
  1. Wait until the blockchain is fully synced. You can check the block count with:
gpkrd getblockcount

or

gpkrd getinfo

and compare it to the current block number on https://explorer.gold-poker.com/ or in your wallet under Help > Debug window > Information


Preparing and setting up the GPKR desktop wallet

Now that your coin daemon on VPS is up and running, it is time to configure the desktop wallet. The following steps will show you how to do it:

  1. Open up the Gold Poker Coin desktop wallet.

  2. Go to "Settings > Options > Display" ("Preferences > Display" for MAC) and make a checkmark at "Display coin control features (experts only!)".

  3. Now we need to edit the wallet configuration file (gpkr.conf) which you will find here:

Windows

C:\Users\Username\AppData\Roaming\Gpkr

Tip: It is easier to locate the folder when you have the displaying of hidden files activated (search in google for: show hidden files in windows).

MAC

/Users/Username/Library/Application Support/Gpkr

Tip: It is easier to locate the folder when you have the displaying of hidden files activated. To show hidden files on MAC OS X open up the terminal and type:

defaults write com.apple.finder AppleShowAllFiles YES
killall Finder
  1. Right click on the gpkr.conf file and open it up in a text editor. Then paste the following line at the end of the file:
mnconflock=1

Save and close the file.

  1. Now open up your wallet again, go to the Receive tab and create a New Address: MN1. Right click on the newly created address and select "Copy Address".

  2. Switch to the Send tab and send exactly 33,333 GPKR to this address.

  3. Go to the Transactions tab and wait for the first confirmation.

  4. Open up Help > Debug window > Console and type:

masternode outputs
  1. Copy the txid (first part) and the index (second part: 0 or 1) of the output and paste it in the text file where you inserted your ip:port and private key before so it looks like this:
MN1 ip:port genkey txid index

Mark the line and copy it.

  1. Now go to the folder where your gpkr.conf is located at, open up the masternode.conf file with your editor and paste the masternode configuration line at the end of it (Note: If the file doesn't exist already, create it with your text editor and make sure you save it with the .conf extension).

Save and close the file.

  1. Restart your wallet.

  2. Once the transaction has 20 confirmations switch to the Send tab and click on "Inputs ..." under Coin Control Features. Switch to "List mode", right click your masternode transaction and select "Unlock unspent".

  3. Now switch to the Masternodes tab, click Update, select the masternode you want to start and press "Start". You will now get a message that the masternode has been successfully started. Click on "Update" again to see that your Masternode is Running.

  4. Go to the Coin Control Features again, switch to "List mode" and set "Lock unspent" on your masternode transaction again.

  5. To double check that your masternode is properly running, switch back to your VPS and type:

gpkr-cli masternode status

You should receive "Status 9: Masternode is running remotely".

Congratulations, you have just set up your first GPKR masternode!

IMPORTANT: Always make sure your masternode transactions are locked before you send coins, else it might destroy the transaction and you have to set it up again.

If you want to set up multiple masternodes:

Create a new address for the Masternode (e.g. MN2). Follow the steps 6 - 9. Then go to your Coin Control Features and lock the newly created masternode transaction. Repeat those steps for each additional masternode.

VPS commands:

gpkr-cli getblockcount
gpkr-cli getinfo
gpkr-cli masternode status

Also, if you want to check/start/stop Gpkr, run one of the following commands as root:

Ubuntu 16.04:

systemctl status GoldPoker.service #To check the service is running.
systemctl start GoldPoker.service #To start the service.
systemctl stop GoldPoker.service #To stop the service.
systemctl is-enabled GoldPoker.service #To check whetether the service is enabled on boot or not.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages