Cryptocurrency

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

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.

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

> vrsc-remote-node-checker@0.0.1 start /home/user/vrsc-remote-checker
> node main.js

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

$ npm run power

> vrsc-remote-node-checker@0.0.1 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.

TLHD

Tech blogger, web developer. Using Android from January 2009 when I got my first T-Mobile G1. Since then used a handful amount of Android smartphones and tablets. Also, rooting and using custom ROM & MODs on my phones and tablets. Photography is my passion along with Cryptocurrency. Taking pictures with my Samsung NX1 & Canon 70D during free times. Enjoy reading anything interesting happening with technology. Currently using a Galaxy S7 Edge, OnePlus 3, Nexus 5X, Galaxy Tab PRO 12.2.

Recent Posts

How to Send Komodo or Any Smart Chain Funds from Your Address Without Rescanning the Wallet?

Rescan can take long time to finish if you have thousands of transactions in… Read More

4 years ago

UK Granted Huawei A Limited Role In 5G Network

The British government has introduced that it will continue to give Huawei minimal role… Read More

4 years ago

Use Komodo’s DEXP2P Tech for Live Streaming [How-to]

Introduction Komodo's lead developer/founder James Lee "jl777" recently started working on an exciting new tech… Read More

4 years ago

AtomicDEX Mobile Decentralised Exchange is Out for Public Beta Testing

Komodo, the pioneer of decentralised cross-chain Atomic Swap has released their new version of mobile… Read More

5 years ago

Claim BTG and Convert to BCH in Quick & Easy to Follow Guide

This is a step-by-step guide to claim your Bitcoin Gold (BTG) and convert them into… Read More

6 years ago

How to Claim Komodo (KMD) Reward from Ledger Nano S?

Ledger Nano S is one of the most secured HW wallet out there. HW wallets… Read More

6 years ago