> For the complete documentation index, see [llms.txt](https://deluthium.gitbook.io/tutorial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://deluthium.gitbook.io/tutorial/deluthium-dark-technical-overview/dark-pool-architecture.md).

# Dark Pool Architecture

The Deluthium Dark Pool is an integrated execution and settlement system designed for adversarial, high-speed onchain markets. The architecture consists of three core subsystems working together:

**(i) The Dark Pool Execution Engine** acts as the orchestrator. It receives orders, protects their intent from public exposure, and coordinates the matching and routing process. At its core is the RL engine, which reads real-time market state and determines the optimal execution strategy for each order.

**(ii) The Credit Vault** serves as the settlement layer. It enables atomic execution flows where credit provisioning, trade settlement, and state transitions occur within a unified onchain context. Assets remain non-custodial throughout the process.

**(iii) The ZK-Merkle Tree Verification** mechanism acts as the trust anchor. Execution proofs are published onchain immediately upon settlement, and users have a 14-day window to cryptographically verify the fairness of the execution.

Together, these subsystems form an architecture that prioritizes execution quality, order protection, and verifiable settlement.
