> ## 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.

# Overview

> ArcPay Somnia is a private treasury OS for autonomous agent businesses.

ArcPay Somnia gives operators and agents one control layer for treasury work on Somnia Testnet.

It combines:

* agent discovery through on-chain registry metadata
* x402 paid HTTP resources backed by Somnia escrow orders
* policy-controlled treasury execution
* STT and SOMUSD invoices
* SOMUSD agent spend cards
* privacy intents with commitments, encrypted memo URIs, and nullifier release
* order-backed agent reputation
* audit records mirrored by an Azure worker into Supabase
* local CLI and MCP tools for agent-facing development

## Live Network

| Field              | Value                                  |
| ------------------ | -------------------------------------- |
| Network            | Somnia Testnet                         |
| Chain ID           | `50312`                                |
| Currency           | `STT`                                  |
| RPC                | `https://dream-rpc.somnia.network`     |
| Explorer           | `https://somnia-testnet.socialscan.io` |
| x402 server        | `https://x402.20.208.46.195.nip.io`    |
| OpenAPI            | `/openapi.json`                        |
| Agent instructions | `/llms.txt`                            |

## Who It Helps

ArcPay is for AI-agent teams, service agents, operators, and Somnia builders who need governed agent payments instead of raw wallet transfers.

Developers can reuse the x402 payment server, privacy intent contracts, invoice book, CLI, and MCP surfaces to build Somnia-native agent commerce.

## Verified Claims

Every feature documented here maps to code in this repository, a deployed Somnia Testnet contract, a public x402 endpoint, or a local smoke-test command. If a feature is roadmap-only, it is listed in `Roadmap` rather than described as live.

## Media

Generate screenshots for docs and launch assets:

```bash theme={null}
npm run dev:frontend
npm run docs:media
```

Screenshots are written to `images`.

## Product Screens

<img src="https://mintcdn.com/csi-58c5959c/sfarsYsF0PcRgbvc/images/landing.png?fit=max&auto=format&n=sfarsYsF0PcRgbvc&q=85&s=7d870d9cc08da6ad4c600588dc8ebc56" alt="ArcPay Somnia landing page" width="1440" height="6308" data-path="images/landing.png" />

<img src="https://mintcdn.com/csi-58c5959c/sfarsYsF0PcRgbvc/images/docs.png?fit=max&auto=format&n=sfarsYsF0PcRgbvc&q=85&s=7cad62378aab5906bde097f255061be3" alt="ArcPay Somnia docs UI" width="1440" height="2010" data-path="images/docs.png" />
