October 28
Berachain Node Install Guide
Here's a concise guide to installing and running a Berachain node:
System Requirements
Installation Steps
bashgit clone https://github.com/berachain/berachain cd berachain
bashberad init <your-moniker> --chain-id <chain-id>
bashcurl -o ~/.berad/config/genesis.json <genesis-file-url>
bashcurl -o ~/.berad/config/app.toml <app-toml-url> curl -o ~/.berad/config/config.toml <config-toml-url>
bashberad start
Using a Snapshot (Optional)
To sync faster, you can use a snapshot:
bashwget <snapshot-url> tar -xvf <snapshot-file>
Running Consensus and Execution Clients
Berachain nodes consist of a consensus client (beacon-kit) and an execution client (e.g., reth):
bashgit clone https://github.com/berachain/beacon-kit cd beacon-kit make build
bashgit clone https://github.com/paradigmxyz/reth cd reth cargo build --release
bash./target/release/reth node --datadir <path-to-data> --chain <path-to-genesis> --http --ws
bash./build/bin/beacond start --home <path-to-data> --beacon-kit.engine.jwt-secret-path <path-to-jwt>
Remember to secure your priv_validator_key.json
if running a validator node