Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- +++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++
- This guide is for an Ubuntu 16.04 VPS TESTNET Masternode.
- Other distributions may need different commands or steps than mentioned below.
- Things you'll need:
- 1. 10,000 PIV
- 2. A locally compiled wallet for control purposes.
- 3. A VPS. I recommend Vultr for this.
- +++BEFORE YOU UNLOCK YOUR WALLET++
- >GambleCoin Core
- >Tools
- >Debug Console
- > enablezeromint=0 in debug console to prevent the wallet from eating your coins.
- [Alternatively, you may also go to Settings > Options > Uncheck 'Enable zGMCN Automint']
- In the Debug Console:
- masternode genkey
- The genkey address will be used to identify your server to the wallet. Save this.
- getaccountaddress <Masternode name>
- This will create a second wallet address specifically for your Masternode.
- In the GambleCoin Core Wallet, go to the Send tab.
- Click File > Receiving Addresses
- Copy your masternode wallet address.
- Paste this address into the 'Pay To:' line, and type 10000 as the amount.
- Send exactly 10,000 to this address. The wallet will ask you if you want to pay the TX fee. Confirm.
- ---Be absolutely sure your wallet address is correct, because you cannot recover lost funds---
- Now you may need to wait a few minutes for the transaction to be confirmed before progressing.
- In the Debug Console:
- > masternode outputs
- If it doesn't generate anything, then your transaction is still confirming.
- It should generate a tx number and a step number below it. Both will be between quotations, like so "0"
- This is pretty important for your setup, so you should save both the long string and the single digit number.
- Go back to GambleCoin Core and click 'Tools' and follow to 'Open Masternode Configuration File'
- Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index
- A completed node configuration will look like:
- MN1 31.14.135.27:13000 892WPpkqbr7sr6Si4fdsfssjjapuFzAXwETCrpPJubnrmU6aKzh c8f4965ea57a68d0e6dd384324dfd28cfbe0c801015b973e7331db8ce018716999 1
- <Alias> <VPS IP:Port> <masternode genkey> <masternode outputs>
- VPS Remote Wallet Installation
- From your home directory:
- wget https://github.com/GambleCoin-Project/GambleCoin/releases/download/1.0.0/gamblecoin-1.0.0-x86_64-linux-gnu.tar.gz
- The current release will change periodically. The project link is https://github.com/GambleCoin-Project/GambleCoin/releases
- Unzip and extract using the following command:
- tar -zxvf gamblecoin-1.0.0-x86_64-linux-gnu.tar.gz
- Go to your new GambleCoin directory
- cd ~/gamblecoin-1.0.0/bin
- To generate the proper files, you'll need to activate the daemon.
- ./gamblecoind
- Give it a couple of minutes and CTRL + Z out.
- From your ~/gamblecoin-1.0.0/bin directory
- cd ~/.gamblecoin
- nano gamblecoin.conf
- ===================================
- rpcuser=long random username
- rpcpassword=longer random password
- rpcallowip=127.0.0.1
- listen=0
- server=1
- daemon=1
- logtimestamps=1
- maxconnections=256
- masternode=1
- externalip=VPS IP Address
- bind=VPS IP Address
- masternodeaddr=VPS IP Address:13000
- masternodeprivkey=<masternode genkey from earlier>
- ===================================
- Restart your GambleCoin Core Wallet on your primary machine (not the VPS)
- Start the daemon client in your VPS with the following commands.
- cd ~/gamblecoin-1.0.0/bin
- ./gamblecoind
- GambleCore Wallet Debug Console:
- startmasternode alias false <yourmasternodealias>
- It should show the following:
- where <mymnalias> is the name of your masternode alias (without brackets)
- The following should appear:
- “overall” : “Successfully started 1 masternodes, failed to start 0, total 1”,
- “detail” : [
- {
- “alias” : “<mymnalias>”,
- “result” : “successful”,
- “error” : “”
- }
- In your VPS terminal:
- ./gamblecoin-cli startmasternode local false
- {
- “txhash” : “334545645643534534324238908f36ff4456454dfffff51311”,
- “outputidx” : 0,
- “netaddr” : “45.11.111.111:51472”,
- “addr” : “D6fujc45645645445645R7TiCwexx1LA1”,
- “status” : 4,
- “message” : “Masternode successfully started”
- }
- Congratulations! You have successfully created your masternode!
- +++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement