Skip to content

v0.29.0 — x402 settlement + DVT facilitator (live)

Choose a tag to compare

@jhfnetboy jhfnetboy released this 28 Jun 10:21
948ff73

Published: @aastar/sdk@0.29.0 (npm; smoke-checked).

x402 go-live with the DVT-hosted facilitator

The x402 client is aligned with the deployed X402Facilitator and the facilitator service now runs on the AAStar DVT nodes (https://dvt{1,2,3}.aastar.io/x402).

  • BREAKING (x402): FacilitatorConfig.createAuthHeaders({endpoint,body}). createPayment signs the contract-correct settlement auth — direct X402PaymentAuthorization; eip-3009 ReceiveWithAuthorization with the recipient-bound derived nonce keccak256(abi.encode(payTo,maxFee,salt)) (C-03).
  • Added: createX402AuthHeaders (§4 stateless HMAC), DEFAULT_X402_FACILITATORS (live), signX402PaymentAuthorization, deriveEip3009Nonce.
  • Tested: byte-identical to the DVT golden conformance fixtures (direct + eip-3009 + HMAC), and a live round-trip verify→settle on-chain (0x95e41bd1…, recipient received amount − feeBPS exactly). Static gates green; full §4 business regression was at 0.28.0 (x402-only delta here).

Cross-repo: YetAnotherAA-Validator#130 (DVT facilitator module — merged & live), aastar-sdk#39.