bootnode CLI Command
Run a discv5 bootnode. This will NOT perform any beacon node functions, rather, it will run a discv5 service that allows nodes on the network to discover one another.
bootnode 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
--listenAddressโ
The IPv4 address to listen for discv5 connections
type: string
default: "0.0.0.0"
--portโ
The UDP port to listen on
type: number
default: 9000
--listenAddress6โ
The IPv6 address to listen for discv5 connections
type: string
default: "::"
--port6โ
The UDP port to listen on
type: number
default: 9000
--bootnodesโ
Additional bootnodes for discv5 discovery
type: string[]
default: [ "[]" ]
--bootnodesFileโ
Additional bootnodes for discv5 discovery file path
type: string
--persistNetworkIdentityโ
Whether to reuse the same peer-id across restarts
type: boolean
default: true
--enr.ipโ
Override ENR IP entry
type: string
--enr.udpโ
Override ENR UDP entry
type: number
--enr.ip6โ
Override ENR IPv6 entry
type: string
--enr.udp6โ
Override ENR (IPv6-specific) UDP entry
type: number
--natโ
Allow ENR configuration of non-local addresses
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
--metricsโ
Enable the Prometheus metrics HTTP server
type: boolean
--metrics.portโ
Listen TCP port for the Prometheus metrics HTTP server
type: number
default: 8008
--metrics.addressโ
Listen address for the Prometheus metrics HTTP server
type: string
default: "127.0.0.1"