> ## Documentation Index
> Fetch the complete documentation index at: https://arcpay-somnia.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Verification

> Live endpoints, public proofs, and local commands for validating ArcPay Somnia.

Use this page to verify that the app, docs, x402 backend, developer API, and Somnia contracts are live.

## Public Endpoints

| Surface              | URL                                                    |
| -------------------- | ------------------------------------------------------ |
| App                  | `https://arcpay-somnia.vercel.app`                     |
| Docs                 | `https://csi-58c5959c.mintlify.app`                    |
| App docs path        | `https://arcpay-somnia.vercel.app/docs`                |
| OpenAPI              | `https://arcpay-somnia.vercel.app/openapi.json`        |
| Agent context        | `https://arcpay-somnia.vercel.app/llms.txt`            |
| HTTP developer tools | `https://arcpay-somnia.vercel.app/api/developer/tools` |
| Hosted MCP bridge    | `https://arcpay-somnia.vercel.app/api/mcp`             |
| Admin analytics      | `https://arcpay-somnia.vercel.app/analytics`           |
| Admin analytics API  | `https://arcpay-somnia.vercel.app/api/admin/analytics` |
| x402 health          | `https://x402.20.208.46.195.nip.io/health`             |
| x402 demo            | `https://x402.20.208.46.195.nip.io/x402/demo`          |

## Curl Checks

```bash theme={null}
curl https://arcpay-somnia.vercel.app/openapi.json
curl https://arcpay-somnia.vercel.app/llms.txt
curl https://arcpay-somnia.vercel.app/api/developer/tools
curl https://arcpay-somnia.vercel.app/api/developer/tools/derive_agent_id?slug=research-agent
curl -X POST https://arcpay-somnia.vercel.app/api/mcp \
  -H "content-type: application/json" \
  -d '{"jsonrpc":"2.0","id":"1","method":"tools/list","params":{}}'
curl https://x402.20.208.46.195.nip.io/health
curl https://x402.20.208.46.195.nip.io/x402/payment-requirements/research-agent
```

`/api/admin/analytics` requires an admin wallet session and reads
`arcpay_somnia_usage_events`, `arcpay_somnia_beta_signups`,
`arcpay_somnia_developer_keys`, and `arcpay_somnia_records`.

## Local Checks

```bash theme={null}
npm run docs:check
npm run build:frontend
npm test
npm run check:worker
npm run check:x402
npm run smoke:auth
npm run smoke:live
npm run smoke:x402
```

`smoke:live` requires a funded Somnia Testnet wallet. It writes small live transactions to validate registry, policy, orders, reputation, cards, privacy intents, invoices, and risk oracle flow.

Run `smoke:live` and `smoke:x402` sequentially. They share the funded signer and should not be run in parallel because public RPC nonce handling can reject concurrent transactions.

## Latest Verified Scope

* Contract suite: registry, order book, treasury policy, spend cards, operator controls, privacy vault, invoices, reputation, and risk oracle
* Live smoke: registry write, policy write, order escrow/settle, reputation review, claim code, webhook breaker, SOMUSD card, STT privacy release, SOMUSD privacy release, invoice settlement, risk oracle
* x402 smoke: health, agent registration, HTTP 402 quote, on-chain payment order, verification, provider fulfillment, protected resource unlock, requester settlement
* Frontend build: all public, auth, dashboard, and operator pages compile
* Developer surfaces: CLI syntax, local MCP syntax, hosted MCP bridge, x402 server syntax, worker syntax, OpenAPI JSON, and docs config
* Usage analytics: app records, beta signups, developer tools, hosted MCP, and x402 gateway events are recorded into Supabase when the usage migration is applied

## Contract Proofs

All deployed contract addresses are listed in `somnia-contracts`. Each address links to the Somnia Testnet explorer from the app's public docs page and from the product `/proofs` page.

## Audit Screen

<img src="https://mintcdn.com/csi-58c5959c/sfarsYsF0PcRgbvc/images/audit.png?fit=max&auto=format&n=sfarsYsF0PcRgbvc&q=85&s=cd29b65259a78a7d10a0c569180e7157" alt="ArcPay audit dashboard" width="1440" height="1100" data-path="images/audit.png" />
