Confidential VM Architecture
TL;DRDarknyx matches hidden orders inside an Intel TDX confidential VM. Hardware
attestation lets a client identify the measured software before revealing an
order, while Solana accepts settlement only from the registered signer set and
only with a valid zero-knowledge proof. This reduces trust in the infrastructure
operator, but does not erase it: clients still trust the approved measurement,
Intel TDX, governance, and the matching policy implemented by that measured code.
Why matching needs a confidential computer
A central limit order book normally needs to see every order. Publishing those orders on-chain would reveal price limits, sizes, timing, and strategy before execution. Pure zero-knowledge matching can hide more of that trust boundary, but makes a feature-rich, low-latency book substantially harder to operate. Darknyx uses a confidential VM as the private execution environment:- encrypted memory limits what the host and infrastructure operator can inspect;
- a hardware-signed quote identifies the software measurement and boot state;
darknyx-teeterminates TLS itself with a boot-random key. Clients bind that certificate to a fresh TDX quote, while the dstacks-suffix route passes the encrypted stream through without learning the order intent (see Transport & Attestation);- the service derives an ordered set of settlement signers, one per Merkle shard.
From measurement to an accepted settlement
Attestation is useful only when it is connected to authority. Darknyx closes that loop in three checks:Which layer guarantees what
This separation is intentional. Asset validity is proof-enforced; matching
policy remains an attested-code guarantee.
What an infrastructure operator can still do
With an approved, correctly attested image and an uncompromised TDX platform, the host should not be able to read plaintext order memory or forge a proof-valid asset transition. It can still:- stop or restart the service;
- delay, drop, or censor network traffic;
- observe timing, volume, and other network metadata;
- attempt to deploy a different image, which clients must reject unless it is an approved release and governance has registered its signer set.
Why one CVM, not a committee
A committee can distribute trust, but adds coordination, latency, and a collusion threshold. Darknyx currently chooses one confidential matching service with multiple shard signers derived inside it. That service can host several isolated market books behind the same attested endpoint. The product tradeoff is straightforward:- faster private matching and a simpler client protocol;
- one attested software release and signer set to evaluate across the venue;
- one login and streaming session across supported markets; and
- a concentrated liveness boundary and shared capacity across those markets.
/instruments entry
reports that market-local readiness. Oracle, governance, and drain reasons
remain independent, so recovery of one subsystem cannot accidentally clear
another. See
Multi-Market Venue.