Skip to content

Move relayer gateway defaults into network configuration #811

Description

@collinsadi

frontend/src/lib/relayerMarket.ts hardcodes DEFAULT_GATEWAYS = ["http://127.0.0.1:8787"] and a 720-ledger job deadline inline, separate from where the app's other network endpoints are configured.

Move gateway endpoints and deadlines into the per-network configuration with env overrides.

Acceptance criteria:

  • Gateway defaults come from the same config source as RPC endpoints, per network.
  • A localhost default never ships in a production build.
  • The env vars are documented in frontend/.env.example.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendReact wallet UI and browser clientp3Hardening, polish, and operational maturityqualityCode quality, linting, and maintainability

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions