Advertisement
Guest User

GMCN TN MN

a guest
Mar 21st, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.32 KB | None | 0 0
  1. +++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++
  2.  
  3. This guide is for an Ubuntu 16.04 VPS TESTNET Masternode.
  4. Other distributions may need different commands or steps than mentioned below.
  5.  
  6. Things you'll need:
  7. 1. 10,000 PIV
  8. 2. A locally compiled wallet for control purposes.
  9. 3. A VPS. I recommend Vultr for this.
  10.  
  11. +++BEFORE YOU UNLOCK YOUR WALLET++
  12. >GambleCoin Core
  13. >Tools
  14. >Debug Console
  15. > enablezeromint=0 in debug console to prevent the wallet from eating your coins.
  16. [Alternatively, you may also go to Settings > Options > Uncheck 'Enable zGMCN Automint']
  17.  
  18. In the Debug Console:
  19.  
  20. masternode genkey
  21.  
  22. The genkey address will be used to identify your server to the wallet. Save this.
  23.  
  24. getaccountaddress <Masternode name>
  25.  
  26. This will create a second wallet address specifically for your Masternode.
  27.  
  28. In the GambleCoin Core Wallet, go to the Send tab.
  29. Click File > Receiving Addresses
  30. Copy your masternode wallet address.
  31. Paste this address into the 'Pay To:' line, and type 10000 as the amount.
  32. Send exactly 10,000 to this address. The wallet will ask you if you want to pay the TX fee. Confirm.
  33. ---Be absolutely sure your wallet address is correct, because you cannot recover lost funds---
  34.  
  35. Now you may need to wait a few minutes for the transaction to be confirmed before progressing.
  36.  
  37. In the Debug Console:
  38. > masternode outputs
  39.  
  40. If it doesn't generate anything, then your transaction is still confirming.
  41.  
  42. It should generate a tx number and a step number below it. Both will be between quotations, like so "0"
  43. This is pretty important for your setup, so you should save both the long string and the single digit number.
  44.  
  45. Go back to GambleCoin Core and click 'Tools' and follow to 'Open Masternode Configuration File'
  46. Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index
  47.  
  48. A completed node configuration will look like:
  49. MN1 31.14.135.27:13000 892WPpkqbr7sr6Si4fdsfssjjapuFzAXwETCrpPJubnrmU6aKzh c8f4965ea57a68d0e6dd384324dfd28cfbe0c801015b973e7331db8ce018716999 1
  50. <Alias> <VPS IP:Port> <masternode genkey> <masternode outputs>
  51.  
  52.  
  53. VPS Remote Wallet Installation
  54.  
  55. From your home directory:
  56.  
  57. wget https://github.com/GambleCoin-Project/GambleCoin/releases/download/1.0.0/gamblecoin-1.0.0-x86_64-linux-gnu.tar.gz
  58.  
  59. The current release will change periodically. The project link is https://github.com/GambleCoin-Project/GambleCoin/releases
  60.  
  61. Unzip and extract using the following command:
  62.  
  63. tar -zxvf gamblecoin-1.0.0-x86_64-linux-gnu.tar.gz
  64.  
  65. Go to your new GambleCoin directory
  66. cd ~/gamblecoin-1.0.0/bin
  67.  
  68. To generate the proper files, you'll need to activate the daemon.
  69.  
  70. ./gamblecoind
  71.  
  72. Give it a couple of minutes and CTRL + Z out.
  73.  
  74. From your ~/gamblecoin-1.0.0/bin directory
  75.  
  76. cd ~/.gamblecoin
  77. nano gamblecoin.conf
  78.  
  79. ===================================
  80.  
  81. rpcuser=long random username
  82. rpcpassword=longer random password
  83. rpcallowip=127.0.0.1
  84. listen=0
  85. server=1
  86. daemon=1
  87. logtimestamps=1
  88. maxconnections=256
  89. masternode=1
  90. externalip=VPS IP Address
  91. bind=VPS IP Address
  92. masternodeaddr=VPS IP Address:13000
  93. masternodeprivkey=<masternode genkey from earlier>
  94.  
  95. ===================================
  96.  
  97. Restart your GambleCoin Core Wallet on your primary machine (not the VPS)
  98.  
  99. Start the daemon client in your VPS with the following commands.
  100.  
  101. cd ~/gamblecoin-1.0.0/bin
  102. ./gamblecoind
  103.  
  104. GambleCore Wallet Debug Console:
  105. startmasternode alias false <yourmasternodealias>
  106.  
  107. It should show the following:
  108. where <mymnalias> is the name of your masternode alias (without brackets)
  109.  
  110. The following should appear:
  111. “overall” : “Successfully started 1 masternodes, failed to start 0, total 1”,
  112. “detail” : [
  113. {
  114. “alias” : “<mymnalias>”,
  115. “result” : “successful”,
  116. “error” : “”
  117. }
  118.  
  119.  
  120. In your VPS terminal:
  121.  
  122. ./gamblecoin-cli startmasternode local false
  123.  
  124. {
  125. “txhash” : “334545645643534534324238908f36ff4456454dfffff51311”,
  126. “outputidx” : 0,
  127. “netaddr” : “45.11.111.111:51472”,
  128. “addr” : “D6fujc45645645445645R7TiCwexx1LA1”,
  129. “status” : 4,
  130. “message” : “Masternode successfully started”
  131. }
  132.  
  133. Congratulations! You have successfully created your masternode!
  134.  
  135. +++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++TESTNET+++++++++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement