Spaces:
Build error
Build error
|
Download Docs/node-operator-guide.md from trvorth/qanto-testnet: direct link, hf CLI and curl.
- Browser
- Download file 4.73 kB
-
https://huggingface.co/spaces/trvorth/qanto-testnet/resolve/main/Docs/node-operator-guide.md
- Command line
-
hf download hf://spaces/trvorth/qanto-testnet/Docs/node-operator-guide.md
-
curl -L -o node-operator-guide.md https://huggingface.co/spaces/trvorth/qanto-testnet/resolve/main/Docs/node-operator-guide.md
4.73 kB
QANTO Node Operator Guide
Overview
This guide covers everything you need to run a QANTO Validator Node on the Layer-0 network. Validators are responsible for proposing and finalizing blocks, securing the network through the hybrid PoW/DPoS/PoSe consensus, and earning the 2.5 QNTO block reward.
Hardware Requirements
| Component | Minimum | Recommended |
|---|---|---|
| CPU | 4-core x86_64 / ARM64 | 8-core x86_64 |
| RAM | 16 GB | 32 GB |
| Storage | 500 GB NVMe SSD | 1 TB NVMe SSD |
| Network | 100 Mbps symmetric | 1 Gbps symmetric |
| OS | Ubuntu 22.04 LTS | Ubuntu 22.04 / 24.04 |
Note: The full QANTO chain state is lightweight by design. With a 1.0-second block time and a total supply of 21,000,000,000 QNTO, storage growth is predictable and manageable.
Software Prerequisites
- Rust ≥ 1.75 (install via rustup)
- Git ≥ 2.30
- OpenSSL ≥ 3.0 (for PQC key generation)
- Build essentials:
build-essential,pkg-config,libssl-dev
# Ubuntu / Debian
sudo apt update && sudo apt install -y build-essential pkg-config libssl-dev git curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Building the Node
git clone https://github.com/qanto-org/qanto.git
cd qanto
cargo build --release
The compiled binary will be located at ./target/release/qanto-node.
Configuration
Copy the example configuration and edit to taste:
cp config.toml.example config.toml
Key Configuration Parameters
[node]
chain_id = "qanto-mainnet-1"
listen_addr = "0.0.0.0:26656"
rpc_addr = "0.0.0.0:26657"
block_time = "1.0s" # 1-second block production
[consensus]
mode = "hybrid" # PoW + DPoS + PoSe
validator = true
stake_minimum = 10000 # 10,000 QNTO minimum stake
[mining]
block_reward = 2.5 # 2.5 QNTO per block
threads = 4 # PoW mining threads
Running the Validator
Start the node
./target/release/qanto-node --config config.toml
Run as a systemd service (recommended)
sudo tee /etc/systemd/system/qanto-node.service > /dev/null <<EOF
[Unit]
Description=QANTO Validator Node
After=network-online.target
[Service]
User=qanto
ExecStart=/opt/qanto/target/release/qanto-node --config /opt/qanto/config.toml
Restart=always
RestartSec=5
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now qanto-node
Verify sync status
curl -s http://localhost:26657/status | jq '.result.sync_info'
Staking & Becoming a Validator
- Ensure your node is fully synced (check
catching_up: false). - Create or import a validator wallet:
qanto-node keys add validator --keyring-backend file - Submit a validator registration transaction:
qanto-node tx staking create-validator \ --amount 10000000000qnto \ --commission-rate 0.05 \ --moniker "MyValidator" \ --from validator
Tokenomics reference: Total supply is 21,000,000,000 QNTO. Block rewards are 2.5 QNTO per block at a 1.0-second block time.
Monitoring
- Prometheus metrics: Exposed on port
26660by default. - Debug HUD: Available on the Testnet frontend at qanto.org.
- RPC health check:
GET /healthon the RPC endpoint.
Security Best Practices
- Run behind a reverse proxy (nginx/caddy) with TLS.
- Use a dedicated non-root user (
qanto). - Enable firewall rules — expose only ports
26656(P2P) and26657(RPC). - Back up your validator key (
wallet.key) securely offline. - Enable automatic security updates on your OS.
Troubleshooting
| Issue | Solution |
|---|---|
| Node stuck at genesis | Delete data/ directory and re-sync from peers. |
| High memory usage | Increase LimitNOFILE in systemd; reduce --db-cache size. |
| Validator jailed | Unjail via qanto-node tx slashing unjail --from validator. |
| Peer connection failures | Check firewall rules; ensure port 26656 is open. |
Last updated: April 2026 — QANTO v1.0.0