GoDark Docs
GoDark is a dark pool for perpetual futures. Matching is off-chain. Collateral sits in a program-controlled vault on Solana. The book is a private CLOB with price–time priority. Orders are HPKE-encrypted in transit. Solana records checkpoints, not a public fill tape.
Full documentation as a single file: https://docs.godarkdex.com/llms-full.txt. Page index: https://docs.godarkdex.com/llms.txt.
Documentation
- Introduction: GoDark dark pool: CLOB, price–time priority, TEE sequencing, off-chain matching, on-chain custody
- Connect Wallet: Connect your Solana wallet to GoDark
- Deposit Funds: Deposit crypto assets to your trading wallet
- Trading Interface: Desktop layout modes, order panels, chart, and reference market data
- Programmatic Access: Programmatic trading via official SDKs; REST and SSE as a secondary option
- Authentication: OAuth2 client_credentials bearer token flow
- Base URLs: REST and WebSocket endpoint reference
- Encryption & Transport: HPKE then AES-256-GCM framing, and protobuf AAD for trading
- Get Instruments: Tradable instruments, ids, precision, status, and leverage limits
- Market Data: Public funding-rate, open-interest, volume, and WebSocket market feeds
- Account Info: Encrypted account identity and margin summary snapshot
- Positions: HPKE-encrypted POST snapshot of positions for the authenticated account
- VIP Tiers: Core-through-Apex fee schedule and authenticated tier status/config
- Transparency: Public delayed platform snapshot with head and series
- Settlement Status: Current settlement status fields and supported query surface
- Place Order: Encrypted POST /orders — market, limit, peg, stop_market, stop_limit
- Cancel Order: DELETE /orders/{orderId}
- Modify Order: PATCH /orders/{orderId}
- Get Order: GET /orders/{orderId}
- Open Orders: Encrypted working-order snapshot and reconciliation schema
- Mass Quote: Encrypted limit cancel-replace batches for one symbol
- WebSocket Trading: Connect, login, and trade over a single multiplexed WebSocket
- Orders Channel: Snapshot + incremental order lifecycle updates
- Positions Channel: Authoritative encrypted position snapshots
- Order Types: market, limit, peg, stop_market, and stop_limit
- Time in Force: GTC, IOC, FOK, GTD
- Execution Attributes: AON and minimum fill size
- Pegged Orders: Pyth-mark peg orders with signed peg_offset_bps
- Order Compatibility: Type × TIF × execution attribute matrix
- Trade Protection Rules: Trading protection mechanisms
- Error Codes: Trade ACK, custody, account, earn, and WS admit error catalog
- Rate Limits: API rate limiting
- System Status: Service health, queued acknowledgements, and matching availability
- Status: Live GoDark service status from status.godarkdex.com
- Announcements: GoDark product and platform announcements
- SDKs: Official GoDark client libraries for REST and WebSocket trading
- Python SDK: Encrypted Python client for the GoDark API
- Rust SDK: Encrypted Rust client for the GoDark API
- JavaScript / TypeScript SDK: Encrypted JavaScript and TypeScript client for the GoDark API
- C++ SDK: Encrypted C++17 client for the GoDark API
- Go SDK: Encrypted Go client for the GoDark API
- Java SDK: Encrypted Java client for the GoDark API
- Agent Access: Point an agent at the GoDark skills.md file
- Trade Flow: Order-to-settlement lifecycle
- Margin & Liquidation: Cross and isolated margin, health bands, liquidation takeover, and ADL
- Settlement: Execution, venue-ledger, checkpoint, and withdrawal finality
- Fee Structure: Core-through-Apex maker-taker fee schedule
- Privacy & Encryption: Dark pool privacy with passphrase authentication and HPKE transport
- Collateral Vault: Program-controlled Solana vault for trading collateral