Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Las Vegas coin (VGS) *LIMXDEV COIN* ONLY 330,000 coins. 1000 coins for MN
by
vegasguy
on 21/03/2018, 16:39:23 UTC
If you want to write a script to help them setup their ubuntu VPS  200 Las Vegas coins for that.

...Ahem.

https://github.com/goosewobbler/vps

So I've been helping some people out in Discord DMs with this, might as well post proper instructions here.  The following sets up one node called lasvegas_node1, and assumes you know how to send yourself funds with a wallet, and can use the linux editor vim.

Instructions (assumes one node called lasvegas_node1)






Enter the following commands:

Code:
masternode genkey

The result of this is your MN private key.  You need it later.

Code:
masternode outputs

The result of this is your MN transaction id and index in the format "{tx_id}": "{index}".  You need those later.



Add the following details in this file in the following format:

Code:
lasvegas_node1 {VPS IP address}:60702 {MN private key} {MN transaction id} {MN transaction index}

Save the file and close the wallet.  Open the wallet again.


Run the following commands to compile and install the VPS wallet:

Code:
git clone https://github.com/goosewobbler/vps.git && cd vps && ./install.sh -p lasvegascoin -n 4 -c 1

Now edit the VPS wallet config file:

Code:
vim /etc/masternodes/lasvegascoin_n1.conf


Insert your private key and the IP address of the VPS in the appropriate places and save the file.



Now activate the node locally:

Code:
/usr/local/bin/activate_masternodes_lasvegascoin

You will need to wait for the VPS wallet blockchain to fully sync before you can start the node remotely.  
Keep running this command, eventually the value of 'blocks' will stabilise:
 
Code:
/usr/local/bin/lasvegascoin-cli -conf=/etc/masternodes/lasvegascoin_n1.conf getinfo

Can someone confirm this , so I can pay the bounty?



The value of 'blocks' will increase until it reaches the 'up to block' value on the block explorer:

https://chainz.cryptoid.info/vgs/#

When the VPS wallet is fully synced, you can start the node remotely:


My Masternodes => Start MISSING>

You can verify the status of the VPS wallet and masternode with the following:


Code:
/usr/local/bin/lasvegascoin-cli -conf=/etc/masternodes/lasvegascoin_n1.conf masternode status


Disclaimer

  • This has been tested with Vultr Ubuntu 16.04 instance ($5/month).  The $2.50 instances should be fine for a single node but they are always sold out in my region.
  • Don't use IPV6 addresses, I have yet to see the script work with those for any coin.
  • The script supports more than one node per VPS instance but I prefer to keep mine separate so haven't tested that.
  • This is not my script, but I did the LasVegasCoin integration amongst others, this should be merged upstream when Florian gets to my PR, it's been sat there a while with the others.  Seems he's busy messing around with Achilles Coin Roll Eyes
  • PR for the geeks/interested:
    https://github.com/masternodes/vps/pull/31

Sign up for Vultr here:  https://www.vultr.com/?ref=7282546

VGS address:  VMATmN4BZRSTNES5dpzz34pC7EFJLnWh1F