Configuration

Configure Lighthouse anchoring, environment flags, and operational settings.

Fairseq binds ordering to verifiable time via Lighthouse anchoring. Configuration is intentionally small: you provide Lighthouse connectivity and choose an ordering rule (FIFO by default).

Lighthouse configuration

Lighthouse configuration is represented in the SDK as:

use fairseq::{Config, LighthouseConfig};

let config = Config {
    lighthouse: LighthouseConfig {
        url: "https://lighthouse.fairseq.io".to_string(),
        api_key: None, // set if your Lighthouse deployment requires it
    },
};

Feature flags (web app)

The web app reads these environment variables:

  • NEXT_PUBLIC_ENABLE_HOSTED_PROVING
  • NEXT_PUBLIC_ENABLE_BILLING

These flags are used to hide/enable UI for features that are introduced in later prompts.