π§ Inspiration
Most perpetuals exchanges today are either centralized and opaque or fully public on-chain. Traders have to choose between privacy and trust. EigenDEX aims to bridge that gap β a private but verifiable perps DEX where all execution is confidential, yet every trade is cryptographically proven correct.
βοΈ What It Does
EigenDEX runs its matching engine inside attested Intel TDX enclaves on EigenCloud. Each trade, liquidation, and funding update is computed privately within the TEE and produces a cryptographic attestation proving correctness. These attestations are anchored to Ethereum through the EigenVerify contract, while EigenLayer restaking ensures liveness and slashing-based accountability.
ποΈ How We Built It
- Deployed the trading engine as an EigenCompute app inside Intel TDX enclaves.
- Built the on-chain verifier using Hardhat + Solidity to authenticate attestation signatures.
- Connected the enclave backend to a Next.js + Tailwind + ethers.js front-end with live proof logs.
- Simulated EigenLayer AVS restaking logic to demonstrate operator rewards and slashing events.
π§ Challenges We Ran Into
- Debugging cross-layer attestation verification between the enclave and Ethereum.
- Handling EventEmitter leaks from repeated provider connections during dev.
- Designing a UI that communicates both privacy and verifiability intuitively.
π Accomplishments We're Proud Of
- Built the first working prototype of a TEE-anchored perps DEX secured by EigenLayer.
- Completed an end-to-end attestation-to-Ethereum proof pipeline.
- Designed a polished DEX UI with live system health, state-root logs, and verified batch updates.
π What We Learned
- How to deploy and manage verifiable apps on EigenCloudβs attested runtime.
- How restaking economics enforce correctness beyond hardware trust.
- That privacy and transparency can coexist through attestations and cryptographic proofs.
π What's Next for EigenDEX
- Integrate ZK-proofs for zero-knowledge trade verification.
- Expand to multi-enclave networks for distributed order routing and uptime.
- Launch attested liquidity pools and cross-exchange settlement using EigenLayer operators.
- Open-source the attestation verification framework for other verifiable DEX builders.
Built With
- blockchain
- nextjs
- vercel
Log in or sign up for Devpost to join the conversation.