Files
twoeths b255111a20 refactor: pass validators pubkey-index map from cli (#8707)
**Motivation**

- we will not be able to access `pubkey2index` or `index2pubkey` once we
switch to a native state-transition so we need to be prepared for that

**Description**

- pass `pubkey2index`, `index2pubkey` from cli instead
- in the future, we should find a way to extract them given a
BeaconState so that we don't have to depend on any implementations of
BeaconStateView, see
https://github.com/ChainSafe/lodestar/issues/8706#issue-3741320691

Closes #8652

---------

Co-authored-by: Tuyen Nguyen <twoeths@users.noreply.github.com>
2025-12-22 13:16:12 +07:00
..

Command Line Interface for Lodestar

Discord Eth Consensus Spec v1.5.0 ES Version Node Version

This package is part of ChainSafe's Lodestar project

Command line tool for Lodestar

Getting started

Lodestar

We have an experimental new CLI called lodestar which currently provides a subset of the lodestar CLI functionality.

Here's a quick list of the available CLI commands:

Command Description
./bin/lodestar init Write a configuration and network identity to disk, by default ./.lodestar
./bin/lodestar beacon Run a beacon node using a configuration from disk, by default ./.lodestar
./bin/lodestar account Run various sub-commands for creating/managing Ethereum Consensus accounts
./bin/lodestar validator Run one or more validator clients
./bin/lodestar dev Quickly bootstrap a beacon node and multiple validators. Use for development and testing
Append --help to any of these commands to print out all options for each command.

For full documentation on cli commands and options, see the Command Line Reference

License

Apache-2.0 ChainSafe Systems