SnowGem masternode (setting xsg mastrernode) – full instructions. Win + ModernWallet + Linux

SnowGem masternode (setting xsg mastrernode) – full instructions. Win + ModernWallet + Linux

Blockchain
September 19, 2019 by admin
158
snowgem masternode setup installation xgs

There are several ways to configure and launch a masternode. This method requires a dedicated Linux VPS server, on which the masternode will be located.

This instruction describes creating a masternode using ModernWallet. The site has instructions for SimpleWallet: here .

Your funds necessary to run the masternode will remain on your local computer, in your wallet.

Друзья, единомышленники, коллеги! Если Вы еще не определились с хостингом:
TimeWeb - зарегистрируйтесь по ссылке и получите 300 рублей на счёт!
Один из самых удобных и надёжных хостингов в России!

SnowGem Coin Masternode Step-by-Step Guide (XSG)
(Windows Wallet ModernWallet + Linux VPS)

System requirements for VPS.

One XSG masternode for correct operation requires at least 1024 RAM or more (more – we’ll do it with a swap file, buying is not economically feasible), 1 CPU core , at least 20 GB HDD, Ubuntu OS.

The preparatory process, what you need:

  1. Download and install the local SnowGem wallet ( Modern Wallet ).
  2. Run and wait for full synchronization with the network.
  3. You must have at least 10,000 XSG + 1 XSG to pay for transaction fees.
  4. Paid VPS or VDS server. I use VDS from TimeWEB – no problem, everything works stably.
  5. Download and install Putty SSH client .
  6. A text file for recording data during the configuration process.
  7. Tea coffee 🙂
  8. The ability to accurately and clearly follow the instructions!

Go!

There are 2 ways to configure the XSG masternode. The first is manual, useful for understanding what is happening and self-development. The 🙂second method uses an auto-tuning script.
Both of these methods have been created and tested for Ubuntu OS. In this guide, let’s go the first way🙂

1. Creating a masternode address (ALIAS) and replenishing the address.

– Open SnowGem Modern Wallet, copy the address, which will be used masternodoy, the address to which you will transfer an amount of 10,000 XSG ( DO NOT USE Z addresses for this purpose! )
– Send amount EXACTLY in 10,000 XSG an address for masternody.

At this stage, when trying to transfer funds to a wallet, an error may occur: “ bad-txns-oversize ” . Usually this error occurs when trying to transfer funds from the wallet to which you mined, in connection with which, the funds came in small amounts, but a large number of transactions.

To solve the problem, try to accumulate funds in a new wallet, transferring small amounts, but gradually increasing the amount of transactions.

Example:

  1. There is one wallet X , which was mined + bought 10,000 XSG .
  2. Because for masternody need a new purse, to which the sum of 10,000 XSG should get a single transaction, wallet X is not suitable – it means creating a new: the Y .
  3. When you try to transfer 10,000 XSG from wallet X to wallet Y, you get the error: “ bad-txns-oversize ” .
  4. So translate from X to Y – 1,000 XSG . Happened? Repeat. Did not work out? Try a smaller amount until it starts to work out. If you start to get from 10 or 50 , you can try to increase the amount of each subsequent transaction.
  5. After all the coins are in wallet Y ( 10,001 XSG !), Create a new wallet K (simply because it is not Z !) And already transfer EXACTLY 10,000 XSG to it in one transaction!

You must wait 15 transaction confirmations to continue .

2. Getting the Masternode Private Key and Masternode Outputs.

In the wallet, go to the “ Masternodes – Masternodes Setup ” tab and click “ Generate Masternode Data ”.

If you did everything correctly in the previous steps, you will see a message whose contents you need to copy to notepad!

Copy the appeared key to a notebook! It looks, for example, like this: 5JJaWWprqeNLwEYd5JucbUne68m51yumu5Peen5j5hrg4nrjej4

The appeared “exit” is copied to a notebook! The “outputs” look something like this: 8b70363be7e585dde357124e67b182da25053d2f45c8454t4t45e4r5edddgdr4 0

At the end of 0 or 1, with a space!

Here is a message you will see if: transferred the missing amount to create a node; not transferred to a new address; transferred by more than one transaction; 15 confirmations did not wait!

3. Configuring a masternode in a local wallet

On the “ Masternodes Setup ” tab, fill in the fields and enter the data obtained in the previous steps there.

  • Alias ​​name – the name of the masternode, whatever you want. Latin letters, no spaces!
  • VPS IP – ip address of your VPS server;
  • Private Key – the private key obtained in step 2;
  • Transaction ID – outputs obtained in step 2 (without 0 or 1 at the end!);
  • Index – 0 or 1 obtained in step 2.

