SettlementWitness

com.defaultverifierv1.0.1更新於 Sep 30, 2026

Remote-first MCP adapter for emitting Settlement Attestation Receipts; not a verifier.

已驗證Streamable HTTP可網頁執行Other

概覽

AI 產生的概覽

遠端 MCP 轉接器,用來提交任務驗證請求,並取回由託管驗證方簽發的結算證明收據。

功能
SettlementWitness 是 DefaultVerifier 服務的遠端轉接器。它讓助理把任務規格與輸出送到託管端點,並取回帶有密碼學簽章的結算證明收據,結論為 PASS、FAIL 或 INDETERMINATE。收據可用 receipt_id 取得、依錢包地址列出,並能用公開金鑰驗證。README 說明它只負責簽發收據,本身並不是驗證器。
適用情境
當助理或代理流程需要由外部簽發、可驗簽的紀錄,來證明任務符合其規格時使用,例如結算或稽核代理的工作。一般任務執行不需要它;驗證收據也可以用公開金鑰在本機完成。
執行需求
需要連線到 defaultverifier.com 的遠端 streamable HTTP 端點;未宣告任何套件、環境變數或標頭。需要網路存取該服務。本機驗證範例使用 Node.js 或 Python。
安裝前請注意
任務規格、輸出以及可能提供的對手方錢包地址都會送到第三方服務,且對手方值會納入簽章範圍與 receipt_id 的推導。收據是公開的,並可透過依錢包索引的瀏覽器查看,因此不要送出敏感資料。README 指出,目前生效的簽章金鑰以金鑰註冊端點為準,而非 README。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "settlement-witness": {
      "type": "http",
      "url": "https://defaultverifier.com/mcp"
    }
  }
}

README

DefaultVerifier — SAR Verification Infrastructure

SAR (Settlement Attestation Receipt) is a verification protocol that produces cryptographically signed receipts proving whether an AI agent completed a task according to its specification.

DefaultVerifier is a live SAR verifier implementation with a public receipt registry, metrics API, and explorer.

If it matters—Verify it.

Architecture

Understand the SAR stack and verification model:

👉 SAR Architecture


Example Response

{ "witness": "SettlementWitness", "witness_version": "v0", "task_id": "example", "verifier_endpoint": "https://defaultverifier.com/verify", "witness_timestamp": "2026-01-01T00:00:00Z", "receipt_id": "...", "receipt": { "profile": "settlement-witness-verified-v0.2", "task_id_hash": "sha256:...", "verdict": "PASS", "reason_code": "CONDITION_SATISFIED", "ts": "...", "verifier_kid": "...", "counterparty": "0xABC...", "receipt_id": "sha256:...", "sig": "base64url:..." },

"_ext": { "agent_id": "0x123:demo" } }


Notes

  • the receipt payload is issued under the settlement-witness-verified-v0.2 profile; verdicts are PASS, FAIL, or INDETERMINATE
  • when counterparty is present, it is included in signature scope and in receipt_id derivation
  • retired signer keys remain valid for verifying receipts they historically signed; verifier_kid in a receipt is historical evidence and is never rewritten
  • current signer lifecycle (which kid is active vs. retired) is published at https://defaultverifier.com/.well-known/sar-keys.json — treat that endpoint, not this README, as the source of truth for which key is currently active
  • this behavior is implemented and publicly verifiable via the live receipt and key endpoints

SAR Compatibility: This implementation follows SAR verification semantics, with an extended signed payload when counterparty is present.

Demo

Run a full end-to-end verification in ~2 minutes: DEMO.md

Quick Start

1. Create a receipt

curl -X POST https://defaultverifier.com/settlement-witness
-H 'content-type: application/json'
-d '{ "task_id":"quickstart-001", "spec":{"checks":[{"kind":"field_equals","inputs":{"output_path":"$.result"},"expected":"hello"}]}, "output":{"result":"hello"}, "counterparty":"0x1234567890abcdef1234567890abcdef12345678" }'

2. Fetch the receipt

curl https://defaultverifier.com/settlement-witness/receipt/<receipt_id>

Note: use the receipt_id from the returned receipt

3. Verify locally (Node)

cd examples/node-verify node verify.js receipt.json jwks.json

Examples

Node.js verification example: examples/node-verify/

Python verification example: examples/verify_receipt_python.py

Usage: python3 examples/verify_receipt_python.py <receipt_id>

API Endpoints

Create Receipt

POST /settlement-witness

Submits a task verification request and returns a signed SAR receipt.


Retrieve Receipt

GET /settlement-witness/receipt/{receipt_id}

Note: Use the receipt_id from the returned receipt (sha256:...) for retrieval.

Returns a previously issued receipt.


Wallet Receipt Explorer

GET /settlement-witness/receipts?wallet={address}

Returns recent receipts associated with a wallet address.

The public explorer is available at:

https://defaultverifier.com/explorer

This interface allows browsing recent receipts and wallet-indexed delivery history.


Public Verification Keys

https://defaultverifier.com/.well-known/jwks.json

Alternative (SAR protocol reference): https://defaultverifier.com/.well-known/sar-keys.json

Used to verify Ed25519 signatures for receipts.


Key Registry

https://defaultverifier.com/.well-known/sar-keys.json

Registry of verifier public keys referenced by verifier_kid.

來源:README.md,提交 ee3fb1e

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026