Skip to content

Hotchain-HOTX/mn-install

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hotchain Masternode installation script

Shell script to install an Hotchain Masternode on a Linux server running either Ubuntu 16.04 or 18.04.

Run it on a clean Ubunbtu. Use it at your own risk.


Warning!! if you had old Hotchain on this VPS type before:

cd /root && killall -9 hotchaind ; rm -rf /usr/local/bin/hotchain* ; mv .hotchain .OldHotchainv1

Installation

rm -rf mn_install.sh
wget -q https://raw.githubusercontent.com/Hotchain-HOTX/mn-install/master/mn_install.sh
bash mn_install.sh

Desktop wallet setup

After the MN is up and running, you need to configure the desktop wallet accordingly. Here are the steps:

  1. Open the Hotchain Desktop Wallet.
  2. Go to RECEIVE and create a New Address: MN1
  3. Send 1000 HOTX to MN1. You need to send all 1000 coins in one single transaction.
  4. Wait for 1 confirmation.
  5. Go to Help -> "Debug Window - Console"
  6. Type the following command: masternode outputs
  7. Go to Tools -> "Open Masternode Configuration File"
  8. Add the following entry:
Alias Address Privkey TxHash Output_index
  • Alias: MN1
  • Address: VPS_IP:PORT
  • Privkey: Masternode Private Key
  • TxHash: First value from Step 6
  • Output index: Second value from Step 6
  1. Save and close the file.
  2. Ensure the transaction at step 3. has at least 20 confirmations.
  3. Go to Masternode Tab. If you tab is not shown, please enable it from: Settings - Options - Wallet - Show Masternodes Tab
  4. Click Update status to see your node. If it is not shown, close the wallet and start it again. Ensure the wallet is unlocked.
  5. Select your MN and click Start Alias to start it.
  6. Alternatively, open Debug Console and type:
masternode start-alias "MN1"
  1. Login to your VPS and check your masternode status by running the following command:.
hotchain-cli masternode status

Usage:

hotchain-cli mnsync status
hotchain-cli masternode status
hotchain-cli getinfo

Also, if you need to check/start/stop Hotchain, run one of the following commands as root:

systemctl status Hotchain #To check if Hotchain service is running
systemctl start Hotchain #To start Hotchain service
systemctl stop Hotchain #To stop Hotchain service
systemctl is-enabled Hotchain #To check if Hotchain service is enabled on boot

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%