Configure Masternode

How do I configure a masternode? Saving
 

Use the following instructions to set up a masternode for a Quark based currency on Ubuntu Server 18.04.
Make sure you have the following requirements.
- Amount of coins required to configure the masternode (12,000,000 SVI).
- A wallet to store your coins.
- A server or VPS.


Prepare your VPS
Install Ubuntu Server 18.04 on a VPS.
Update your Ubuntu machine.
sudo apt-get update
sudo apt-get upgrade


Install the required dependencies:
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libboost -all-dev libboost-program-options-dev
sudo apt-get install libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler unzip software-properties-common


Install Berkeley DB.
sudo add-apt-repository ppa: bitcoin / bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8 ++ - dev

Download the necessary files by running the following:
wget 140.82.6.165/saving.zip -O saving.zip

When downloaded, run this to extract the file directory:

unzip saving.zip

Then run:

chmod a + x savingd saving-cli saving-tx

Then run:

sudo mv savingd saving-cli saving-tx / usr / bin /


Then you must exit the directory:

cd ..

Create the configuration file.
mkdir $ HOME / .saving
nano $ HOME / .saving / saving.conf
Paste the following lines into saving.conf.
# ----
rpcuser = jsaving
rpcpassword = svi
rpcallowip = 127.0.0.1
# ----
listen = 1
server = 1
daemon = 1
maxconnections = 64
# ----
# masternode = 1
# masternodeprivkey =
externalip = REPLACE_WITH_EXTERNAL_IP_OF_VPS
# ----


Leave the "masternode" and "masternodeprivkey" fields commented.
Replace the text "REPLACE_WITH_EXTERNAL_IP_OF_VPS" with the external IP address of your VPS.

P.EJexternalip = 136.144.171.201
Then save the file: press F3 then enter, and then ctrl x to exit
Start your node with the following command.
savingd


Wait until the blockchain is downloaded.


Meanwhile in your local wallet:
Open your wallet from your local computer or other vps where you have such wallet, configure by placing the saving.conf file in the folder created when you run wallet saving the first time, then close the wallet and reopen, and wait until your wallet has downloaded the blockchain.
Go to "Tools".
Click on "Debug Console".
This is the console where you will execute all the commands.

 

Create a new masternode private key.
createmasternodekey


Example output
7VatfYVk5fFMTymPDhgSURAESDACJhWpd89WHGoh35d9fbLQPj5


Show your collateral address.
getaccountaddress "mn1"

Example output
SDC99hZmSmYEcBu4WcxA2TCT6KBqHB6Hos


Transfer the required amount of coins to the "collateral address" you created using the command "getaccountaddress" mn1 ".
Wait until the transaction has the required masternode commits. (20 confirmations)


After the confirmations, go to "Tools".
Click on "Debug Console".
Enter the following command.
getmasternodeoutputs


Example output

[
  {
    "txhash": "506a242ccbfd2555bcd9cff5f4041752c911f39cb2905acc83ccfe0cf8808df9",
    "outputidx": 1
  }
]


Go to "Tools".
Click "Open Masternode Configuration File". If it doesn't open, go to the folder created when executing the wallet saving, there you will find the file “masternode.conf” open and:
Modify the following line and paste it in the notebook.
 mn1 136.144.171.201:9999 7VatfYVk5fFMTymPDhgSURAESDACJhWpd89WHGoh35d9fbLQPj5 506a242ccbfd2555bcd9cff5f4041752c911f39cb2905acc83ccfe0cf8808df

MN1 - Alias for your masternode.
136.144.171.201: external IP address of your VPS.
9999 - Replace with the P2P port of your coin.
7VatfYVk5fFMTymPDhgSURAESDACJhWpd89WHGoh35d9fbLQPj5 - Masternode private key of the "createmasternodekey" command.
506a242ccbfd2555bcd9cff5f4041752c911f39cb2905acc83ccfe0cf8808df9 - Value "txhash" of command "getmasternodeoutputs".
1 - Value "outputidx" of the command "getmasternodeoutputs".


Save the file and close the notebook.
Close your wallet.

Now go back to your VPS:
Register your masternode
Put the masternode private key in your masternode's configuration file and uncomment the "masternode" and "masternodeprivkey" values.
Configuration example (this is just an example, it should be with your data)
# ----
rpcuser = jsaving
rpcpassword = svi
rpcallowip = 127.0.0.1
# ----
listen = 1
server = 1
daemon = 1
maxconnections = 64
# ----
masternode = 1
masternodeprivkey = SVatfYVk5fFMTymPDhgSURAESDACJhWpd89WHGoh35d9fbLQPj5
externalip = 136.144.171.201
# ----

Then save the file: press F3 then enter, and then ctrl x to exit.

Restart your masternode with the following commands.
saving-cli stop

savingd

Go back to your wallet Saving. Open your wallet.
Go to settings. "
Click on "Unlock Wallet".
Enter your wallet passphrase and unlock your wallet.
Go to "Tools".
Click on "Debug Console".
Start your masternode with the command
startmasternode alias false mn1


Your masternode is now registered and will appear in the masternode list.
You can check the status of your masternode with the command "getmasternodestatus" in the vps.
saving-cli getmasternodestatus


Example output

{
  "txhash": "506a242ccbfd2555bcd9cff5f4041752c911f39cb2905acc83ccfe0cf8808df9",
  "outputidx": 1,
  "netaddr": "136.144.171.201:9999",
  "addr": "TDC99hZmSmYEcBu4WcxA2TCT6KBqHB6Hos",
  "status": 4,
  "message": "Masternode successfully started"
}

Your Saving masternode must be working properly. Just wait for rewards to start coming.
 

 2020 By Saving project

Created with Wix.com

This site was designed with the
.com
website builder. Create your website today.
Start Now