Skip to content

feat: close V2 non-plugin gaps vs foundation x402 - #56

Merged
gitctrlx merged 1 commit into
mainfrom
feat/x402-v2-parity-gaps
Aug 9, 2026
Merged

feat: close V2 non-plugin gaps vs foundation x402#56
gitctrlx merged 1 commit into
mainfrom
feat/x402-v2-parity-gaps

Conversation

@gitctrlx

@gitctrlx gitctrlx commented Aug 9, 2026

Copy link
Copy Markdown
Member

Summary

Closes the V2 non-plugin gap program against foundation 3rdparty/x402 (no v1, no third-party extension adapters).

  • Core orchestration: PaymentClient + ClientHooks (on_payment_response), expanded ResourceServer + ResourceServerHooks (Skip / SkipHandler / cancel).
  • EVM schemes: auth-capture and batch-settlement (client / server / facilitator; store-backed batch request path).
  • Extensions: official payment-identifier wire; EIP-2612 and ERC-20 approval gas-sponsoring advertise + EVM wire modules.
  • Transport parity: SkipHandler writes body/Content-Type on HTTP and MCP; sequential Settlement-Overrides (atomic / % / $); Concurrent rejects partial overrides.
  • Quality: just all = fmt + clippy -D warnings + rustdoc -D warnings; full workspace tests green.

Test plan

  • just all (fmt, clippy -D warnings, rustdoc -D warnings)
  • just test (workspace unit + doctests)
  • CI on this PR
  • Facilitator path-dep consumer builds against this branch if required

Out of scope / remaining

  • G8 multi-component live e2e (unit + fixtures only)
  • batch-settlement on-chain claim/sweep operator CLI
  • V1 wire, browser paywall, deferred extension plugins, additional chains

Add PaymentClient/ResourceServer orchestration, EVM auth-capture and
batch-settlement, official payment-id and gas-sponsoring wire, and
Settlement-Overrides / SkipHandler body parity on HTTP and MCP.
Enforce rustdoc in just all; document remaining e2e as partial.
Copilot AI lite review requested due to automatic review settings August 9, 2026 05:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@gitctrlx
gitctrlx merged commit fe21b20 into main Aug 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants