Shell script to install or update a Midas Masternode on a Linux server running Ubuntu 16.04. Use it on your own risk. This script will install or update an existing node.
wget -N https://raw.githubusercontent.com/zoldur/Midas/master/midas_install.sh
bash midas_install.sh
After the MN is up and running, you need to configure the desktop wallet accordingly. Here are the steps:
- Open the Midas Desktop Wallet.
- Go to RECEIVE and create a New Address: MN1
- Send 1000 MIDAS to MN1. You need to send all 1000 coins in one single transaction.
- Wait for 15 confirmations.
- Go to Help -> "Debug Window - Console"
- Type the following command: masternode outputs
- Go to ** Tools -> "Open Masternode Configuration File"
- 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 It can be 0 or 1
- Click OK and exit the Wallet.
- Open Midas Wallet, go to Masternode Tab. If you tab is not shown, please enable it from: Settings - Options - Wallet - Show Masternodes Tab
- Select your MN and click on Start Alias
- Login to your VPS and check your masternode status by running the following command. If you get Masternode started successfully, it means your masternode is active.
midas-cli masternode status
midas-cli mnsync status
midas-cli masternode status #This will tell you if the masternode is running
midas-cli getinfo
Also, if you want to check/start/stop Midas, run one of the following commands as root:
systemctl status Midas #To check if Midas service is running
systemctl start Midas #To start Midas service
systemctl stop Midas #To stop Midas service
systemctl is-enabled Midas #To check if Midas service is enabled on boot
If you are running multiple MIDAS nodes on a server, make sure you stop all of them before updating.
Any donation is highly appreciated
BTC: 3MQLEcHXVvxpmwbB811qiC1c6g21ZKa7Jh
ETH: 0x26B9dDa0616FE0759273D651e77Fe7dd7751E01E
LTC: LNZpK4rCd1JVSB3rGKTAnTkudV9So9zexB