About
iDarkPool is a decentralized exchange (DEX) that delivers private, MEV-resistant trade execution by combining on-chain settlement with off-chain confidential computing. Traders submit encrypted orders; those orders are matched inside a secure enclave (Intel SGX) operated via iExec, and only the finalized settlement is posted on-chain. This prevents front-running, sandwiching, and strategy leakage while preserving the auditability of on-chain outcomes. How It Works (Lifecycle)
Submit (User → Chain + Enclave)
The user crafts and encrypts an order locally (asset pair, side, size, limits, expiry, etc.).
A small on-chain “order commitment” may be posted (or a fee escrow), while the full encrypted payload is sent to the iExec worker.
Process Privately (Enclave)
The SGX enclave attests its identity and code hash, then decrypts incoming orders.
It validates balances/allowances, applies matching logic (price-time priority, crossing rules, limits), and builds a settlement bundle.
Optional: internal netting/batching to minimize gas and slippage.
Finalize On-Chain (Settlement Contract)
The enclave submits a signed settlement to the smart contract.
The contract verifies enclave attestation/signature, checks user approvals/escrows, and atomically transfers tokens according to the batch.
The chain records only the settlement results, not the original per-order details.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






