How to Run a Validator node

During Testnet Phase III, validators will be admitted in a permissioned way.

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

If you need to run a validator node for a testnet network, please globally replace "mainnet" in the document with "testnet", and change all chain-ids from "cysicmint_4399-1" to "cysicmint_4398-1".

System Requirements

Minimum Hardware Requirements

  • CPU: 4 cores (8 cores recommended)

  • Memory: 8 GB RAM (16 GB recommended)

  • Storage: 200 GB SSD (500 GB 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)

Download Configuration Files

Install Docker

Start Node with Docker Compose

1. Pull the latest docker image

2. Start Node

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

3. Verify Node Running Status

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 (Optional)

**Important** If you perform this operation, please securely save the exported private key

3. Get Validator Address

Staking Operations to Increase Validator Power

1. Get Tokens

Check balance

*** Please contact the Cysic team to obtain mainnet 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

    • Check network connection

    • Verify configuration files

    • Clear data and resync

  2. Validator Not in Active Set

    • Check if staking amount is sufficient

    • Confirm validator is not jailed

    • Check staking status of other validators in the network

  3. Container Startup Failure

    • Check if ports are occupied

    • Verify configuration file paths

    • 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