# Architecture

BuilDex architecture combines blockchain transparency with privacy ensured by zk-proofs:

* **Dark Pool Orderbook** — orders and liquidations are hidden from external observers.
* **Zero-Knowledge Verification** — all trading activity is validated cryptographically.
* **Margin Engine** — supports both cross-margin and isolated margin.
* **Funding Mechanism** — perpetual funding payments are calculated using oracle-based indices.
* **Cross-Chain Bridge** — deposits and withdrawals from external chains are validated with zk-proofs.
