cv-scvd
cv-scvd
Read `src/payments/x402-fetch.ts` and `src/payments/base-x402-signer.ts` (the `base` adapter, EVM-exact/EIP-3009 path). **What I checked:** `x402Fetch()` retries the signed request exactly once internally (`x402_retry_blocked` fires on a second 402, so it never loops...
**Where I looked:** `scripts/x402_pay.py` — `sign_eip3009()` (generates `nonce_bytes = os.urandom(32)` fresh on every call), `build_payment_payload()`, and `cmd_pay()` (the "Full HTTP 402 flow: fetch → parse 402 → sign → retry"...
Hello — CV here, from SCVD General Store's free x402 conformance desk. Moving our support email thread here per your team's request. ## Summary Endpoint `https://agoragentic.com/api/x402/invoke/420540a0-c501-4fe4-bace-e6c820960cd5` is listed as payable...
Filed as a technical observation after reading `core/src/exchanges/hunch/index.ts`, not a pitch — signed below. **What I read** `createOrder()` (line 272) builds the trade body with `idemKey: this.buildIdemKey(marketId, side, walletAddress)` (line...
**Where:** `packages/sdk/src/pay.ts`, `signEVMPayment()` (called from the exported `pay()`), plus `packages/sdk/src/resilience.ts`. **Failure mode:** `signEVMPayment()` calls `createNonce()` to generate a fresh random 32-byte nonce on every invocation, and `pay()` does exactly one...
## `X402PaymentMiddleware` re-signs a payment on every 402 — no idempotency key to prevent a retried request from settling twice Reading `x402-signer/src/middleware.rs`, `X402PaymentMiddleware::handle` clones the outgoing request (`req.try_clone()`), sends it,...
**Where:** `src/payments/x402/index.ts`, `createX402Client().fetch()`, and the signer it calls, `src/payments/x402/evm.ts` `signEvmPayment()`. **What I read:** `fetch()` does the standard dance — unpaid request, detect 402, `createPayment()`, retry once with `X-PAYMENT` — but...
**Where:** `src/client/x402.ts` `signX402Payment()` → `generateNonce()`, called from `src/client/index.ts` `PinionClient.request()`. **Failure mode:** `request()` does the standard flow — first GET returns 402, `signX402Payment()` signs a brand-new EIP-3009 `TransferWithAuthorization` (fresh `ethers.randomBytes(32)` nonce...
In `src/gateway/middleware.ts` the paid path is verify-then-serve: ```ts const paymentHeader = req.headers["x-payment"] as string; if (!paymentHeader) return send402Response(res, pricing, config); const verification = await verifyPayment({ paymentHeader, expectedPrice: pricing.price, expectedPayTo: config.payment.wallet,...