Explore official x402 v2 prepaid-wallet flow and legacy standalone GDT verification
@grantex/x402@0.4.1 and @grantex/sdk@0.8.2 are published and registry verified. External custody requires an operator adapter.
Key Generation Ed25519
GDT Issuance W3C VC 2.0
GDT Verification Ed25519 + Scope
x402 Flow Simulation HTTP 402
This visual simulation shows the managed prepaid flow. The GDT controls above are a separate legacy token demonstration and do not maintain wallet balance.
1
Agent requests the protected resourceOAuth access is DPoP-bound to /v1/prepaid-wallets
2
API returns official x402 v2 requirementsPAYMENT-REQUIRED: base64(JSON)
3
Grantex checks policy and reserves valueBalance + transaction + rolling + recipient + scope
4
Agent retries with one-time authorizationPAYMENT-SIGNATURE: base64(JSON)
5
Resource server verifies and settlesExact requirements and active reservation required
6
API returns data and settlement resultPAYMENT-RESPONSE: base64(JSON)