How to run a Cysic Validator Node

How to Run a Cysic Validator Node

This guide will help you set up and run a Cysic Network validator node, including system requirements, installation configuration, node startup, private key generation, staking operations, and node monitoring.

Table of Contents

  1. System Requirements

  2. Download Configuration Files

  3. Get Docker Image

  4. Start Node with Docker Compose

  5. Generate Private Key

  6. Staking Operations to Increase Validator Power

  7. Node Health Monitoring

  8. Common Commands

  9. Troubleshooting

System Requirements

Minimum Hardware Requirements

  • CPU: 4 cores (8 cores recommended)

  • Memory: 8 GB RAM (16 GB recommended)

  • Storage: 500 GB SSD (2TB recommended for long-term operation)

  • Network: Stable internet connection with P2P communication support

Software Requirements

  • Operating System: Linux (Ubuntu 20.04+ recommended)

  • Docker: >= 20.10.0

  • Docker Compose: >= 1.29.0

  • Git: Latest version

Port Requirements

Ensure the following ports are available:

  • 26657: Tendermint RPC

  • 26656: Tendermint P2P

  • 8545: Ethereum JSON-RPC

  • 8546: Ethereum WebSocket

  • 1317: Cosmos REST API

  • 9090: gRPC API

  • 6065: Metrics (optional)

Staking Requirements

To run a validator node on Cysic Network, you need to meet the following staking requirements:

  • Minimum Staking Amount: 1,000,000 CGT

  • This is the minimum amount required to create and operate a validator node

  • The staking amount determines your validator's voting power and potential rewards

  • You can delegate additional tokens to increase your validator's power after creation

Download Configuration Files

Pull Docker Image

1. Install docker

And then pull the docker image

2. Update config

Before starting the node, you need to update the app.toml configuration file:

Set the halt-height parameter in the [state-sync] section:

Important: This configuration sets the block height at which the node will halt. Make sure to set halt-height = 109996 before starting the node.

3. Start Node

Before starting the node, you need to send the node's exit IP address to the Cysic team for whitelist configuration.

4. Verify Node Running Status

5. Update docker image

After the node has completed block synchronization in step 3, you need to update the Docker image tag:Important: Wait for the block synchronization to complete before proceeding with this step.

Note: Make sure the block synchronization is fully completed before stopping the node and updating the Docker image.

Generate Private Key

1. Generate Key in Container

Important: write this mnemonic phrase in a safe place. It is the only way to recover your account if you ever forget your password.

2. Backup Private Key

3. Get Validator Address

Staking Operations to Increase Validator Power

1. Get Tokens

Check balance

Please contact the Cysic team to obtain mainent staking tokens

2. Create Validator

Use the stake-as-validator command to create a validator and self-stake:

Parameter description:

  • 10000000000000000000: Staking amount (10 CGT)

  • "My Validator": Validator name

  • "A reliable Cysic validator": Validator description

  • "0.05": Initial commission rate (5%)

  • "0.20": Maximum commission rate (20%)

  • "0.01": Commission change rate (1%)

  • 1000000000000000000: Minimum self-stake (1 CGT)

3. Delegate More Tokens

4. View Validator Status

Node Health Monitoring

1. Monitoring Endpoints

  • Node Status: http://localhost:26657/status

  • Network Information: http://localhost:26657/net_info

  • Validator Information: http://localhost:26657/validators

  • Prometheus Metrics: http://localhost:6065/debug/metrics/prometheus

2. Key Monitoring Metrics

Common Commands

Node Operations

Key Management

Staking Management

Troubleshooting

Common Issues

  1. Node Cannot Sync

    1. Check network connection

    2. Verify configuration files

    3. Clear data and resync

  2. Validator Not in Active Set

    1. Check if staking amount is sufficient

    2. Confirm validator is not jailed

    3. Check staking status of other validators in the network

  3. Container Startup Failure

    1. Check if ports are occupied

    2. Verify configuration file paths

    3. Check container logs

Log Analysis

Emergency Recovery

If the node encounters issues, follow these steps to recover:

  1. Backup important data

  2. Stop the node

  3. Check configuration files

  4. Restart the node

  5. Verify sync status


For more help, please refer to the official documentation or contact the Cysic community.

Last updated