Anchor CLI Reference
This document provides a comprehensive reference for Anchor's command-line interface, including all available commands, subcommands, and options.
Overview
The Anchor CLI has the following structure
anchor [OPTIONS] <COMMAND>
Where <COMMAND>
is one of:
node
- Run an Anchor SSV Nodekeysplit
- Split validator keys into shareskeygen
- Generate RSA keys for operator identification
Global Options
Option | Description | Default |
---|---|---|
-d, --data-dir <DIR> | Data directory for node files | ~/.anchor/{network} |
-t, --testnet-dir <DIR> | Directory containing testnet specs | None |
--network <NETWORK> | Network to use (mainnet, holesky, hoodi) | mainnet |
--debug-level <DEBUG_LEVEL> | Verbosity level for terminal logs | INFO |
-h, --help | Display help information | Unset |
-V, --version | Print version information | Unset |