Skip to main content
Version: 1.39.1

lightclient CLI Command

Run lightclient

Examplesโ€‹

Run lightclient with hoodi network

./lodestar lightclient --network hoodi

lightclient Optionsโ€‹

--dataDirโ€‹

Lodestar root data directory

type: string

--networkโ€‹

Name of the Ethereum Consensus chain network to join

type: string

choices: "mainnet", "gnosis", "sepolia", "hoodi", "chiado", "ephemery", "dev"

default: "mainnet"

--paramsFileโ€‹

Network configuration file

type: string

--rcConfigโ€‹

RC file to supplement command line args, accepted formats: .yml, .yaml, .json

type: string

--supernodeโ€‹

Subscribe to and custody all data column sidecar subnets

type: boolean

--semiSupernodeโ€‹

Subscribe to and custody half of the data column sidecar subnets to support blob reconstruction, enabling more efficient data availability with lower bandwidth and storage requirements compared to a supernode.

type: boolean

--logLevelโ€‹

Logging verbosity level for emitting logs to terminal

type: string

choices: "error", "warn", "info", "verbose", "debug", "trace"

default: "info"

--logFileโ€‹

Path to output all logs to a persistent log file, use 'none' to disable

type: string

--logFileLevelโ€‹

Logging verbosity level for emitting logs to file

type: string

choices: "error", "warn", "info", "verbose", "debug", "trace"

default: "debug"

--logFileDailyRotateโ€‹

Daily rotate log files, set to an integer to limit the file count, set to 0 (zero) to disable rotation

type: number

default: 5

--beaconApiUrlโ€‹

Url to a beacon node that support lightclient API

required: true

type: string

--checkpointRootโ€‹

Checkpoint root hex string to sync the lightclient from, start with 0x

required: true

type: string