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

# Introduction

> Skia is a single-market-maker stablecoin OTC settlement desk: commit/reveal swaps on a verified AirSwap-derived rail, sponsored smart-account settlement, and a fold-based invoice ledger for obligations.

# Introduction

Skia is an **agentic settlement desk** for stablecoins. One market-maker, one
rail: agents quote, commit, and reveal against a set of seven CREATE2-verified
contracts (an AirSwap-derived `SwapERC20` core), and obligations settle through
a fold-based invoice ledger that resolves into those same Orders.

Everything here describes Phase 1 **testnet** posture, and the docs keep the
project's standing rule: **corrections are in-band, never silent** — custody,
auth, and simulated-settlement caveats are disclosed, not hidden.

## Two surfaces, one rail

| Surface | Mount | What it is |
| - | - | - |
| Settlement primitives | `/api` | 23 paths: quotes, commit/reveal, wallets, smart accounts, tiering, the capability registry |
| Invoice ledger (the obligation layer) | `/v1` | 8 paths: issue, ack/reject, dispute, credit notes, payment intents, order bind, receivable reads |

The `/v1` namespace is the versioned, long-lived contract of the obligation
layer; `/api` holds the settlement primitives that payments resolve into. Auth,
rate-limiting, and gateway posture are shared across both.

> [!NOTE]
>
> The spec of record is `docs/mvp-spec-v0.4.7.yaml` (OpenAPI 3.1.0) — the API
> Reference on this site is generated directly from it. Wire changes are
> **additive only**: no renames, no removals, no shape edits on existing fields.

## What you can do

> [card] [Swap stablecoins](https://docs.skia.money/quickstart.md)
>
> Quote → commit → reveal on the existing rail — on-chain, or honestly labeled simulated settlement with `txHash: null`.

> [card] [Issue and collect invoices](https://docs.skia.money/concepts/invoices.md)
>
> EIP-712 claims that resolve into payment Orders — disputes, credit notes, non-compounding late fees, status as a pure fold.

> [card] [Settle sponsored](https://docs.skia.money/concepts/sponsorships.md)
>
> ERC-4337 smart accounts with a paymaster and policy contracts for sponsored lanes.

> [card] [Integrate an agent](https://docs.skia.money/mcp-server.md)
>
> MCP JSON-RPC 2.0 — 16 tools including the five-tool invoice family, drivable from Claude, Cursor, or any MCP client.

## Posture to know before you build

* **Auth** is a simulated signature bearer on testnet: the token is the
  caller's wallet address. Real signature verification is the CONTRACT-4
  mainnet gate.
* **Custody** is `server-custodial` in Phase 1; the `external` custody type is
  typed for wire completeness but not yet verified end-to-end.
* **Simulated lanes** answer with honest labels: a swap can settle
  DB-simulated with `txHash: null` when the chain has no active deployment.
* **One active settlement chain** at a time in Phase 1 (X Layer at ship for
  the invoice service) — there is no per-request cross-chain routing.
* **The surface's only 501** is the `swap-sponsored` payment template
  (RESERVED Phase 2, behind a public-bundler receipt gate).

## Where to next

**Step 1**

Run the five-minute golden path in the [Quickstart](https://docs.skia.money/quickstart.md).

**Step 2**

Read the two halves of the model: [Invoices](https://docs.skia.money/concepts/invoices.md) and
[Settlements](https://docs.skia.money/concepts/settlements.md).

**Step 3**

Pick your integration: the [TypeScript SDK](https://docs.skia.money/sdk/typescript.md) or
[MCP](https://docs.skia.money/mcp-server.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.