Filled in? Press the “ Setup “ button . A message appears about the need to restart the wallet – agree.

If it closes, but it does not start, it happens, run it yourself.

After restarting, the masternode should appear in the list of local masternodes.

The first part is over!

4. Preparing and configuring VPS

Using the Putty client, log in to your VPS server.

For those who do not know at all: embed in Putty – just by right-clicking! Password for copy paste – not displayed. Right-clicked – press enter🙂

putty 300x293

After you log in to the server, execute the following commands (just copy and paste, here and until the end of the article: 1 line = 1 command!) :

sudo apt-get update
sudo apt-get -y install build-essential pkg-config libc6-dev m4 g ++ – multilib autoconf libtool ncurses-dev unzip
sudo apt-get -y install git python python-zmq zlib1g-dev wget bsdmainutils automake curl unzip nano vim
mkdir ~ / .snowgem
touch ~ / .snowgem / snowgem.conf
nano ~ / .snowgem / snowgem.conf

5. Transfer of snowgem.conf settings from the local wallet to VPS

In the local wallet, in the list of masternodes, select the one that you configure Actions -> Copy Config:


Paste (right click) in the putty window :

conf 1
To save and exit, use the key combination: Ctr + X , after which, to the question of saving: Y , then Enter .

6. Create alias data

In the putty window, execute the commands:

touch ~ / .snowgem / masternode.conf
nano ~ / .snowgem / masternode.conf

In the local wallet, in the list of masternodes, select the one that you configure Actions -> Copy Alias: Paste (right-click) in the putty window:

masternode

To save and exit, use the key combination: Ctr + X , after which, to the question of saving: Y , then Enter .

Settings are completed, proceed to the next step.

7. Downloading and compiling a wallet

In the putty window, execute the commands for downloading and unzipping wallet settings files:

wget https://github.com/Snowgem/SimpleWallet/releases/download/2.0.0f/snowgemparams.zip -N
unzip -o snowgemparams.zip -d ~ /

Configure virtual memory – 4gb:

sudo fallocate -l 4G / swapfile
sudo chmod 600 / swapfile
sudo mkswap / swapfile
sudo swapon / swapfile

Enabling constant use of the swap file (not necessary, but will not be superfluous):

You have configured the swap file to 4gb, and it is currently on. But in case of a server reboot, it will not connect automatically. And in order to no longer return to this question, we will add a line to the fstab file:

sudo nano / etc / fstab

At the end of the file, add a line that will inform the operating system about the automatic use of the swap file that you created:

/ swapfile none swap sw 0

Next, compile the wallet.

The wallet is compiled directly on your VPS to ensure maximum compatibility with the server and the operating system:

git clone https://github.com/Snowgem/Snowgem.git snowgem-wallet
cd snowgem-wallet
chmod + x zcutil / build.sh depends / config.guess depends / config.sub autogen.sh share / genbuild.sh src / leveldb / build_detect_platform
./zcutil/build.sh —disable-rust

There must be two dashes (-) before the disable-rust! For some reason, this site layout replaces with a minus …

The process has begun, the lines have run … The process is long, you can drink some tea 🙂It takes up to 30-40 minutes , depending on the speed of your server.

After compilation is completed, run the following command to start the wallet:

./src/snowgemd -daemon

Then you need to wait until the wallet synchronizes with the network (the same process as for the local wallet – have patience).

To check the synchronization process, use the command:

./src/snowgem-cli masternodedebug

If the answer is: “ Not capable masternode: Hot node, waiting for remote activation. ”- you can proceed to the next step.

8. Starting a masternode

Now go to the local wallet, select your alias and click Actions -> Start “.

A success message should appear.

Your masternode is up and running! After a while, the masternode will appear in the general list.

In the putty window, execute the commands:

./src/snowgem-cli masternodedebug

If the answer is “ Masternode successfully started “, you have completed the setup.

The first payments begin about a day after the launch of the masternode.

  • zelcashZelCash (ZEL) $ 0.045699 2.63%
  • ycashYcash (YEC) $ 0.272465 3.89%
  • bitcoinzBitcoinZ (BTCZ) $ 0.000108 9.57%
  • bitcoin-privateBitcoin Private (BTCP) $ 0.119406 5.32%
  • hushHush (HUSH) $ 0.070457 0.05%
  • snowgemSnowGem (XSG) $ 0.018750 0.38%
  • bithereumBithereum (BTH) $ 0.008934 21.36%