X402 Solana

io.github.digitalweb33333-creator由 GitHub 账号 digitalweb33333-creator 发布v0.1.0更新于 Oct 24, 2026

x402 paid API tools for AI agents on Solana: crypto safety, market data, KYB/AML verification.

已验证Streamable HTTP可网页运行金融安全与监控商业与电商

概览

AI 生成的概览

远程 x402 付费 API 服务器,让 AI 助手按次以 Solana 上的 USDC 付费,获取代币安全检测、预测市场赔率以及 KYB/AML 查询。

可以做什么
查询企业身份与合规数据:GLEIF LEI 记录和欧盟制裁名单筛查,返回相似度分数与背景信息。检测 EVM 代币的蜜罐、税费、持仓集中度和流动性,并提供融合的交易前结论和更深入的档案报告。检测 Solana SPL 代币的跑路或诈骗风险,包括可执行流动性深度和部署者历史。读取 Polymarket 实时赔率、隐含概率、成交量和流动性。审计 x402 卖家的关键词排名和在代理注册表中的可发现性。
适用场景
适合助手需要按需付费获取合规或加密尽职调查数据、又不想管理 API 密钥的场景,例如筛查交易对手、交易前审查代币,或查看预测市场赔率。
运行要求
远程 streamable HTTP 端点;未声明需要 API 密钥或账户。每次调用通过 x402 协议以 Solana 主网上的 USDC 付费,因此客户端需要已充值的钱包并支持 x402 支付。需要能访问该端点的网络。
安装前请注意
每次工具调用都要付费,从每次 0.01 美元到 1.00 美元不等,以 Solana 主网 USDC 结算;买方免 gas 但仍需支付费用。支付本身就是唯一的身份验证,除此之外没有其他消费限制。结果是第三方风险评分和筛查匹配,并非保证,不应视为金融或合规建议。

安装

在 SourceWeft 中

  1. 打开 控制台中的 X402 Solana,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.digitalweb33333-creator%2Fx402-solana/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "x402-solana": {
      "type": "http",
      "url": "https://x402-solana-cva8.onrender.com/mcp/"
    }
  }
}

README

x402-solana

Paid x402 API tools for AI agents, settled in USDC on Solana (mainnet). A Solana-rail replica of x402-endpoints (Base): same FastAPI quality, same CDP facilitator — payments routed on Solana instead of Base.

  • No API key — payment is authentication.
  • Gasless for the buyer — the CDP facilitator is the transaction fee payer.
  • USDC mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v (6 decimals), network solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp.

Endpoints (10)

PathPriceWhat it does
GET /gleif/lei$0.01GLEIF LEI lookup (KYB, official global registry)
GET /sanctions/screen$0.05EU consolidated sanctions / AML screening
GET /polymarket/odds$0.05Live Polymarket prediction-market odds
GET /crypto/token-safety$0.05EVM token honeypot / rug / tax safety score
GET /crypto/pre-trade-verdict$0.05Fused GO/CAUTION/NO-GO pre-trade verdict (signed)
GET /crypto/token-dossier$0.10Deep token dossier: holders, liquidity, red flags
GET /solana/token-safety$0.01Solana SPL rug/honeypot (static + behavioral)
GET /solana/pre-trade$0.05All-in-one Solana pre-trade BUY-SAFE/CAUTION/AVOID
GET /agent/rank-check$0.10x402 seller keyword-rank pulse in CDP Bazaar
GET /agent/visibility-audit$1.00Full x402 discoverability audit (Ed25519-signed)

Discovery: /.well-known/x402.json, /.well-known/agent-card.json, /llms.txt. Health: /health.

Run locally

bash
python3.12 -m venv .venv./.venv/bin/pip install -r requirements.txt# set env (see .env.example) — CDP keys required for the facilitator./.venv/bin/uvicorn app.main:app --port 8000

Deploy (Render)

One-click via render.yaml (Blueprint). Set the sync:false secrets (CDP_API_KEY_ID, CDP_API_KEY_SECRET, RECEIPT_SIGNING_SEED, optional ANTHROPIC_API_KEY) in the dashboard.

Architecture

Payment layer is 100% in app/main.py (register_exact_svm_server + PaymentOption(network=solana…)); endpoint handlers in app/routers/ are payment-agnostic. Description ≤ 500 chars is enforced at startup (hard CDP /verify constraint). See DIFFERENCES-BASE-SOLANA.md for the full Base→Solana map.

Tooling (tools/)

  • check_facilitator.py — verify the CDP facilitator advertises Solana support.
  • lint_descriptions.py — English-only + ≤500-char lint.
  • gen_discovery.py — regenerate the discovery files from the routes.
  • create_seller_ata.py — create the seller USDC ATA (settlement prerequisite).
  • settle.py — buyer→endpoint settlement (dry by default, --execute to pay).

