Technology Overview
Singularity’s Darkswap – Technical FAQ
1. How does private execution work in DarkSwap?
DarkSwap submits orders through Singularity’s zero-knowledge execution layer. Users generate encrypted intents locally, and the settlement contract verifies validity via zk-proofs — ensuring trades execute correctly without exposing asset, size, or direction.
2. How does the matching engine operate without revealing order details?
Obfuscated orders are sent to the matching coordinator. The matcher pairs compatible orders and produces proofs attesting that:
Price conditions were respected
Balances were sufficient
Counterparty matching was valid These proofs are then verified on-chain before settlement occurs.
3. How does non-custodial settlement work if trade data is private?
The settlement contract sees only:
Validity proof
Token movement outcome It never sees the input order metadata. This achieves auditable settlement while preserving transaction confidentiality.
4. How are market makers integrated into DarkSwap without leaking inventory signals?
Market makers run a local Maker API server:
They stream bulk orders privately
Manage inventory without exposing order flow
Receive fills through encrypted channels, then settlement happens on-chain via proofs
A GUI version is planned to support professional trading workflows without needing local infra.
5. How does DarkSwap prevent MEV and order leakage?
Orders never enter the public mempool. Because no asset/size/side metadata leaks, searchers cannot detect or frontrun execution — removing sandwiching, liquidity probing, and footprint tracking.
6. How can trades be verified if nobody sees the orderbook?
Verifiability moves from inspection to provability:
The matching engine generates proofs
Settlement verifies them This replaces transparent mempool visibility with cryptographic correctness guarantees.
7. How will matching decentralize in the roadmap?
DarkSwap moves toward a P2P matching network where:
No node sees the full orderbook
Peers hold partial encrypted state
Matching is coordinated through zk-validated interactions
This eliminates reliance on a central coordinator while preserving privacy.
8. What happens when assets exit the darkpool?
Withdrawals send tokens back to a public address. Balances are visible again, but trade history remains unrecoverable — observers cannot see how deposits evolved into outputs.
Last updated