rClient CLI Guide

Architecture

We have introduced a new method of connecting to the master node. A new component called the connection cluster node was added to handle all connections. rClient communicates with the server via a pub-sub channel.

Architecture Conncetion (Rnode = rClient)


Prerequisites

Ensure you have the following installed on your system:


Installation:

To install the Rivalz Node CLI globally, run the following command:

npm i -g rivalz-node-cli

Note for Mac Users:

If you are using a Mac, you may need to add sudo to the command to grant the necessary permissions:

sudo npm install -g rivalz-node-cli

Run rClient

After installing the rivalz-node-cli, follow the steps below to configure and run the rClient.

Step 1: In your terminal, enter:

rivalz run

Step 2: You will be prompted to enter several pieces of information related to your system and node setup. Here’s what you’ll need:

  1. Your wallet address

  2. CPU core

  3. RAM

  4. Select disk type

  5. Select disk serial number

  6. Enter disk size, you want to allow the client use

If your configuration is valid, the terminal will display as shown in the image below:


Change Wallet

Step 1: Run the Change-Wallet Command

To begin the process of changing the wallet associated with your rClient, use the following command:

rivalz change-wallet

Step 2: Enter Your New Wallet Address

Step 3: Receive and Input the Verification Code

Step 4: Wallet Change Confirmation

After you change the wallet:

  1. All client points will be deducted for that client, previously generated with the old wallet

  2. The client will be connected to the new wallet

  3. All previous points will be transferred to the new wallet

  4. All newly generated points will be counted for the new wallet

You must connect the new wallet to our platform and sign a message. This will create an account on our database. If you are not connected, you will receive the error below:

Error Message

Display Info

By runing the rivalz info command you can display the current version and config of the client


List of Commands

run - Run the Rivalz rClient CLI

change-hardware-config - Update the rClient CLI configuration

change-wallet - Change the wallet address of the rClient CLI

update-version - Update the rClient CLI version

info - Show the rClient CLI version

report-error - Report the error logs

clear-log - Clears the log files of the rClient CLI

help [command] - Display additional info for a specific command


FAQs:

Q: How can I update to this new version?

A: Run Rivalz update-version OR npm i -g rivalz-node-cli@2.6.2

Q: Does this update apply to the GUI version?

A: Not yet

Q: Can I run V1 and V2 at the same time?

A: Yes, it will not affect your points. On the dashboard, you can see separate sections for the 2 versions. However, if you run both V1 and V2 on 1 computer, only V2 is counted.

Q: Does updating to V2 affect my client point?

A: No, all V1 points will be added for V2

Q: Which cloud infra provider should I use to run the CLI?

A: Vultr, AWS Lightsail, Google Compute, Azure VM, Digital Ocean, OVH cloud

Q: Why is my PPH so low after updating to V2?

A: Please run the CLI V2 for 24 hrs to get the uptime multiplier to 1


Learn more about rClientCLI version 2.6.2

Last updated