Introduction
This is the developer surface for the CRX network. Network data reads and the request-for-quote (RFQ) workflow run two ways: over the relayer API off-chain, or directly against the core contract on-chain.
NoteSandbox on Base Sepolia. Everything here runs in CRX's Sandbox on Base Sepolia (chain id 84532). It is the integration environment: the full RFQ and settlement lifecycle runs end to end before production.
What can be built
The API (~4 min)
Run the RFQ workflow and read the maker and taker registries through the relayer's REST endpoints. Authentication is a challenge followed by a login; the trade path itself needs no session. Integration is directly against the REST API with fetch, reading the chain over RPC; the endpoint registry is the typed contract for every route.
Read the network (~3 min)
Pull live prices and marks, positions, settlement, and the registries — over the relayer when speed is needed, or directly from the core contract over RPC when certainty is needed.
Two layers: off-chain and on-chain
The relayer carries messages and never takes custody. It routes the request for quote, prices margin, and anchors the agreed quote on-chain. The bind itself happens on-chain: the risk engine opens both sides of the position in one transaction.
- Off-chain (relayer): the RFQ workflow, margin estimates, and the maker and taker registries. This path is low-latency and session-light.
- On-chain (the core contract): balances, account control agreements, positions, the mark, and settlement state. Read directly over RPC when certainty is needed.
Get Started
New here? Run three live calls end to end in Quick Start (~5 min). Then fund a wallet — faucet, deposit, and withdraw — in Fund the Account (~6 min). Each surface above links to its own get-started page.
The full model behind it is one page: How CRX works (~3 min).