来源:README.md,提交 a14cc05

工具

10

gleif_lei

Look up any Legal Entity Identifier (LEI) for company information lookup and counterparty / know-your-business (KYB) identity against the official GLEIF global registry — returns legal name, status, jurisdiction, legal form and registered address, real-time, worldwide coverage. Price: $0.01 per call (x402 payment, USDC on Base mainnet).

输入参数lei必填

sanctions_screen

Screen a name against the official EU consolidated sanctions list (FISMA) for anti-money-laundering (AML) and watchlist checks — returns matches with a similarity score and context (EU reference, type, programme), not a binary yes/no. Price: $0.05 per call (x402 payment, USDC on Base mainnet).

输入参数name必填typelimitthreshold

polymarket_odds

Live prediction market odds, implied probabilities and betting-market data from Polymarket — give a market id or slug, get each outcome with its probability (0-1), volume, liquidity and resolution status. Price: $0.05 per call (x402 payment, USDC on Base mainnet).

输入参数market必填

crypto_token_safety

Token safety check before buying — is this token a honeypot or a rug pull? Bundles honeypot detection, buy/sell tax, holder concentration, LP lock and liquidity (GoPlus, Honeypot.is, DexScreener) into a single 0-100 token security risk score with a clear buy/avoid verdict. One call replaces three lookups. EVM chains. Price: $0.05 per call (x402 payment, USDC on Base mainnet).

输入参数chaintoken必填

crypto_pre_trade_verdict

One-call GO/CAUTION/NO-GO pre-trade verdict for AI trading agents: fuses token safety (honeypot, rug, tax, holders), counterparty wallet sanctions screening (OFAC/mixer) and cross-exchange market signal into a single decision with a signed, offline-verifiable receipt. Should I buy this token now? Replaces three separate calls (token-safety + wallet-screen + signal) with one fused GO/NO-GO verdict. EVM chains and Solana. Price: $0.05 per call (x402 payment, USDC on Base mainnet).

输入参数chaintoken必填wallet

crypto_token_dossier

Full degen token dossier in one call: safety score + honeypot/tax + detailed TOP HOLDERS and concentration + liquidity/FDV/volume/pool-age + contract control (owner, creator, mintable, open-source) + an AI red-flag narrative. Deep due-diligence report on a token before aping — the premium tier above a plain safety check. EVM chains and Solana. Price: $0.10 per call (x402 payment, USDC on Base mainnet).

输入参数chaintoken必填

solana_token_safety

Solana SPL token safety, rug check and honeypot / scam detection before trading: is this Solana token a rug pull, honeypot or scam? Verdict SAFE/RISKY/CRITICAL + 0-100 score combining STATIC checks (mint/freeze authority, holder concentration) AND BEHAVIORAL analysis (liquidity, churn, recent dump, tx velocity) plus a blue-chip false-positive guard so USDC/USDT/SOL are never flagged. Pre-trade SPL token security / scam-token detection catching behavioral rugs static checkers miss. Price: $0.01 per call (x402 payment, USDC on Base mainnet).

输入参数deepmint必填

solana_pre_trade

All-in-one Solana pre-trade decision in ONE call: BUY-SAFE/CAUTION/AVOID fusing four scored modules — token security, EXECUTABLE liquidity depth (estimated slippage at $100/$1k/$10k), deployer history/control and holder concentration. Should I buy or avoid this Solana token? Full token due-diligence in one call — replaces 3-4 lookups; built for a trading / sniping agent's risk-review pipeline. Solana trading safety decision and buy/avoid verdict. Price: $0.05 per call (x402 payment, USDC on Base mainnet).

输入参数mint必填

agent_rank_check

Quick check of where an x402 seller ranks RIGHT NOW by keyword-relevance in the CDP Bazaar discovery (not the raw settled-volume rank the free explorers show): best rank + per-category-keyword rank in one cheap call, plus a pointer to the full /agent/visibility-audit when the rank slips. The frequent pulse for monitoring your x402 discoverability. Where do I rank now? Am I being out-ranked on my category keywords? Price: $0.10 per call (x402 payment, USDC on Base mainnet).

输入参数seller必填

agent_visibility_audit

Audit how discoverable an x402 agent/seller is across the agent registries (CDP Bazaar, 402index): keyword-RELEVANCE rank per category (not raw settled-volume rank), a metadata-quality score of your advertised endpoints (schema, output.example, tags, llm_usage_prompt), settle activity, a top-3 benchmark, prioritized fixes, and a DELTA vs a signed snapshot you carry back. Why am I not being found and how do I climb? GEO/AEO discovery audit for x402 sellers, Ed25519-signed. Price: $1.00 per call (x402 payment, USDC on Base mainnet).

输入参数seller必填snapshot

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。