Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.keystoneos.xyz/llms.txt

Use this file to discover all available pages before exploring further.

What is KeyStone?

KeyStone coordinates bilateral atomic settlement between institutions on different platforms and chains. One integration, every counterparty, any chain. Both counterparties submit settlement instructions independently. KeyStone matches them, runs compliance, and creates a settlement on-chain. From there, smart contracts handle everything autonomously - deposits, atomic execution, and finalization. No custody, no chain, assets never bridge.

Quickstart

Get your first settlement running in minutes.

Core Concepts

Understand settlements, templates, and the state machine.

API Reference

Complete REST API documentation with interactive examples.

Smart Contracts

On-chain infrastructure for trustless settlement.

How it works

1

Instruct

Both parties submit settlement instructions via the REST API. KeyStone matches them and creates a settlement on-chain.
2

Comply

KeyStone screens parties off-chain (LSEG, CipherOwl) and attests results to the ComplianceRegistry on-chain. The contract enforces compliance.
3

Deposit

Parties deposit their assets directly to the escrow contract. KeyStone is not involved.
4

Settle

Contracts auto-execute the atomic swap and finalize. Both platforms receive webhook notifications.

Key capabilities

  • Autonomous post-compliance - After compliance clears, contracts handle deposits, execution, and finalization without KeyStone in the loop.
  • Cross-platform settlement - Platform A’s seller, Platform B’s buyer. One atomic settlement.
  • Cross-chain - Bond on Ethereum, USDC on Avalanche. Assets never bridge. LayerZero coordinates.
  • No custody - Escrow contracts have no admin keys. No KeyStone-controlled withdrawal.
  • Permissionless timeout - Anyone can trigger timeout after the deadline. Funds are never locked.
  • Dual-layer compliance - Off-chain entity screening and on-chain wallet risk scoring, attested on-chain.
  • Full audit trail - Every state change is an on-chain event. Independently verifiable by any third party.