Shell script to install a UserxCoin Masternode on a Linux server running Ubuntu 16.04. Use it on your own risk.
wget -N https://raw.githubusercontent.com/uservapp/installation/master/userx_install.sh
bash userx_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 UserxCoin Desktop Wallet.
- Go to RECEIVE and create a New Address: (Example): MN1
- Send 2000 USERV to MN1. You need to send all 2000 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:46130
- Privkey: Masternode Private Key
- TxHash: First value from masternode outputs
- TxIndex: Second value from masternode outputs
Example:
mn1 127.0.0.1:46130 X3HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 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 un
- Select your MN and click Start Alias to start it.
- Alternatively, open Debug Console and type:
startmasternode alias 0 (mymnalias)
Example: startmasternode alias 0 MN1
- Login to your VPS and check your masternode status by running the following command:
userx-cli masternode status
userx-cli masternode status
userx-cli getinfo
Also, if you want to check/start/stop Userx, run one of the following commands as root:
systemctl status Userx #To check if UserxCoin service is running
systemctl start Userx #To start UserxCoin service
systemctl stop Userx #To stop UserxCoin service
systemctl is-enabled Userx #To check if UserxCoin service is enabled on boot
Credits: https://github.com/zoldur