Skip to content

Feature: make facilitator URL configurable #19

@sriakula1

Description

@sriakula1

The facilitator endpoint is currently hardcoded to x402.org in the serverless and agentic flows. With the x402 ecosystem now listing 27+ facilitators on x402.org/ecosystem, it would be useful to make this configurable — e.g., via an env variable like FACILITATOR_URL in the .env files.

This would let users:

  • Test against different facilitators without code changes
  • Use mainnet-capable facilitators (x402.org is testnet-only)
  • Choose facilitators optimized for their use case (latency, gas sponsorship, network support, etc.)

Happy to contribute a PR if there's interest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions