Skip to content

Decide whether production x402 moves to Base mainnet #330

Description

@crtahlin

The production gateway runs x402 against Base Sepolia using the public x402.org facilitator. Testnet USDC is free from a faucet, so every payment settled there is worth nothing.

Consequences today:

  • Paid pool access earns no revenue. The 100% premium on /pool/acquire is implemented and priced from what the pool actually paid, but it collects play money.
  • The allowance bypass had to be withheld. A settled testnet payment cannot be allowed to bypass the daily allowance, or anyone could faucet their way to unlimited batches bought with real BZZ. That gate is in place, so nothing is currently exposed — but it means the paid path does not function in production.
  • Anything else priced through x402 — direct stamp purchase, bandwidth credit, for-owner batches — has the same property.

Moving to Base mainnet means at least: a facilitator that settles mainnet payments (the public testnet one will not), a receiving address we control and monitor, a real BZZ/USD rate rather than the fixed X402_BZZ_USD_RATE, and a decision about whether the free tier stays open alongside it.

Not urgent, and not obviously the right call — running production on a testnet is a reasonable posture while the paid product is unproven. But it is currently undocumented and easy to mistake for an oversight, and it silently blocks the premium feature from doing anything. Worth an explicit decision either way.

Related: #67 (premium pool pricing, implemented), #57 (x402 production configuration, closed).

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

    costAffects BZZ or running costenhancementNew feature or requestp2Medium priority — planned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions