Masternodes BDCASH

BDCASH Coin Masternode Guide

What you will need:
• More than 5000 BDCASH
• One computer with BigDataCash wallet installed. Make sure the wallet contains the Masternode Collateral of at least 5000 BDCASH.
• One VPS.
• A decent amount of technical knowledge. i.e. Knowing what a VPS is and using basic Linux shell commands.
• Patience – enough to follow these instructions properly before asking questions!

Step 1:

Setup your BDCASH wallet - this will keep your coins safe. Install bigdatacash-qt wallet on Windows or Linux from the official github.
1.1: Load your bigdatacash-qt wallet and sync.
1.2: Set a password for bigdatacash-qt. (Wallet will shut down)
1.3: Find yourwallet.dat file: e.g. c:\Users\username\AppData\Roaming\bigdatacash (windows file path)
1.4: Backup your private keys andwallet.dat file! (Very important! You may lose your coins if you don’t backup!)
1.5: Exit the wallet application and then re-open it. Let it synchronize.

Step 2:

Accessing the debug console in the QT-wallet
2.1: Open the Debug Console.
2.2: Click Tools on the top file menu.
2.3: Open Debug console. (Illustration 2.2)
2.4: Click Console on the top Tab Bar.

Step 3: Obtaining your masternode genkey & address

3.1: In the debug console command box (bottom of the window) enter the following:
3.2: You should see something very similar to this. It’s your MN_GENKEY (save into a text file in Notepad or Gedit/Nano/etc.
3.3: Enter the following to create a masternode address (ENTER): (Replace with your MASTERNODE_ALIAS_NAME.)
3.4: You should see something very similar to this (save into a text file in Notepad or Gedit/Nano/etc):
createmasternodekey
createmasternodekey
-> 5K..............................................98iX <- you key
getnewaddress mn1
getnewaddress mn1
->1M4Dr...............................................sTCusH

Step 4:

Wallet set up for masternode
4.1: Open your bigdatacash-qt Wallet
4.2: Click Send Tab (see Illustration 4.2)
4.3: Send 5000 BDCASH to the address [MASTERNODE_ALIAS_NAME]
4.3: Wait for ALL confirmations to complete (See the Transactions tab in wallet for more details).
4.4: Open Debug console once more (see step 3 instructions on accessing this).
4.5: Enter the following to get outputs( ENTER):
4.6: You should see something very similar to this (save into a text file in Notepad or Gedit/Nano/etc):

They are your TX_ID and TX_INDEX, {“TX_ID”:“TX_INDEX”}


4.7: Open the options menu in your wallet and enable the masternode tab. This will allow you to see you Masternodes easily via the Graphical User Interface (GUI) of the wallet. You can also use this once you have completed all steps to start nodes.
getmasternodeoutputs
->{ “30a988b50.....................................d4c25a4de91f898”:“0” }

Step 5:

Edit “masternode.conf” file
5.1: Find your masternode.conf file For example - In windows, it would be located in the following directory: c:\Users\username\AppData\Roaming\bigdatacash
5.2: Open masternode.conf with Notepad, You should see something very similar to this.
5.3: Format your masternode information:
**Please note – the Masternode Config file should have only one line of text. All other lines should be commented out with # at the beginning of each line.**
5.4: Paste masternode information[step5.3] into masternode.conf on new line.
5.5: Save and close masternode.conf
# Masternode config file
# Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index
# Example:
mn1 ip_you_vps:36264 5K..............................................98iX 30a988b50.....................................d4c25a4de91f898 0

Step 6: Set up your server hosting (VPS)


If you have access to your own Linux Ubuntu Server running at least V16.04 with a static IP, DDOS protection and all behind a nicely configured firewall then feel free to skip this step. Otherwise, if you understood nothing in the above-mentioned paragraph then I suggest you stop now before you launch the nukes by mistake.
If you do on the other hand have technical understanding but you do not have access to the hardware or the technical skills to manage the hardware, then VPS is for you (Virtual Private Server).
Hit the big VULTR button below and sign up for an account (DISCLAIMER: It will ask for a credit card and it will cost you fees to run this service every month). Set up a new Ubuntu Server and obtain your SSH credentials.

Step 7:

Install and update some needed libraries & Install Consortium hot wallet.
7.1: To install the libraries, please run each of the following lines INDIVIDUALLY (do not try to script them) and take care to make sure you run ALL commands.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential libtool bsdmainutils autotools-dev autoconf pkg-config
automake python3 git automake nano
sudo apt-get install libssl-dev libgmp-dev libevent-dev libboost-all-dev
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
sudo apt-get install libminiupnpc-dev
sudo apt-get install libzmq3-dev
7.2: Create Swap Space (Important - otherwise, you may fail to compile):
If any of the above-mentioned commands fail, go back to Step 7 and reinstall ALL dependencies one by one.
7.3: Get the source code and compile it (This process will take some time, please be patient):
7.4: Create .consortium directory:
git clone https://github.com/bdcashdev/BigdataCash
cd /root/BigdataCash/
. ./autogen.sh
./configure CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768" -- without-gui
make
fallocate -l 3G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo -e "/swapfile none swap sw 0 0 \n" >> /etc/fstab (Error will appear here, do not worry; If it stop here you can use CTRL + C to stop it.)
chmod +x autogen.sh
chmod +x share/genbuild.sh
cd /root/BigdataCash/src
.bigdatacashd .bigdatacashd

Step 8:

Edit bigdatacash.conf file & Start the service.
8.1: Edit bankitt.conf file:
Modify the above information:
Change YOUR_USER_NAME to a username
Change YOUR_PASSWORD to a secure password (random is recommended)
Replace VPS_IP with your VPS IP address
Replace MN_GENKEY with your masternode key from [step3.2]
8.3: Save and exit (CTRL + X).
8.4: Start the Consorcium server:
nano /root/.bigdatacash/bigdatacash.conf
cd /root/bigdatacash/src/
./digdatacashd
8.5: You can use the following command to get more
.bigdatacash-cli getmasternodestatus
8.2: Copy and paste the following into pushi.conf:
rpcuser=YOUR_USER_NAME
rpcpassword=YOUR_PASSWORD
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
maxconnections=256
masternode=1
logtimestamps=1
masternodeprivkey=MN_GENKEY
externalip=VPS_IP:36264

Step 9: Start your masternode!

9.1: Restart local wallet and Open the Debug Console.
9.2: Enter the following to start your Masternode(MASTERNODE_ALIAS_NAME from step3.3):
9.3: You should see something very similar to this:
9.4: You can use the following commands on the VPS to see the status of Masternode:
startmasternode alias 0 mn1
"alias" : "MASTERNODE_ALIAS_NAME",
"result" : "successful"
.bigdatacash-cli getmasternodestatus
9.5: Keep your VPS and PUSHI services running.