Tutorial : How to create your own node on NULS on linux

in #nuls6 years ago (edited)

Hello,

Did you know that anyone can create a node on NULS to help secure the network and earn money ? NULS is a POC coin, it's like POS but with a credit rating.

Requirements :

20 000 NULS to create the node
Linux server or VPS (Minimum 8 Gb of ram, 100 Gb SSD, 6 CPU, 100 mbps)
200 000 NULS to activate the node (This can come from anyone, from other stakers or from you).

Get a server :

Rent a server or VPS at your favorite hosting company.
I installed Debian 9 64, any other linux system should work fine too.
Get the root password and IP of your server.

Open the terminal on your computer :


Connect to your server by typing :
ssh root@YOURSERVERIP

Example :
ssh [email protected]


When asked copy and paste your root password in the terminal.


Install dependencies and upgrade your system

apt-get update
apt-get install screen
apt-get install tar
apt-get install gz
apt-get install zip
apt-get dist-upgrade


You will now add a new user as we wont be using root anymore

adduser yourusernamehere

Then click Enter and type your desired password then click Enter until the new user is added.


Exit the connection from root by typing :

exit


Connect to your new user by using the username and password you previously selected

ssh yourusernamehere@YOURSERVERIP

Then enter your password when asked.


Go to this url to get the latest NULS release for linux, get the url and use wget to download it on your server.

https://github.com/nuls-io/nuls/releases

wget fullurlofthefilehere.tar.gz

Then launch this command to untar/unzip your wallet

tar -zxvf fullurlofthefilehere.tar.gz

Use the command dir to see if you now have the files

dir


To start the node simply type these commands

cd bin
sh start.sh

Your node is now started.

You can enter the command line center if you wish by typing these commands

sh cmd.sh
help

Then type exit to exit the command center and type exit again to exit the server connection.

exit
exit


Create a tunnel from your terminal on localhost to connect to your wallet

ssh -N -L localhost:6001:localhost:6001 IPOFYOURSERVER

YOURUSERPASSWORD

Open Chrome and go to this address :

http://127.0.0.1:6001/#/*

Your wallet should be syncing nicely.
While the tunnel is open do not go to any other website as this is a security risk.
Once you are done with your work on the node close the tunnel by exiting the terminal and make sure the tunnel is close.

Once your wallet is synced you can go to the wallet and import your node private key

You might be thinking where do you obtain the node private key, and that's a very good question.

You will have to create an agent node packing address on your computer wallet first.

When you are on your local wallet on your computer you will have to create 2 accounts and you will get 2 private keys (backup those private keys like your life depend on it), one will contain 20000 NULS (that you will certainly have to send from an exchange like Binance) and the other address (account) will be empty.

You now have 2 NULS addresses :

  1. Address one has 20 000 NULS.
  2. Address two has 0 NULS and it's the packing address.

Then you can create the agent node with your account that has 20000 NULS, you will select an address to be the packing address, and that's your node packing address that has 0 NULS coins. Once it's created it will show on https://nuls.world/consensus as "waiting".

Then that's when you exit your local wallet and you create a tunnel from your node wallet to import the packing address (the account with 0 NULS in it) and your node will be operational.

On nuls.world the node will still show as pending until you have 200 000 NULS coins staked in it. If someone stake 200 000 NULS coins in your node and you didn't install your node correctly then you will get yellow cards, if you get 100 yellow cards consecutively you will get a red card and your coins will be locked for a period of time.

IMPORTANT : The private key of the packing address doesn't contain any NULS, it's impossible to be hacked even if your server is compromised.

How much money will you make ?

The more stakers you have the best as normally a NULS node charge a 10% commission from stakers.
You will get a staking reward every 15 min approx. Your credit will rise slowly, the higher your credit the more rewards you will get. It takes 100 full rounds to get to POC 1.

Nodes can have up to 500 000 NULS staked in it, at 10% commission that's like you are staking 50 000 NULS yourself.
You can use nuls.world calculator to know how much money that would be. Please note that the calculator assumes that you are a staker, so for example if you input 50 000 NULS in the calculator it's going to deduct the 10% commission, as a node owner you have no commissions to pay, so you can input 55 000 NULS instead.

At today's rate if you had a full node (500 000 NULS) + your 20 000 NULS for the deposit you would earn 12216.44 NULS per year. That's over 60% ROI !

Sort:  

To listen to the audio version of this article click on the play image.

Brought to you by @tts. If you find it useful please consider upvoting this reply.

Congratulations @najoh! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 6000 upvotes. Your next target is to reach 7000 upvotes.

Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @steemitboard:

SteemitBoard notifications improved

Support SteemitBoard's project! Vote for its witness and get one more award!