Requirements

There are many different ways to set-up a masternode. This method requires a Virtual Private Server, eliminating the need to run your own computer 24/7. Your funds are also safely stored on your local wallet, not the VPS.

The following requirements are needed to set-up a Masternode using this guide.

  • A fully synced local wallet – download
  • Only 10,000 BABY for transaction fees (I recommend having the funds in your wallet from the beginning)
  • A Virtual Private Server (VPS). Any VPS should work. Ubuntu 16.04 is good – I recommend to purchase from: : https://www.vultr.com/
    An XS VPS (from time4vps.eu) server is enough for 1 masternode.

1 Masternode will work on 512 RAM, 1 Core CPU, 20 GB HDD.

  • Download and install Putty from: putty.org
  • Desktop Notepad for record keeping

Master node Guide

There are many different ways to set-up a masternode. This method requires a Virtual Private Server, eliminating the need to run your own computer 24/7. Your funds are also safely stored on your local wallet, not the VPS.
ubuntu 16.04
sudo apt update
sudo apt upgrade
sudo apt-get install unzip
sudo apt-get install libboost-all-dev
sudo apt-get install libdb++-dev
sudo apt-get install libminiupnpc-dev
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
wget https://github.com/babychain/BABY/releases/download/3.0.99/BABYCHAIN-Linuxdaemon-64bit.zip
unzip BABYCHAIN-Linuxdaemon-64bit.zip
cd BABYCHAIN-Linuxdaemon-64bit
chmod 777 babyd
./babyd
ctrl+c  out

Create a MasterNode Address (ALIAS) & send collateral
Open the BABYCHAIN wallet, go to File > Receiving Addresses > New

Name the Label and hit OK. The Label is your masternode ALIAS.
While you are still in the Receiving Addresses table, select the address you just created and hit the Copy button. Close this window.

Next you will need to send the collateral (EXACTLY 10,000BABY) to this address. Do so by going to the Send tab and pasting the Address you just copied to the Pay To: field. The Label should automatically show up as the one you just named. Enter exactly 10,000BABY into the amount field and hit Send. PS. This address belong to your account, you essentially send money to yourself. Your funds will stay in your account.

Now go to the Transactions tab and double click on the Transaction you just made. Record the TRANSACTION_ID in Notepad, it will be required in the next step. You also need to wait until 20+ confirmations on this transaction before continuing .

MasterNode private key & Index ID
Go to Tools>Debug Console

Type the following command and copy the generated key to Notepad, this will be your PRIVATE_KEY

[code]masternode genkey[/code]

While in debug console, type in the following and copy the last digit in quotations, this will be your INDEX_ID

[code]masternode outputs[/code]

masternode.conf

[code]mn1 VPS_IP:55442 PRIVATE_KEY TRANSACTION_ID INDEX_ID[/code]

Next, open “baby.conf” with Notepad and add the following: (change the text in bold)

[code]

rpcallowip=127.0.0.1
rpcuser=ANY_LONG_USERNAME
rpcpassword=ANY_LONG_PASSWORD
staking=1
server=1
listen=1
daemon=1
port=55442
masternode=1
masternodeaddr=vps_ip:55442
externalip=vps_ip:55442
masternodeprivkey=PRIVATE_KEY

[/code]

next ubuntu 16.04
[code]vi /root/.baby/baby.conf[/code]
insert
[code]rpcallowip=127.0.0.1
rpcuser=ANY_LONG_USERNAME
rpcpassword=ANY_LONG_PASSWORD
staking=1
server=1
listen=1
daemon=1
port=55442
masternode=1
masternodeaddr=vps_ip:55442
externalip=vps_ip:55442
masternodeprivkey=PRIVATE_KEY[/code]
save exit
vi /root/.baby/masternode.conf

[code]mn1 VPS_IP:55442 PRIVATE_KEY TRANSACTION_ID INDEX_ID[/code]
save exit

Close the local wallet on your desktop and open it again for settings to take effect.

nohup ./babyd > /dev/null 2>&1 &

Start MasterNode
In your local wallet, go to Tools>Debug Console and type:

[code]startmasternode alias false mn1[/code]

Check in your wallet>Masternodes tab. If the Status is ENABLED, your masternode is running.

if you have more than one masternode ,you just need to change you local wallet conf
1. change baby.conf to
rpcallowip=127.0.0.1
rpcuser=user
rpcpassword=password
staking=1
server=1
listen=1
port=55442
2.change local masternode.conf to
mn1 123.123.123.1:55442 MN1.PRIVATE_KEY MN1.TRANSACTION_ID MN1.INDEX_ID
mn2 123.123.123.2:55442 MN2.PRIVATE_KEY MN2.TRANSACTION_ID MN2.INDEX_ID
and restart you locall wallt
put in “startmasternode all false ” to start all masternode!