Skip to main content

Berachain Node (beacond) Reference

beacond, is an EVM consensus client implementation used as a basic beacon node for Berachain. See BeaconKit Consensus Layer for more details.

Global Flags

These flags apply to all commands:

Basic Commands

init

Initialize validator and node configuration files.

Flags

start

Run the node application with CometBFT in process.

Flags

The start command has numerous configuration flags for networking, consensus, pruning, and more. Key flags include: Additional flags are available for detailed engine configuration, beacon-kit settings, and consensus parameters.

status

Query remote node for status information.

Flags

version

Print the application binary version information.

Flags

rollback

Recover from an incorrect application state transition by rolling back one height.

Flags

CometBFT Commands (comet)

Commands for managing the CometBFT consensus engine.

comet bootstrap-state

Bootstrap CometBFT state at an arbitrary block height using a light client.

Flags

comet reset-state

Remove all data and WAL (Write-Ahead Log).

comet show-address

Show this node’s CometBFT validator consensus address.

comet show-node-id

Show this node’s ID.

comet show-validator

Show this node’s CometBFT validator info.

comet unsafe-reset-all

Remove all data and WAL, reset this node’s validator to genesis state (unsafe).

Flags

comet version

Print protocols’ and libraries’ version numbers this app was compiled against.

Deposit Commands (deposit)

Commands for managing validator deposits.

deposit create-validator

Create a validator deposit with necessary credentials.

Flags

deposit validate

Validate a deposit message for creating a new validator.

Flags

deposit validator-keys

Output validator public key in various formats.
Displays the validator key as Comet address, Comet pubkey, and Eth/Beacon pubkey formats.

Genesis Commands (genesis)

Commands for genesis file management. These are largely only of interest to those of us maintaining Berachain, so we have stuck to the generally useful ones.

genesis validator-root

Get and return the genesis validator root hash.

JWT Commands (jwt)

Commands for managing JWT authentication.

jwt generate

Generate a new JWT authentication secret.

Flags

jwt validate

Validate a JWT secret by checking if it’s formatted properly.

Flags