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:

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
znode run

3.2. Displaying ZNode information with the command: znode info
znode info

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

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

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

4. Advanced Usage
4.1. Delegate Node
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 run
to start the node.

4.2. Revoke Node
Step 1: You need go to “https://znode.rivalz.ai/licenses” and 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 run
to start the node.

Last updated