3.1 Basic Configuration

After installing Spicenet, the next step is to configure your validator node. This involves setting up the necessary files and environment variables.

Editing rollup_config.toml

  1. Navigate to your Spicenet directory:

cd /path/to/spicenet
  1. Open the rollup_config.toml file in your preferred text editor:

nano rollup_config.toml
  1. Configure the following key parameters:

    • host: Set this to your server's IP address or "0.0.0.0" to listen on all interfaces.

    • port: Choose a port for your validator (default is usually 12346).

    • da_layer: Configure the data availability layer settings (usually Celestia for Spicenet).

    Example configuration:

[rollup]
host = "0.0.0.0"
port = 12346

[da_layer]
url = "http://localhost:26657"
  1. Save and close the file.

Setting up Environment Variables

Set the following environment variables:

  1. Set the prover mode:

export SOV_PROVER_MODE=execute
  1. If you want to skip ZK guest compilation for faster builds:

export SKIP_GUEST_BUILD=1

Last updated