Skip to main content

Attestations

Skia’s capability and capital data lives in a registry — chains, assets, jurisdictions, provenance — and the registry follows one pinned rule above everything else:
The registry ENCODES restrictions. It does NOT ENFORCE them. Enforcement is application-layer policy that consumes registry-encoded data.
This is the v0.2.0 posture, unchanged.

What the registry encodes

  • Canonical chains — twelve app-chain keys are wire-accepted: eight live (each backed by a canonical testnet deployment) and four dormant (taiko, bsc, polygon, hyperevm — hyperevm staged). Dormant keys are marked status: "dormant" everywhere on the wire.
  • Assets — the accepted stablecoin set per chain, with canonical-deployed mocks distinguished from accepted-only symbols.
  • Jurisdiction restrictions — asset rows can carry jurisdictionRestrictions: the codes where the asset is restricted.
  • Provenance — every attestation row carries asOf and is re-attested on the governance cadence (GOVERNANCE_TTL_SECONDS, 30 days — legal-class data re-attests on the governance clock).
Read it live from the API (GET /api/registry) or through the MCP registry tool — the registry is served, not a static file.

The issuance gate (R-4)

When an invoice is issued, the issuance gate runs — application-layer policy consuming the registry-encoded restrictions. It is one law across every mount: POST /v1/invoices, POST /api/invoices, the demo issuer, and the MCP issue_invoice proxy — the MCP surface never forks settlement logic. What it does:
  1. If the claim’s currency row carries jurisdictionRestrictions, the counterparties’ jurisdiction codes are checked. An overlap refuses with 422 INVOICE_JURISDICTION_RESTRICTED.
  2. The codes are issuer-declared at issue time via the optional counterpartyJurisdictions field (ISO-3166 alpha-2, up to 64 entries, case-insensitive; malformed entries are 400 INVALID_PARAM).
  3. On a RESTRICTED currency, an absent declaration is itself a refusal (422, the no-declaration shape): the gate cannot clear what it cannot check.
Phase-1 gate value is rehearsal-only — X Layer stables carry no restrictions today. The deliberately contained first enforcement proves the mechanism before any real restriction rides on it. Phase 2 replaces the issuer declaration with attested counterparty identity — a service change, never a schema surgery.

The fallback contract — degradation is loud

The gate never misfires against unrestricted issuance. Every branch has a declared fallback, and the response tells you which one ran: restrictionCheck is on every issue response (attested | no-attestation | stale) — an attestation nobody re-verifies degrades loudly, not silently.

Signals that are asserted, not proven

The same honesty extends to the ledger’s declared signals:
  • DEFAULT is an issuer-declared reputation signal after grace — not cryptographic proof of non-payment (the debtor may have paid on a rail outside the issuer’s view).
  • The ack/reject decision word and disputedAmount are ledger-recorded — the disclosed Phase-1 ledger-trust boundary. Phase 2 binds decisions into signed structs alongside the negotiation-transcript protocol.
  • Payments are the exception: the Swap event is the cryptographic receipt (nonce, both parties, both legs, fee, blockNumber).

Phase 2 outlook

  • Attested counterparty identity (replacing the issuer declaration).
  • On-chain claim-registry anchor — hash commitments only.
  • The SECURED class, behind the public-bundler receipt gate.
  • Negotiation transcript protocol.
None of these change the schema — each is a service change, disclosed in the spec’s defer list before it ships.

Where to next