MCP.so
ログイン

X402 Trust Layer

@mimranchohan

X402 Trust Layer について

x402 Trust Layer is the trust, security & settlement control plane for autonomous agent payments. It exposes 13 MCP tools that an agent calls around every x402 (HTTP 402) payment:

基本情報

カテゴリ

その他

トランスポート

stdio

公開者

mimranchohan

投稿者

mimranchohan

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "trust-layer": {
      "command": "npx",
      "args": [
        "-y",
        "@mimranakb/trust-layer-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "0x..."
      }
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is X402 Trust Layer?

X402 Trust Layer is a control plane for autonomous agent commerce — a suite of 59 paid x402 APIs that AI agents call before, during, and after spending money to decide trust, allow payments, choose cheapest rails, and verify response value. It settles in USDC over the Dexter facilitator on Base or Solana and is live at x402trustlayer.xyz.

How to use X402 Trust Layer?

Install the npm package x402-trust-layer, configure environment variables (e.g., WEBHOOK_SECRET, AGENT_RATE_LIMIT_PER_MIN, TRUSTSCORE_RPC_TIMEOUT_MS, PRE_X402_GUARD_TIMEOUT_MS), and call the endpoints at https://x402trustlayer.xyz. Wallet Sessions require a $0.10 USDC payment once for a session token.

Key features of X402 Trust Layer

  • Guard preflight spend and risk checks before payment.
  • Attestation issues agent credentials and liability insurance.
  • Performance caching delivers sub-15 ms on-chain reads.
  • Compliance ledgers, disputes, and refund auditing.
  • Settlement rail optimization and metered escrow sessions.
  • Wallet Sessions skip per-call settlement via HMAC tokens.

Use cases of X402 Trust Layer

  • Preflight spend checks and payload sandboxing before any payment.
  • Merchant trust evaluation via on-chain ERC-8004 reputation.
  • Optimal payment rail selection (USDC, EURC, PYUSD, USDT).
  • Post-payment response value verification and receipt auditing.
  • Compliance ledgers, dispute resolution, and refund arbitration.

FAQ from X402 Trust Layer

What payment rails does X402 Trust Layer support?

Primary rail is USDC on Base and Solana via Dexter. Multi-stablecoin fallback adds EURC (MiCA/EU), PYUSD (Stripe regulated), and USDT on Base and Polygon.

What are Wallet Sessions?

Pay $0.10 USDC once for an HMAC-signed session token; attach the x-session-token header on subsequent calls to skip per-call settlement. Sessions expire after 24 hours and support max_calls caps, persisted in SQLite.

What is ERC-8004?

An on-chain agent identity and reputation registry on Base mainnet (contracts 0x8004A169… and 0x8004BAa1…). Responses are cached with 120 s TTL for sub-15 ms lookup. Over 16,500 agents are already registered.

Are there free endpoints?

Yes: POST /api/alchemy/paymaster-policy, POST /api/alchemy/notify-webhook, POST /api/alchemy/simulate-shield, and GET/POST /api/solana-pay/action/agent-verify are free. Webhook and simulation routes bypass x402 payment checks.

How does caching work?

In

コメント

「その他」の他のコンテンツ