Add CryptoGuard to x402 ecosystem (Services/Endpoints)#1358
Add CryptoGuard to x402 ecosystem (Services/Endpoints)#1358gpartin wants to merge 1 commit intox402-foundation:mainfrom
Conversation
✅ Heimdall Review Status
|
|
@gpartin is attempting to deploy a commit to the Coinbase Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Pull request overview
This pull request adds CryptoGuard, a crypto trade validation service, to the x402 ecosystem. CryptoGuard provides per-transaction validation powered by a WaveGuard physics engine, offering anomaly detection, rug pull risk assessment, and CEX/DEX price cross-referencing with deterministic PROCEED/CAUTION/BLOCK verdicts at $0.05/scan on Base.
Changes:
- Added CryptoGuard partner metadata with service description and configuration
- Created custom SVG logo featuring shield, candlestick chart, anomaly indicator, and checkmark
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| typescript/site/app/ecosystem/partners-data/cryptoguard/metadata.json | Defines service metadata including name, description, logo path, website URL, and category classification |
| typescript/site/public/logos/cryptoguard.svg | Custom vector logo with visual elements representing security (shield), crypto trading (candlesticks), anomaly detection (alert dot), and validation (checkmark) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "description": "Per-transaction crypto trade validator powered by WaveGuard physics engine. One API call before every trade: resolves token, runs anomaly detection, checks rug pull risk, cross-references CEX/DEX pricing, and returns PROCEED/CAUTION/BLOCK verdict. Also provides portfolio scanning, historical self-comparison, and new DEX pair discovery. $0.05/scan via USDC on Base.", | ||
| "logoUrl": "/logos/cryptoguard.svg", | ||
| "websiteUrl": "https://gpartin--cryptoguard-api-fastapi-app.modal.run", | ||
| "category": "Services/Endpoints" |
There was a problem hiding this comment.
The field ordering in this metadata.json file doesn't follow the newer convention used by recent partner additions. Many recent partners place the "category" field immediately after "name" (line 2-3 position), rather than at the end. While both orderings work functionally, following the more recent pattern would improve consistency. Consider reordering the fields as: name, category, logoUrl, description, websiteUrl.
| "description": "Per-transaction crypto trade validator powered by WaveGuard physics engine. One API call before every trade: resolves token, runs anomaly detection, checks rug pull risk, cross-references CEX/DEX pricing, and returns PROCEED/CAUTION/BLOCK verdict. Also provides portfolio scanning, historical self-comparison, and new DEX pair discovery. $0.05/scan via USDC on Base.", | |
| "logoUrl": "/logos/cryptoguard.svg", | |
| "websiteUrl": "https://gpartin--cryptoguard-api-fastapi-app.modal.run", | |
| "category": "Services/Endpoints" | |
| "category": "Services/Endpoints", | |
| "logoUrl": "/logos/cryptoguard.svg", | |
| "description": "Per-transaction crypto trade validator powered by WaveGuard physics engine. One API call before every trade: resolves token, runs anomaly detection, checks rug pull risk, cross-references CEX/DEX pricing, and returns PROCEED/CAUTION/BLOCK verdict. Also provides portfolio scanning, historical self-comparison, and new DEX pair discovery. $0.05/scan via USDC on Base.", | |
| "websiteUrl": "https://gpartin--cryptoguard-api-fastapi-app.modal.run" |
|
Thanks for the review @Must-be-Ash! Signed commits: Done latest commit is GPG-signed. /v1/dex/new-pairs appearing free: This is by design. CryptoGuard has a 5 free calls/day/IP tier to let developers evaluate the API before committing to x402 payments. After the 5th call from the same IP in a 24-hour window, the endpoint enforces x402 payment (.05 USDC on Base). The free tier logic is in So the data you saw was real you just hit it within the free window. The x402 paywall is fully wired and active beyond that threshold. |
|
Hey @Must-be-Ash — just checking in on this. Commits are signed and metadata is reordered per your feedback from Feb 26. Let me know if anything else is needed for review. Thanks! |
|
hi there, you still have an unsigned commit. All commits must have verified signatures. |
b58bd0b to
d279694
Compare
|
Fixed! Squashed into a single signed commit (d279694). All commits now have verified signatures. Thanks for catching that! |
|
Superseded by #1888 which consolidates both WaveGuard and CryptoGuard into a single PR and uses the correct field ordering (name, category, logoUrl, description, websiteUrl) per the convention suggested in the review. |


CryptoGuard - Per-transaction crypto trade validator powered by WaveGuard physics engine. One API call before every trade: resolves token, runs anomaly detection via wave-equation PDEs (no ML), checks rug pull risk, cross-references CEX/DEX pricing, and returns a deterministic PROCEED / CAUTION / BLOCK verdict.
Endpoints:
POST /v1/validate-trade- Primary: one call, one verdict, every trade vettedPOST /v1/validate-trades- Batch up to 20 tradesGET /v1/scan/{coin_id}- Single token anomaly scanPOST /v1/portfolio/scan- Portfolio batch (up to 50 tokens)GET /v1/scan/{coin_id}/history- Historical self-comparisonGET /v1/rug-check/{chain}/{pair}- Rug pull risk assessmentGET /v1/dex/new-pairs- New DEX pair discoveryPricing: 0.05 USDC/scan on Base
Live: https://gpartin--cryptoguard-api-fastapi-app.modal.run
x402 discovery: https://gpartin--cryptoguard-api-fastapi-app.modal.run/.well-known/x402
Source: https://github.com/gpartin/CryptoGuard
Files: