Shell script to install a HooliBet masternodes on a Linux server running Ubuntu 16.04. Use it on your own risk.
wget -N https://raw.githubusercontent.com/hoolibet/hbet_installation/master/hbet_install.sh
bash hbet_install.sh
Wait until you request "Private Key" and paste your "masternode genkey" generated in the following steps.
After the MN is up and running, you need to configure the desktop wallet accordingly. Here are the steps:
-
Open the HooliBet Desktop Wallet.
-
Go to RECEIVE and create a New Address: (Example): MN1
-
Send 1000 HBET to MN1. You need to send all amount coins in one single transaction.
-
Wait for 15 confirmations.
-
Go to Tools -> "Debug Window - Console"
-
Type the following command and copy the generated key to Notepad: masternode genkey And masternode outputs (Use masternode genkey in the VPS when you request "Private Key").
-
Go to Tools -> "Open Masternode Configuration File"
-
Add the following entry:
Alias Address Privkey TxHash TxIndex
- Alias: MN1
- Address: VPS_IP:21340
- Privkey: Masternode Private Key
- TxHash: First value from masternode outputs
- TxIndex: Second value from masternode outputs
Example:
mn1 127.0.0.1:21340 2S6Uekuw1G4SpRsMxLaZ3iKBoJkad3EucqeozTjov5bn6hNcsgx e6fd26786781131b1211ae579c4ef0f93a87878503bb22897cd388e0be16c5 0
-
Save and close the file.
-
Go to Masternode Tab. If you tab is not shown, please enable it from: Settings - Options - Wallet - Show Masternodes Tab
-
Click Update status to see your node. If it is not shown, close the wallet and start it again. Make sure the wallet is run.
-
Select your MN and click Start Alias to start it.
-
Alternatively, open Debug Console and type:
startmasternode alias 0 my_masternode_alias
Example:
startmasternode alias 0 MN1
-
Login to your VPS and check your masternode status by running the following command:
hoolibet-cli masternode status
hoolibet-cli masternode status
hoolibet-cli getinfo
Also, if you want to check/start/stop HooliBet, run one of the following commands as root:
systemctl status HooliBet #To check if HooliBet service is running
systemctl start HooliBet #To start HooliBet service
systemctl stop HooliBet #To stop HooliBet service
systemctl is-enabled HooliBet #To check if HooliBet service is enabled on boot
Credits: https://github.com/zoldur