How to Check Your VerusCoin Mining Balance, Hash Power & Estimated Average Time to Mine a Block

VerusCoin-Logo

This script and guide is for users who checks their VerusCoin mining node often and tried of checking nodes manually, anyone who feels lazy to check and everyone who wants to use it. VerusCoin is the first Komodo fork with enhanced version assetchains parameters.

VerusCoin-Logo

Requirements:

  • nodeJS
  • git
  • The ECDSA key fingerprint of your node exists in your known_hosts file (you have logged in at least once from the local node you are running the code from)

Steps needed:

This guide has been tested using Ubuntu 16.04.

Step 1. Navigate to your home directory
cd ~

Step 2. Clone the Verus Remote Checker repo
git clone https://github.com/pbca26/vrsc-remote-checker

Step 3. Navigate to the vrsc-remote-checker directory
cd vrsc-remote-checker

Step 4. Edit the config.js file with your host, port, username & password
Example single node:
host: '127.0.0.1', # your server ip address
port: 22, # your server's port
username: 'user', # your server's login username
password: 'pass',# your server's login password

Example of config.js for multiple nodes:

[{
host: '127.0.0.1',
port: 22,
user: 'user',
pass: 'user',
}, {
host: '127.0.0.1',
port: 22,
user: 'user',
pass: 'user',
}]

Step 5. Change the mining node’s komodo-cli file location in main.js & power.js file
From:
cd verus-cli;./komodo-cli -ac_name=VRSC getwalletinfo
To:
~/VerusCoin/src/komodo-cli -ac_name=VRSC getwalletinfo
Or any other location if you are not running in the default location like the script.

Step 6. Install the source
npm install

Step 7a. Check immature balance of your node(s)
npm start

Step 7b. Check hashrate of your node
npm run power

Example output from a single VerusCoin mining node using Intel i7-7700k (Ubuntu 16.04):

$ npm start

> [email protected] start /home/user/vrsc-remote-checker
> node main.js

miner-1 balance: 5568.000824 ---------------- Total: 5568.000824

$ npm run power

> [email protected] power /home/user/vrsc-remote-checker
> node power.js

miner-1 hash rate: 238625226.1393275 | avg time to mine 36.7h
----------------
Total: 0.239 GH

Hope you liked this guide. Let us know if you think any editing needs to be done on this post.