Skip to content

ops+fix: upgrade to v2.0.0 — x402 compliance, 74 endpoints, Node 24, FRED env#13

Open
KelleyHuntPLLC wants to merge 2 commits into
OGCryptoKitty:masterfrom
KelleyHuntPLLC:master
Open

ops+fix: upgrade to v2.0.0 — x402 compliance, 74 endpoints, Node 24, FRED env#13
KelleyHuntPLLC wants to merge 2 commits into
OGCryptoKitty:masterfrom
KelleyHuntPLLC:master

Conversation

@KelleyHuntPLLC

Copy link
Copy Markdown

Summary

Two commits that upgrade HYDRA to v2.0.0 and fix x402 protocol compliance.

Commit 1: 927c1af — ops: fix manifests, upgrade CI to Node 24, add FRED_API_KEY

  • Updates all static manifests: endpoint count 66+ → 74+, sources 18+ → 22+
  • Upgrades all 6 GitHub Actions workflows to Node 24 (Node 20 deprecated June 16)
  • Adds FRED_API_KEY and HYDRA_RELAYER_URL placeholder env vars to render.yaml
  • Rewrites deploy-verify.yml with RENDER_API_KEY path, 8min wait, better stale detection

Commit 2: 5ffc63b — CRITICAL: x402 protocol compliance fix

  • 402 response body now contains standard x402Version: 2, error, and accepts[] array at root
  • Previously used custom nested format that failed x402scan crawler validation
  • Now fully spec-compliant — x402scan, x402 Bazaar, and all x402 clients can discover payment requirements
  • HYDRA extended fields preserved for backward compatibility

After merge

  • Render auto-deploy triggers (autoDeploy: true in render.yaml)
  • x402scan submission will pass validation
  • ScoutGate and MCP Registry listings become accurate

Wallet: 0x2F12A73e1e08F3BCE12212005cCaBE2ACEf87141 (Base mainnet, USDC)

HYDRA Agent added 2 commits June 5, 2026 08:10
…PI_KEY to render.yaml

- Update x402.json, llms.txt descriptions: 66+ → 74+ paid endpoints, 18+ → 22+ sources
- deploy-verify.yml: add RENDER_API_KEY path, extend wait to 8 min, Node 24 env
- All workflows: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true (deprecation fix before Jun 16)
- render.yaml: add FRED_API_KEY and HYDRA_RELAYER_URL placeholder env vars

This push triggers Render autoDeploy to land v2.0.0 on the live service.
Master has been at v2.0.0 since c800806 but Render's autoDeploy queue was blocked.

Co-authored-by: HYDRA Agent <hydra-agent@perplexity.ai>
The 402 response body now follows the x402 v2 spec:
  { "x402Version": 2, "error": "Payment Required", "accepts": [{...}] }

Previously the body used a custom format with payment details in nested
objects, which caused x402scan.com, x402 Bazaar, and all spec-compliant
x402 client libraries to fail to discover/parse payment requirements.

Changes:
- 402 body root: x402Version=2, error=..., accepts=[{scheme, network, ...}]
- accepts[0] contains all required spec fields: scheme, network,
  maxAmountRequired, resource, description, mimeType, payTo,
  maxTimeoutSeconds, asset, extra
- protocol_version bumped to 2 in payment_methods.x402
- HYDRA extended fields preserved for backward compatibility
- PAYMENT-REQUIRED header (base64 encoded) retained

Impact: HYDRA is now discoverable by x402scan.com, x402 Bazaar,
and any x402-spec-compliant agent. All 74 paid endpoints will
appear in x402 directory crawls after next deploy.

Co-authored-by: HYDRA Agent <hydra-agent@perplexity.ai>
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.

1 participant