Cross-platform settlement is the core value proposition of KeyStone. Platform A’s seller and Platform B’s buyer can settle atomically, with contracts handling deposits, execution, and finalization autonomously.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.
How it works
Both platforms independently submit settlement instructions viaPOST /instructions. KeyStone matches them automatically when the second instruction arrives with the same trade reference.
1. First instruction
Platform A submits their side of the trade. KeyStone generates a trade reference:2. Trade reference exchange
Platform A shares the trade reference with Platform B through their own channels. KeyStone does not handle this exchange.3. Matching instruction
Platform B submits their side with the same trade reference. KeyStone validates that the instructions are compatible (same template, different roles, same instruments, matching quantities, complementary directions) and creates a settlement with both parties confirmed.4. Settlement proceeds autonomously
After matching, KeyStone handles compliance screening and attestation. From that point:- Both parties deposit to escrow contracts directly (using their own custody provider)
- Contracts detect deposits complete and auto-execute the swap
- Settlement auto-finalizes
Identity model
KeyStone does not maintain a global identity registry. Each platform provides their own party details in their instruction:- Platform A provides their party’s wallet address, name, and external reference
- Platform B provides their party’s wallet address, name, and external reference
- The trade reference links the two sides together
- KeyStone does not need to know who’s who across platforms