Lighthouse a collection of CLI applications. The two primary binaries are:
beacon_node: the largest and most fundamental component which connects to the p2p network, processes messages and tracks the head of the beacon chain.
validator_client: a lightweight but important component which loads a validators private key and signs messages using a
beacon_nodeas a source-of-truth.
There are also some ancillary binaries:
account_manager: generates cryptographic keys.
lcli: a general-purpose utility for troubleshooting Lighthouse state transitions (developer tool).
Presently, we recommend building Lighthouse using the
$ cargo build --release --all command and executing binaries from the
Each binary supports the
--help flag, this is the best source of
$ ./beacon_node --help
$ ./validator_client --help
$ ./account_manager --help
$ ./lcli --help
beacon_node CLI has two primary tasks:
- Resuming an existing database with
- Creating a new testnet database using
$ ./beacon_node testnet.
$./beacon_node testnet command (see testnets for more
Once a database has been created, it can be resumed by running
Presently, this command will fail if no existing database is found. You must
$ ./beacon_node testnet command to create a new database.