Skip to main content

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

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

Swap stablecoins

Quote → commit → reveal on the existing rail — on-chain, or honestly labeled simulated settlement with txHash: null.

Issue and collect invoices

EIP-712 claims that resolve into payment Orders — disputes, credit notes, non-compounding late fees, status as a pure fold.

Settle sponsored

ERC-4337 smart accounts with a paymaster and policy contracts for sponsored lanes.

Integrate an agent

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

1
Run the five-minute golden path in the Quickstart.
2
Read the two halves of the model: Invoices and Settlements.
3
Pick your integration: the TypeScript SDK or MCP.