hackquest logo

Darkpool

A privacy based dex on 0G Blockchain.

视频

技术栈

Ethers
Node
Python
Solidity

描述

0G Darkpool is the first privacy-preserving DEX on 0G Network. Unlike existing DEXs where order prices are publicly visible before execution, enabling front-running and MEV, 0G Darkpool encrypts every order price using AES-256-GCM before it leaves the user's browser. Prices are stored encrypted on 0G Storage, order book snapshots are published to 0G DA for verifiability, and matching runs homomorphically via Zama FHE, meaning two orders are compared without either price ever being decrypted. Settlement executes on 0G EVM. The result: a darkpool where traders can swap W0G and USDC.e privately, with no price exposure at any layer of the stack.

本次黑客松进展

Day 1: Designed the FHE matching architecture. Deployed the DarkpoolOTC.sol settlement contract on 0G Galileo testnet. Built the off-chain FHE matching engine in Python using Zama's concrete-python framework. Wired 0G Storage for encrypted order persistence and 0G DA for order book availability.

Day 2: Migrated to 0G Mainnet (chain 16661). Built the Node.js matching server with background FHE loop running every 30 seconds. Submitted real on-chain buy and sell orders (W0G/USDC.e). Built and deployed the frontend with live market price feed, wallet connect, and private swaps table.

Day 3: Stabilized infrastructure with PM2 and Caddy HTTPS. Ran the autonomous matching agent generating real mainnet transactions. Finalized UI positioning as the first Privacy DEX on 0G. Deployed live at https://0gdarkpool.duckdns.org.

融资状态

None.

队长
FFavour Ezeoke
项目链接
部署生态
0G0G
赛道
DeFi