Chit402 possession book

Documentation

The product is the book — who paid which call; hold verify_url; export, policy, and evidence. Install paths are how agents reach the same stamped receipts: Install wires. No account. No API key. A wallet that can pay the 402 is enough. Register is only to hold the book after a collected receipt. Apache-2.0. Public beta at api.chit402.com. Paying it is mainnet USDC.

Principal bookTrustInstall wires → /doorsAPI healthGitHubnpm SDKDisclosureProductsPricingSecurity

Already pay OpenRouter? Keep your route

Chit's Broadcast receiver is on.

Steps from the Broadcast guide; we haven't yet run the full flow end to end on a fresh account.

Mint a book with POST /v1/openrouter/books. No wallet and no payment. The response returns book_id plus an ingest_key that is shown once.

In OpenRouter, enable Broadcast under Settings > Observability. Set the webhook URL to https://api.chit402.com/v1/openrouter/broadcast with header Authorization: Bearer <ingest_key>.

An optional key lets Chit check each generation against OpenRouter. Without an attached OpenRouter key they are marked "Reported via OpenRouter Broadcast (unverified)".

It covers new calls only, with no backfill of past calls.

Receipts are on the reported rail.

Reads are GET /v1/openrouter/books/:book_id/receipts, a JSON list of receipts. The cap is 200. Rows are not added to an agent's USDC spent total.

Guide: docs/product/openrouter-broadcast.md.

Start here

What the book is, and isn't

Collected vs client-attested, what a receipt proves, settled vs unsettled, daily anchors.

book

Products

Stamp, Private Desk, and Private + Attest — book-first seats and what you hold after settle.

seats

Chit in 15 lines

Fastest receipt path — pay USDC, collect verify_url, start the book.

start

Spend audit

Paste a Base or Solana wallet. USDC out by counterparty, public receipt match, no signup. Incomplete scans show no total.

public

1F916 link (draft)

Draft v0. Specimen 1 and Specimen 2 are stamped listing payouts, with verify links.

draft

Deployment

How to deploy the gateway, contracts, and prover.

ops

Positioning

Possession book story — who paid which call, evidence, and policy.

story

Whitepaper

Protocol design: settlement, proofs, circuits, governance.

v2.6

What's new

Builders

Private Spend

vendor_blind for possession sessions — topology privacy, not prompt encryption.

product

Escrow helper

Ledger escrow beside the book for high-value jobs. Settlement-tier escrow is paused while settlement proofs are unavailable.

book

A2A escrow + machine dispute

Agent↔agent job_spec_hash flow on the book — open, fund, submit, release or challenge.

book

M2M API

REST task submit, status, webhooks, quotes.

REST

USDC / x402

Payment rail for the book — agent-side USDC on Base or Solana.

x402

Cloudflare Monetization Gateway

Receipt for an x402 v2 call settled by Coinbase on Base. Evidence is foreign_ingest.

x402

Issuer trust

Current ES256 key, issuer history, and chit402-verify.

trust

Receipt check

Recompute public receipt hashes and check the signed issuer key history.

verify

Verify

Exit codes and the reason anchors chit402-verify prints.

verify

Install doors

Chat /v1 wire, Eliza, ACP, MCP, frameworks, Cloudflare, swarms — peers into the same book.

doors

Operators

Deployment

Base verifier, gateway, manifests.

deploy

Testing

Contract matrix, gateway tests, zkLLM cargo tests.

755+

Hosted API

Public API at api.chit402.com.

api

Auditors

Responsible disclosure

Scope, safe harbour, and how findings are credited.

security

Security design

Trust ladder and settlement surfaces.

model

Probe the paid door

Unauthenticated POST /v1/chat/completions returns HTTP 402. Settle USDC, then retry with X-PAYMENT for a signed receipt with verify_url. Bring your OpenRouter key, get a Chit receipt for every call. Send it as X-OpenRouter-Key. Chit charges the $0.002 receipt and records the model that served plus the OpenRouter-reported cost, labelled paid-by-caller-to-OpenRouter.

Each signed receipt carries hub, model, amount, and verify_url. Each call is charged a quoted price and gets a receipt, paid in USDC on Base or Solana. GET|POST /v1/agents/:agent_id/book is possession-gated last-N collected spend. Tier-2 settlement proofs are off while we upgrade the proving system; standard $0.002 receipts are unaffected.

curl -sS -D - https://api.chit402.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{}'
# → HTTP 402 + PAYMENT-REQUIRED (USDC on Base or Solana)

SDK (x402 payer):

npm install chit402-sdk
# client.chatCompletions({ model: 'xfuel/auto', messages: [...] })

Lower-level M2M path: POST /task-request. Do not use createMockPayer against this host. Windows: curl.exe.

SDK docsInstall doorsFull docs hub