Skip to content

basectl

basectl configures and inspects Base nodes across mainnet, Sepolia, devnet, and custom config targets. It ships with the workspace and runs via cargo or the just basectl recipe.

Terminal window
# Build and run with a configuration target
cargo run -p basectl --release -- -c <config>

Supported configurations:

ConfigNetwork
mainnetBase Mainnet
sepoliaBase Sepolia Testnet
devnetLocal Development Network
<path>Custom configuration file
Terminal window
# Mainnet configuration
just basectl mainnet
# Sepolia testnet
just basectl sepolia
# Local devnet
just basectl devnet

basectl is split into two crates:

The binary depends on basectl-cli, clap for argument parsing, anyhow for error handling, and tokio for async runtime.