Skip to content
marie-fourier edited this page Jan 1, 2025 · 1 revision

CLI

Subcommands

  • standalone - runs a standalone bundler. Standalone bundler is simply a bundler without p2p features and it only accepts userops via the RPC interface.
  • node - runs a bundler with p2p features. In order to connect to a shared mempool, you must provide bootnode's ENR.

Common options

Global options

  • configFile - path to configuration file (default: ./config.json)
  • dataDir - path to persistent storage used by the bundler for mempool and other info (default: ~/.skandha/db)
  • testingMode - runs bundler in testingMode. Required when testing bundler against eth-infinitism's test-suite (default: false)
  • unsafeMode - bundler will skip checking simulation rules (opcode and stake check) (default: false)
  • redirectRpc - redirect RPC calls to underlying ETH1 client (default: false)

HTTP API options

  • api.cors - Configures the Access-Control-Allow-Origin CORS header for HTTP API (default: *)
  • api.address - Set host for HTTP API (default: 0.0.0.0)
  • api.port - Set port for HTTP API (default: 14337)
  • api.enableRequestLogging - Enable request logging (default: false)
  • api.ws - Enable websocket interface (default: true)
  • api.wsPort - Set port for websocket interface (default: 14337)

P2P API options

  • p2p.host - P2P host (default: 0.0.0.0)
  • p2p.port - P2P port (default: 4337)
  • p2p.enrHost - P2P ENR IP (default: 127.0.0.1)
  • p2p.enrPort - P2P ENR port (default: 4337)
  • p2p.bootEnrs - P2P boot ENRS (default: [])
  • p2p.retainPeerId - P2P persist network identity (default: true)

Execution options

  • executor.bundlingMode - Default bundling mode (default: auto). Can be auto or manual. When set to manual, bundler will bundle and submit userops only after explicitly calling debug_bundler_sendBundleNow.

Metrics options

  • metrics.enable - Enable Prometheus monitoring (default: false)
  • metrics.host - Metrics host (default: 127.0.0.1)
  • metrics.port - Metrics port (default: 8008)
Clone this wiki locally