LITEX
Shell script to install a LITEX Masternode on a Linux server running Ubuntu 16.04. Use it on your own risk.
This script install the LITEX cold wallet on your VPS, update Ubuntu, creates a service for the wallet and configures the firewall.
Windows wallet
- Launch your local wallet
- Go to debug console (Tools - Debug Console) and enter the following command:
masternode genkey
save the result (masternode_privkey)
- Enter the following command:
getaccountaddress 0
you will get new Masternode wallet address.
- Send 10000 LTX to Masternode wallet address.
- Enter the following command:
masternode outputs
output_txid
- Open your masternode.conf file (Tools - Open Masternode Configuration file) and add the following line (port=17991):
MN_ALIAS VPS_IP:port masternode_privkey output_txid output_index
VPS
wget https://github.com/litex-dev/LITEX-masternode-autoinstall/raw/master/litex-setup.sh && bash litex-setup.sh
Local wallet
- Reopen you local wallet
- Go to Debug Console and run your masternode:
startmasternode alias 0 <MN_ALIAS>
You should see something like this: { "alias" : "MN1", "result" : "successful" }
Usage control script:
./ltx-control.sh -[argument]
-a start LITEX service
-b stop LITEX service
-c status LITEX service
-d checks the autostart of the LITEX service when the server is starting
-e masternode sync status
-f masternode status
-h help - usage for this script
-k firewall status
-l show gossipcoin.conf
-m show firewall log