v0.29.0 — x402 settlement + DVT facilitator (live)
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}).createPaymentsigns the contract-correct settlement auth — directX402PaymentAuthorization; eip-3009ReceiveWithAuthorizationwith the recipient-bound derived noncekeccak256(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 receivedamount − feeBPSexactly). 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.