x402receipts

com.x402receipts由 x402receipts.com 發布v1.0.0更新於 Oct 27, 2026

Record x402 agent purchases as reconciled, auditable receipts; verify any receipt on the ledger.

已驗證STDIO僅桌面金融安全與監控

概覽

AI 產生的概覽

把代理的 x402 購買記錄成可對帳、可稽核的收據,並可在公開帳本上驗證任一收據。

可以做什麼
  • 記錄 x402 付費呼叫的收據,包含資源、金額、交易對手與交易參照
  • 在公開帳本上依驗證演算法核驗某張收據
  • 查詢收據服務的服務資訊
  • 將已記錄收據與 Base、Solana 上的 USDC 支出對帳,並把未匹配的付款標示為例外
適用情境
適用於代理會為 x402 資源付費,而你需要可稽核的支出紀錄、給財務的月報,或向第三方證明某筆購買的情況。
執行需求
以 stdio 在本機執行,通常透過 npx 啟動。可選設定 X402RECEIPTS_EVM_PRIVATE_KEY(持有 Base 上 USDC 的 0x 私鑰)與 X402RECEIPTS_SOLANA_PRIVATE_KEY(持有 Solana 上 USDC 的 ed25519 私鑰)。需要能連線服務端點的網路;不需 API key。
安裝前請注意
此伺服器要求提供持有 USDC 且可動用的私鑰:記錄費用為每個代理錢包每個有記錄購買的日子 0.01 美元,由代理自己的錢包透過 x402 以 USDC 支付。私鑰屬敏感憑證,建議使用專用的低餘額錢包。收據資料會傳送給第三方服務,該服務會公開驗證頁面並在外部錨定日誌根。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 x402receipts,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

x402receipts

Accounting infrastructure for autonomous spending. Every x402 purchase an agent makes becomes a receipt, reconciled against the on-chain transaction, with missing or unmatched payments flagged, monthly statements for finance, and evidence anyone can verify.

Use it

In code — one wrapper around the fetch your agent already pays with (npm i x402receipts-sdk):

ts
import { wrapFetchWithPayment } from "@x402/fetch";import { withRegister } from "x402receipts-sdk";
const register = withRegister(fetch, { endpoint: "https://app.x402receipts.com", payWith: () => pay });const pay = wrapFetchWithPayment(register, wallet);

As an MCP server (npx -y x402receipts-mcp): record_receipts, verify_receipt, service_info. See packages/mcp.

Over HTTP: POST https://app.x402receipts.com/api/v1/receipts — answers 402 with the x402 challenge; any x402 client pays it.

With an AI coding tool: paste the integration prompt into Claude Code or Cursor.

The format is an open standard

The record, its fingerprint, the append-only log above it, the anchor record and the verification algorithm are published as ARR-1 — Agent Receipt Record, released into the public domain (CC0). JSON Schemas are in spec/arr-1/. Implement it yourself, or check our implementation against it.

ARR-1 builds on existing standards rather than replacing them: the tree is the RFC 9162 profile used by Certificate Transparency, checkpoints are published as HCS-27 messages, accounts are named with CAIP-2/CAIP-10, and agents with HCS-14 identifiers.

In this repo

PathWhat
spec/arr-1/the ARR-1 specification and its JSON Schemas (CC0)
sdk/the x402receipts-sdk npm package (single file, no dependencies)
packages/mcp/the x402receipts-mcp MCP server
examples/plain Node, Vercel AI SDK, LangChain, OpenAI Agents
integrations/agentkit/Coinbase AgentKit action provider
integrations/x402-ecosystem/x402.org ecosystem entry

How it works

  1. Capture — the SDK records each paid call: resource, amount, counterparty, transaction reference, request/response fingerprints, delivery status, and the seller's signed receipt when it issues one (x402 offer-receipt).
  2. Reconcile — the connected wallets are read on Base and Solana; every outgoing USDC payment is matched to a receipt. What doesn't match is an exception, not an average.
  3. Prove — each night, the account's whole receipt log is hashed into one RFC 9162 Merkle tree and its root is written to the Hedera Consensus Service, linked to the previous day's root. Every receipt has a public verification page that redoes the maths in the browser.
  4. Report — the owner signs in with the wallet: spend by supplier, the register, CSV and signed JSON export.

Guide: https://x402receipts.com/guide.html · Status: https://app.x402receipts.com/status · Contact: [email protected]

MIT licensed.

來源:README.md,提交 0dbd9eb

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 27, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分