This article show you the way to setup your masternode on crypto currency mining. If you have any question, please connect with us via message box.
Requirement
- Coin balance, it depends on coin type. On this demo, i have used Lizus coin, and it requires 10.000 LIZ
- Server
Server: Ubuntu 16.04
You can easily obtain VPS Ubuntu with $5/month at Digital Ocean
Login into your VPS
ssh root@
Initialize packages
apt-get update
apt-get install git automake build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev software-properties-common add-
apt-repository ppa:bitcoin/bitcoin
apt-get update && apt-get install libdb4.8-dev libdb4.8++-dev libminiupnpc-dev
Build your Wallet
On this demo, i have integrate with Lizus coin. Now we can start to clone wallet source code from github
cd /tmp/
git clone https://github.com/lizuspayments/lizus-core.git
Build your wallet from source code
cd lizus-core && git pull
cd src
chmod 755 leveldb/*
make -f makefile.unix
Wait until the progress finish.
First running your wallet on Ubuntu:
/root/LIZ/src/lizusd
After running the first run of your wallet, the coin configuration will be generated. Then we have to adjust wallet configuration to make it connect into blockchain network. You need to find out the masternode IP address to make your wallet can connect to network.
nano /root/.liz/lizus.conf
Edit with the following information.
#########################################
## MY MASTERNODE_01 #############
############################
rpcuser={CHOOSE A RANDOM USER}
rpcpassword={CHOOSE A RANDOM PASSWORD}
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
externalip={YOUR SERVER IP}
masternodeprivkey={YOURPRIVKEY – WE WILL GET THAT LATER}
addnode=188.226.192.182
addnode=188.226.192.178
addnode=188.226.189.36
addnode=146.185.168.10
Check your wallet, with bitcoin command
lizusd getinfo
If you see block is still 0, you need to check and change other nodes IP Addresses.
Generate Masternode privatekey
Generate your masternode key with
lizusd masternode genkey
Copy and change your masternode privatekey into config. After change masternode private key, you need to restart wallet
lizusd stop
lizusd
Generate Masternode publickey and fund coin into masternode address
Generate your masternode public addresss with
lizusd getaccountaddress MASTERNODE_01
Send your coin into masternode
lizusd sendtoaddress
Configure your masternode (with hot setting)
Generate outputs
lizusd masternode outputs
Copy outputs and add it into masternode configuration and add as Transaction ID. Open your masternode configure file
nano /root/.liz/masternode.conf
Edit with
{YOURMASTERNODENAME} {YOURIP}:19700 {YOURMASTERNODEPRIVKEY} {TRANSACTIONID} {TRANSACTION_FOLLOW_ID}
Restart your wallet
lizusd stop
lizusd
Checking masternode
Now everything are done now. In case you could not
Check balance
lizusd getinfo
Check masternode
lizusd masternode status
lizusd masternode debug
You also need to add your IP into masternodes monitor[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]