io.github.digitalweb33333-creator/x402-solana

السجل الرسمي المالية والمدفوعات

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

ماذا يمكنك أن تفعل مع io.github.digitalweb33333-creator/x402-solana؟

  • 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).

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http x402-solana 'https://x402-solana-cva8.onrender.com/mcp/'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "x402-solana": {
            "type": "http",
            "url": "https://x402-solana-cva8.onrender.com/mcp/"
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. x402-solana
  2. Endpoints (10)
  3. Run locally
  4. Deploy (Render)
  5. Architecture
  6. Tooling (tools/)

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

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).

الأسئلة الشائعة

ما هو io.github.digitalweb33333-creator/x402-solana؟

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

كيف أثبّت io.github.digitalweb33333-creator/x402-solana؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http x402-solana 'https://x402-solana-cva8.onrender.com/mcp/'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.digitalweb33333-creator/x402-solana إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.digitalweb33333-creator/x402-solana مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون io.github.digitalweb33333-creator/x402-solana؟

ينشره digitalweb33333-creator. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.