Once your node is built and configured, running it is a matter of invokingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/axelarnetwork/axelar-core/llms.txt
Use this file to discover all available pages before exploring further.
axelard start. The daemon embeds CometBFT in-process and begins syncing the chain state from either genesis or a state sync snapshot. This page covers the start command and its most important flags, available monitoring endpoints, snapshot management, and the operational commands you’ll reach for most often.
Starting the Node
Key Flags
Path to the node home directory. Defaults to
$HOME/.axelar. Override this when running multiple nodes on the same host.Log verbosity:
trace, debug, info, warn, error, fatal, or panic. Defaults to info. Use debug when diagnosing issues.plain (default, human-readable) or json (structured, better for log aggregators like Loki or Datadog).P2P listen address. Default
tcp://0.0.0.0:26656. Change the port if it conflicts with another service.CometBFT RPC listen address. Default
tcp://127.0.0.1:26657. Bind to 127.0.0.1 unless you intentionally expose the RPC.Override
app.toml minimum gas prices at runtime. Example: 0.007uaxl.Override the pruning strategy. One of
default, nothing, everything, or custom.Comma-separated list of
ID@host:port seed nodes passed directly without editing config.toml.Stop the node gracefully at a specific block height. Useful for planned upgrades.
Enable or disable the gRPC server. Defaults to
true.Full Example
Syncing Strategies
- Genesis Sync
- State Sync
Replay every block from block 1. This is the most trustless option but can take days for a mature chain.
You can monitor progress by querying the local RPC:
Health Check
Theaxelard health-check command validates that the node, the broadcaster account, and the optional tofnd daemon are all reachable and functional:
Flags
CometBFT RPC endpoint to check. Defaults to
tcp://localhost:26657.Validator operator address (
axelarvaloper1...) to check on-chain registration.Hostname of the
tofnd signing daemon. Defaults to localhost.Port of the
tofnd daemon. Defaults to 50051.Skip the broadcaster account check.
Skip the tofnd connectivity check. Useful for non-validator full nodes.
Monitoring Endpoints
A runningaxelard node exposes several endpoints:
| Endpoint | Default Address | Purpose |
|---|---|---|
| CometBFT RPC | http://localhost:26657 | Block queries, transaction broadcast, node status |
| REST API | http://localhost:1317 | Cosmos SDK REST / Swagger UI |
| gRPC | localhost:9090 | Cosmos SDK gRPC queries and transactions |
| gRPC-Web | Proxied via gRPC port | Browser-compatible gRPC |
| Prometheus | http://localhost:26660/metrics | Node metrics for Grafana |
Enable Prometheus
Prometheus metrics are emitted by CometBFT. Enable the endpoint inconfig.toml:
http://<node-ip>:26660/metrics.
Useful RPC Queries
Snapshot Management
Snapshots let you quickly restore a node without replaying the full chain history. Theaxelard snapshots family of commands manages the local snapshot store.
List Available Snapshots
Export a Snapshot
Take a snapshot of the current application state and save it to the snapshot store:The node must not be running when you export a snapshot manually. For live exports, configure
state-sync.snapshot-interval in app.toml and restart the node.Load a Snapshot Archive
Load a portable.tar.gz archive into the local snapshot store:
Restore from a Snapshot
Apply a previously loaded snapshot to reset application state:Dump a Snapshot
Export a snapshot from the store as a portable archive:Operational Commands
Rolling Back One Block
If the node has diverged due to an incorrect app hash, roll back one block:--hard to remove the last block entirely (not just revert state):
Pruning Historical State
Manually prune old state without running the full node:Resetting CometBFT State
Running as a systemd Service
Create/etc/systemd/system/axelard.service:
Running with Docker
The official Docker image sets up the home directory at/home/axelard/.axelar and reads several environment variables:
| Variable | Purpose |
|---|---|
HOME_DIR | Base directory (default /home/axelard) |
TOFND_HOST | Hostname of the tofnd signing daemon |
AXELARD_CHAIN_ID | Chain ID (default axelar-testnet-lisbon-3) |
AXELARD_KEYRING_BACKEND | Keyring backend type (default file) |
PEERS_FILE | Path to a file containing comma-separated seed peers |
CONFIG_PATH | Directory with custom config.toml, app.toml, and vald.toml |
PRESTART_SCRIPT | Path to a shell script that runs before node startup |
NODE_MONIKER | Node moniker |