otcX://protocol/documentation/technical-docs

TECHNICAL_DOCUMENTATION

Developer Reference • Integration Guide

ONLINE
#...

System Architecture

otcX is built on a dual-contract architecture: a Registry for project metadata and an OrderBook for trading logic.

Core Contracts

ProjectRegistryV2

Manages project listings, metadata, and TGE activation state.

Project registration
Metadata storage (IPFS)
Status management

EscrowOrderBookV4

Handles order creation, matching, collateral escrow, and settlement.

Order lifecycle management
Collateral escrow (USDC)
Dual settlement paths

Data Flow

Registry                    OrderBook                    Frontend
   │                           │                            │
   │  ┌─ getProject() ─────────┤                            │
   │  │                        │                            │
   │  │  ┌─ createOrder() ─────┼─── validates projectId ───┤
   │  │  │                     │                            │
   │  │  │  ┌─ takeOrder() ────┼─── locks collateral ──────┤
   │  │  │  │                  │                            │
   │  └──┼──┼─ TGE activated ──┤                            │
   │     │  │                  │                            │
   │     │  └─ settleOrder() ──┼─── distributes funds ─────┤
   │     │                     │                            │
   └─────┴─────────────────────┴────────────────────────────┘

Deployment Information

TestnetSepolia

Registry:0xda54Eac428C533bDD560A9f2f0d9641CBfE742B4
OrderBook:0x4AcC9f98D90493BE9C5e33cFD9a4f9cC02cace1D
Stablecoin:Loading...
Registry Owner:Loading...

Testnet Only

Currently deployed on Sepolia testnet. Mainnet deployment coming soon.

Developer Disclaimer

This documentation is provided for informational purposes only. By integrating with otcX:

  • You acknowledge the contracts have not been formally audited
  • You are responsible for your own security review
  • The protocol may contain bugs or vulnerabilities
  • Use at your own risk in production