Running a zNode

Running a zNode allows users to actively secure the Rivalz network by verifying data integrity, and ensuring safe access to reliable, unaltered information. To run a zNode users are required to purchase a license.

1. Technical Requirements to run zNodes:

Before installing ZNode, make sure your system meets the following requirements:

  • Operating System: Ubuntu 20.04 LTS or higher, macOS, Windows 10 or higher.

  • Memory: Minimum 2 GB of RAM [Recommend 8 GB].

  • Storage: Recommended 128GB of free disk space.

  • CPU: Recommended 10th-generation Intel Core i3.

  • Network: A stable internet connection.

  • Dependencies: Node.js (v20.x or higher).

2. Installation

2.1. Prerequisites

Make sure the following tools are installed before starting the ZNode installation:

Tools Installation Requirements

You need to have Node.js and npm installed on your machine. You can download Node.js from here, and npm is included with the Node.js installation.

2.2. Installing Znode

Step 1: Open the terminal

Step 2: Enter the command npm i -g rivalz-znode-cli

ZNode is now installed and ready for use.

3. Basic Commands

3.1. Running the ZNode with the command: znode run

3.2. Displaying ZNode information with the command: znode info

3.3. Updating the ZNode version with the command: znode update-version

3.4. Displaying the Node ID with the command: znode show-node-id

3.5. Displaying the ZNode version with the command: znode -V

4. Advanced Usage

4.1. Delegate Node

Before delegating a node, ensure your wallet contains at least 1 NFT and has sufficient gas.

Step 1: Open the terminal

Step 2: Enter the command znode run

Step 3: Copy the node ID (0x9f7c….33c) and then open the link https://znode.rivalz.ai/licenses

Step 4: On the website, you'll need to connect your wallet.

Step 5: Enter the "Node ID" and "Number of licenses to delegate".

Step 6: Click the “Delegate” button after signing transaction.

If the transaction is successful, the UI will automatically reload.

Step 7: Return to the terminal and run the ZNode again using the command znode runto start the node.

4.2. Revoke Node

Before revoking a node, ensure your wallet is running at least one node and has sufficient gas.

Step 1: You need go tohttps://znode.rivalz.ai/licensesand then connect wallet.

Step 2: Select the License ID you would like to revoke, then click the "Undelegate" button.

Step 3: Sign the transaction.

If the transaction is successful, the UI will automatically reload.

Step 4: Return to the terminal and run the ZNode again using the command znode runto start the node.

Last updated