DARKX Docs
Introduction

DarkX Documentation

DarkX is a perpetual futures DEX built around two ideas the market hasn't combined: dark pool execution and zero-knowledge privacy. Orders cross inside private pools so size never hits the public book. Positions and liquidation levels are sealed with zk proofs. Underneath, orders route through Orderly Network's omnichain liquidity and settle on Ethereum mainnet.

You trade. The chain only sees the net.

In one line Perps with dark pools and zk privacy — trade without telegraphing your size, positions, or stops to the market.

What you'll find here


Core concept

How it works

Every order moves through four layers. The first two happen on your device; the chain never sees a readable order, only the netted result.

Commit

Your client builds a Poseidon commitment of the order and signs it locally. The raw order — side, size, price — never leaves your machine in the clear.

Seal

Uniform-size sealed payloads enter the mempool. Every order looks identical from the outside, so size and intent can't be inferred from the wire.

Match

A zk circuit clears the batch inside a proof. Orders cross against each other and against Orderly liquidity without any party reading the individual orders.

Settle

Net positions route through Orderly Network and settle on Ethereum mainnet. The chain records the net outcome — not who traded what.

Status The zk proving layer is under active development. See Security & audits for what is live, what is in review, and what is still on the roadmap before you commit real capital.

Under the hood

Architecture

DarkX is a thin, privacy-preserving layer on top of proven infrastructure rather than a from-scratch exchange. Three pieces do the work:

Execution — Orderly Network

Matching and liquidity come from Orderly's omnichain orderbook. DarkX doesn't run its own market makers; it routes netted flow into shared liquidity so traders get real depth from day one.

Privacy — zkPrivacy circuits

Orders are Poseidon commitments salted with a client nonce. A proving circuit verifies that a batch was matched correctly without revealing the orders inside it. The relayer that sequences sealed payloads cannot read them.

Settlement — Ethereum mainnet

Net positions and collateral settle on Ethereum. Verification of the matching proof happens on-chain, so correctness is checkable by anyone without exposing individual traders.

Design principle Privacy on DarkX is a property of the protocol, not a promise from an operator. The relayer can't read your orders, and the chain only ever sees the net.

Trading

Getting started

  1. Connect a wallet. DarkX supports any EVM wallet on Ethereum mainnet.
  2. Deposit collateral. Positions are margined in USDC. Your balance funds margin across all markets.
  3. Pick a market. Choose a perpetual (e.g. ETH-PERP) and set your leverage.
  4. Place an order. Your client seals it locally before it ever hits the network — nothing to configure.
  5. Manage the position. Your size, entry, and liquidation level stay private to you.
Tip Because orders are sealed at uniform size, you don't get penalized for trading big. The book can't see your size, so it can't move against you before you fill.

Trading

Markets

Live perpetual markets, all margined in USDC with up to 100× leverage.

BTC-PERP
up to 100×
ETH-PERP
up to 100×
SOL-PERP
up to 50×
ARB-PERP
up to 25×
OP-PERP
up to 25×
AVAX-PERP
up to 25×
LINK-PERP
up to 25×
DOGE-PERP
up to 20×

NoteMarket list and leverage tiers are configured by governance and may change. Always confirm the live tier in the app before sizing a position.


Trading

Fees & leverage

ItemValueNotes
Maker fee0.02%Rebate-eligible on resting flow
Taker fee0.06%Charged on fill
Max leverageup to 100×Per-market, see Markets
CollateralUSDCCross-margined
Funding8h intervalPaid between longs and shorts
Leverage risk High leverage magnifies both gains and losses. At 100× a 1% move against you is a full liquidation. Size accordingly and never risk margin you can't afford to lose.

Protocol

Privacy model

Privacy on DarkX is structural. Here's exactly what is hidden and what is public.

DataVisibility
Your order side, size, and pricePrivate
Your open positionPrivate
Your liquidation levelPrivate
Net market position (aggregate)Public
Settlement on EthereumPublic

Doctrine

  • All orders are Poseidon commitments salted with a client nonce.
  • The relayer that sequences orders cannot read them.
  • The chain only ever sees the net.
  • Your anonymity set is the entire pool — sealed orders are indistinguishable.
Why it matters Public orderbooks leak your intent. Other traders front-run your size and hunt your stops. Sealing orders removes the signal they trade against.

Protocol

Security & audits

DarkX is being built in the open. This table reflects current, honest status — not aspirational claims.

AuditorScopeStatus
Trail of Bitszk circuits + verifier contractsIn review
SpearbitOrderbook integrationScheduled Q3 2026

Reporting a vulnerability

Email security@darkx.xyz with details. Do not open public issues for security bugs. DarkX follows a 90-day responsible-disclosure window, with bounties paid in USDC for confirmed findings, tiered by severity.

Be honest with yourself Unaudited or in-review cryptography can have bugs that lose funds. Until audits complete, treat any capital you deposit as at risk. Don't deposit more than you'd be comfortable losing entirely.

Protocol

SDK

The DarkX TypeScript SDK seals orders client-side and submits them to the relayer. Install:

npm install @darkx/sdk

Place a sealed order:

import { DarkX } from '@darkx/sdk';

// orders are sealed locally before they ever hit the wire
const dx = new DarkX({ wallet, chain: 'ethereum' });

await dx.order({
  market: 'ETH-PERP',
  side:   'long',
  size:   '2.5',
  leverage: 10,
});
Note SDK interfaces are illustrative and subject to change while the protocol is pre-release. Check the GitHub repo for the current API surface.

More

FAQ

Is DarkX itself the dark pool?

No. DarkX is a perpetual futures DEX. Dark pools and zk privacy are how it executes — they're features of the protocol, not the brand identity.

What can the relayer see?

Nothing readable. Orders arrive as uniform-size sealed commitments. The relayer sequences them but cannot decode side, size, or price.

What does the chain record?

The net outcome of a matched batch, plus the verification of the matching proof. It does not record who traded what.

Who provides liquidity?

Orderly Network's omnichain orderbook. DarkX routes netted flow into shared liquidity rather than running isolated market makers.

Is it live and audited?

The trading frontend and brand are shipped. The zk proving layer is in active development and the circuits are in audit review — not yet complete. See Security & audits.


More

Risk disclaimer

This documentation is for informational purposes only and is not financial, investment, or legal advice. Perpetual futures are leveraged instruments and can result in the total loss of your collateral. Privacy and cryptography features described here are under active development and may be incomplete or unaudited at the time you read this.

Use of DarkX may be restricted in your jurisdiction. You are responsible for your own compliance, custody, and risk management. Never deposit funds you cannot afford to lose.