How can I set a masternode?

in niobiumcoin •  7 years ago 

How can I set a masternode?
You'll need: 1,500 NB, a fixed IP link (we recommend a VPS service) and allow TCP 55550 port.

Tested at Linux Ubuntu 16.04 x64

1 - First of all, compile your Niobium wallet, tutorial here: http://niobiumcoin.org/configuration.html

2 - Allow wallet to run in background:
Code:
nano ~/.Nb/Niobium.conf
and add this:
Code:
daemon=1
ex.:
Code:
daemon=1
listen=1
server=1
maxconnections=500
rpcuser=username
rpcpassword=password
port=55550
rpcport=55551
rpcconnect=127.0.0.1
rpcallowip=127.0.0.1
addnode=seed.niobiumcoin.org
addnode=seed1.niobiumcoin.org
addnode=seed2.niobiumcoin.org

3 - Goto folder SRC:
Code:
cd niobiumcoin/src

4 - Start and wait wallet sync.:
Code:
./Niobiumd
You can see the status with tail -f:
Code:
tail -f /home/youruser/.Nb/debug.log

5 - Get the new address for masternode:
Code:
./Niobiumd getaccountaddress MN
return ex.: NfKNAQLFoCWfsSwr4NSHYJ6rm6Rm3GzWUd

6 - Get the masternode key:
Code:
./Niobiumd masternode genkey
return ex.: 76jKRf5ccyNDZrzvT882zxPrQf9RbuLg726so9iinqcLbfwsTWN

7 - Send 1,500 NB to your MN address and wait 1 confirmation.

8 - Get the masternodes outputs:
Code:
./Niobiumd masternode outputs
return ex.: "r347k05381e053c10030895h992159e7i5e235162a99b997781d27087f2dc1o8" : "1"

9 - Be patient and wait 16 confirmations, do not skip this part.

10 - With =>16 confirmations, stop the wallet:
Code:
./Niobiumd stop

11 - Open the file "Niobium.conf" (/home/youruser/.Nb/Niobium.conf) and add this:

Code:
masternode=1
masternodeaddr=FixedIP:55550
masternodeprivkey=MNkey
externalip=FixedIP
nlogtimestamps=1
txindex=1
mnconflock=1
stake=0
staking=0

and comment 2 lines:

Code:
#rpcconnect=127.0.0.1
#rpcallowip=127.0.0.1

then your Niobium.conf file will appears like this:

Code:
masternode=1
masternodeaddr=46.101.56.93:55550
masternodeprivkey=76jKRf5ccyNDZrzvT882zxPrQf9RbuLg726so9iinqcLbfwsTWN
externalip=46.101.56.93
nlogtimestamps=1
txindex=1
mnconflock=1
stake=0
staking=0
daemon=1
listen=1
server=1
maxconnections=500
rpcuser=username
rpcpassword=password
port=55550
rpcport=55551
#rpcconnect=127.0.0.1
#rpcallowip=127.0.0.1
addnode=seed.niobiumcoin.org
addnode=seed1.niobiumcoin.org
addnode=seed2.niobiumcoin.org

Save, close.

12 - Start the wallet again:
Code:
./Niobiumd

13 - Check the current status of your new masternode:
Code:
./Niobiumd masternode status

return ex.:
Code:
{
"vin" : "CTxIn(COutPoint(af5a1c238b, 1), scriptSig=)",
"service" : "46.101.56.93:55550",
"pubkey" : "NfKNAQLFoCWfsSwr4NSHYJ6rm6Rm3GzWUd",
"status" : 1
}

STATUS 1 = OK
STATUS 2 = WRONG CONFIG

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @niobiumcoin! You have received a personal award!

1 Year on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard:

SteemitBoard Ranking update - Resteem and Resteemed added

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

Congratulations @niobiumcoin! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

SteemFest⁴ commemorative badge refactored
Vote for @Steemitboard as a witness to get one more award and increased upvotes!