Skip to content

Latest commit

 

History

History
executable file
·
132 lines (101 loc) · 3.73 KB

MN_GUIDE.md

File metadata and controls

executable file
·
132 lines (101 loc) · 3.73 KB

Tiered amounts

Choose amount of coins for masternode:

  • 3000 (Reward: 8 MBLC)
  • 6000 (Reward: 17 MBLC)
  • 15000 (Reward: 45 MBLC)
  • 25000 (Reward: 80 MBLC)

1. Generate private key in the LOCAL DESKTOP wallet

  • Open the the destop wallet
  • Click Help
  • Click Debug Window
  • Click Console Tab
  • Type masternode genkey
  • Then save the output for the masternodeprivkey= in step 5

2. Purchase Ubuntu 14.04 or 16.04 VPS

  • Save the IP address for the masternodeaddr= in step 5 and 11

3. Login as root and type these commands:

sudo apt-get update
sudo apt-get install -y build-essential libtool autotools-dev pkg-config
sudo apt-get install -y libssl-dev libboost-all-dev autoconf automake git
sudo apt-get install -y libqt4-dev libminiupnpc-dev
sudo apt-get install -y libgmp-dev openssl software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev
	
# do the next 5 lines for VPS with less than 1GB RAM

sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
sudo mkswap /var/swap.img
sudo chmod 0600 /var/swap.img
sudo swapon /var/swap.img
sudo chown root:root /var/swap.img

4. Type these commands by anu user (root or another):

cd ~
git clone https://github.com/MontBlancCoin/MontBlanc
cd ~/MontBlanc/src
make -f makefile.unix
strip MontBlancd
./MontBlancd

	# Ignore the error message

./MontBlancd stop
nano ~/.MontBlanc/MontBlanc.conf

5. Make the Config file look like this:

rpcuser=yourusername
rpcpassword=yourpassword
rpcallowip=127.0.0.1
daemon=1
server=1
listen=1
masternodeaddr=x.x.x.x:11145
masternode=1
masternodeprivkey=privatekey

6. Save and exit

7. Run VPS wallet

./MontBlancd

	# You should see server starting

./MontBlancd getinfo
	
	# To check the status of your masternode
  • Once the block number is the same that you can see in the help-debug window-information of your synced local wallet, or on the block explorer, it means your vps wallet is synced.

8. Create a new Address for the masternode in LOCAL DESKTOP wallet

  • Press "Receive" tab
  • Press "New Address" button
  • Type a name (like "MN1")
  • Press OK
  • Press the new address to highlight it
  • Press "Copy Address" and save it for Address in step 9 and 11
  • You can also repeat step 8 to create another address for rewards

9. Send exactly choosed amount (e.g. 25000 MBLC) to LOCAL DESKTOP wallet

  • Press "Send" tab
  • In "Pay To", enter in the address from step 8
  • In "Amount", enter 25000 exactly. No more. No less.
  • Press "Send" and agree to the fee
  • You'll need a bit more than 25000 coins in your account to pay the fee

10. Get the transaction information in LOCAL DESKTOP wallet

  • Press "Transactions" tab
  • Hover the mouse over the top line that says "Payment to yourself"
  • Wait for 15 confirmations
  • Press "Help"
  • Press "Debug Window"
  • Press "Console Tab"
  • Type masternode outputs
  • You should now have a long alphanumber on the screen. If not, retry steps 8, 9, and 10.
  • Save the long hash alphanumber for step 11
  • Save the index (normally 0 or 1) for step 11

11. Create the Masternode in LOCAL DESKTOP wallet

  • Press "Masternodes" tab
  • Press Update
  • Press Create...
  • Fill out the form to look like this:
    • Alias MN1
    • Address 1.1.1.1:11145 (your ip from step 2)
    • PrivKey (the genkey from step 1)
    • TxHash (the alphanumber from step 10)
    • Output Index (the 0 or 1 from step 10)
    • Reward Address (the address from step 8)
    • Reward % (100)
  • Press OK
  • Press "Update"
  • Press the line that shows the masternode information
  • Press Start
  • You should see masternode is running!

Type to check masternode status in the VPS terminal: ~./MontBlancd masternode status