Shell script to install a CryptoJobz Masternode on a Linux server running Ubuntu 16.04.
wget -N https://raw.githubusercontent.com/cryptojobz/CJZCoin-Masternode-Script/master/cjzmn_install.sh
bash cjzmn_install.sh
After the Masternode is up and running, you need to configure the desktop wallet accordingly. Here are the steps:
- Open the CryptoJobz Desktop Wallet.
- Go to RECEIVE and create a New Address: MN1
- Send 2100 CJZ to MN1. You need to send all 2100 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 TxIndex
- Alias: MN1
- Address: VPS_IP:PORT
- Privkey: Masternode Private Key
- TxHash: First value from Step 6
- TxIndex: Second value from Step 6
- Save and close the file.
- Go to Tools -> "Open Wallet Configuration File"
- Insert the following into that file:
rpcuser=AnyUsername
rpcpassword=Any Password
txindex=1
listen=1
server=1
daemon=1
addnode=45.76.63.253
addnode=140.82.15.2
addnode=217.163.11.120
addnode=45.63.7.226
addnode=104.156.238.199
addnode=45.76.126.193
logtimestamps=1
maxconnections=256
masternode=1
masternodeprivkey=Masternode Private Key
masternodeaddr=VPS IP:37676
- Save and close the file.
- Restart your wallet
- 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 unlocked.
- Select your MN and click Start Alias to start it.
- Alternatively, open Debug Console and type:
startmasternode alias 0 MN1
- Login to your VPS and check your masternode status by running the following command to confirm your MN is running:
cjzcoin-cli masternode status
cjzcoin-cli masternode status #To check your MN status
cjzcoin-cli getinfo #To get general info such as cjzcoin version and current block numnber
cjzcoin-cli mnsync status #To check if your MN is synced.
Also, if you want to check/start/stop cjzcoin, run one of the following commands as root:
systemctl status cjzcoin #To check if cjzcoin service is running
systemctl start cjzcoin #To start cjzcoin service
systemctl stop cjzcoin #To stop cjzcoin service
systemctl is-enabled cjzcoin #To check if cjzcoin service is enabled on boot
Any donation is highly appreciated BTC: ETH: