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 分

    請在儲存庫或註冊中心條目中宣告授權條款。