For the complete documentation index, see llms.txt. This page is also available as Markdown.

Rails Exchange

Relaunching soon!

Rails Exchange gives eligible traders in supported jurisdictions access to perpetuals and options trading at exchange.rails.xyz. Traders signup directly with Rails and orders execute through our proprietary matching engine. Its hybrid architecture combines fast, off-chain order matching with secure, transparent on-chain custody.

Regulatory Compliance

Rails Exchange is operated by Rails Limited, and is registered with the Cayman Islands Monetary Authority (“CIMA”) as a Virtual Asset Service Provider ("VASP") under registration #2092731 and holds a Securities Investment Business Act license ("SIBA") under license #2224748.

Our complete AML Compliance Program has been tested at scale. Every user is verified through strict identity verification (Know Your Customer (KYC) and Know Your Business (KYB)) checks, transaction monitoring, name and wallet screening checks. Rails partners with external agencies and regulators to conduct regular audits of its program, ensuring institutional readiness.

Architecture

Rails Exchange is a hybrid platform that optimizes the best of decentralized and centralized exchanges, resulting in institutional-grade execution.

The same high-performance back end that fuels Rails Infrastructure is in place. Our centralized order execution and matching engine matches orders with P95 latency under 100 µs. Read our API Docs to learn more.

Custody remains on-chain in audited smart contracts, so your funds are always in your control. Learn more in the next section.

Custody

For accounts on Rails Exchange, funds are held in an on-chain, audited smart contract on Stellar. This means your assets stay under your control and never in Rails' custody. Only you can authorize withdrawals.

Our smart contract audit report will be available here once ready.

This model provides full on-chain visibility and integrates directly with the Rails trading system.

  • User funds are secured in an audited smart contract.

  • On-chain deposit events credit user accounts in real time.

  • Withdrawal requests are routed to the smart contract based on verified balances.

  • Trading activity is consolidated off-chain, then validated and recorded on-chain every 30 seconds, viewable in our Block Explorer.

Because your funds sit in the smart contract rather than in a private company ledger, the rules that govern deposits, withdrawals, and balances are enforced by code that anyone can inspect.

Rails cannot move your funds outside of the conditions defined in that contract, and every change to your balance is anchored on-chain.

Trades are matched off-chain for speed, but the resulting balances are validated and recorded on-chain roughly every 30 seconds. This means you never have to take Rails' word for your position: you can independently verify every deposit, withdrawal, fee, and settlement yourself.

Use our Block Explorer to independently validate any transaction against its on-chain record.

Collateral

All collateral accounts must be deposited to Rails Exchange in USDT on a supported blockchain.

We choose to leverage Tether's USDT token, as USDT is the most widely accepted stablecoin in the world and has a cross-chain transfer service which makes it easy, fast and low cost to bridge other USDT tokens to other supported networks. Additionally, leveraging a single token enables clearer and more transparent tracking and auditing of funds.

Last updated

Was this helpful?