The settlement lifecycle
Every settlement follows this pattern:- Instruct - Both counterparties submit instructions via the API. KeyStone matches them and creates a settlement on-chain.
- Comply - KeyStone screens parties off-chain (LSEG, CipherOwl) and attests results to the ComplianceRegistry on-chain.
- Deposit - Parties deposit their assets directly to the escrow contract. KeyStone is not involved.
- Execute - The last deposit executes the settlement inline once the compliance gate passes: the KeystoneSettlement contract pays every leg to its recipient bound at registration, all-or-nothing. Fully autonomous - KeyStone sends no transaction.
- Finalize - Assets are delivered to counterparties. Both platforms receive confirmation via webhooks.
Building blocks
Settlements
The core transaction object, registered on-chain on the KeystoneSettlement contract.
Templates
Reusable workflow definitions that control the state machine.
State Machine
Contract-enforced transitions with compliance and deposit gates.
Parties and Legs
Who is involved and what obligations they have.
Compliance
Off-chain screening, on-chain attestation, contract-enforced gate.
Cross-Platform
Bilateral instruction matching across platforms.
Tokenised Repo
Two linked DvP settlements for repurchase agreements.