About
Wraith Protocol is a decentralized, AI-driven "Agent Guard" architecture designed to provide an active defense layer for Liquidity Providers (LPs) in the Uniswap v4 ecosystem. Wraith automates the detection of malicious on-chain patterns, such as rug-pulls, exploit attempts, and toxic MEV flows and executes atomic "Flash-Rescues" to secure user capital before an attack can be finalized.
At its core, the protocol operates through a multi-layered defensive stack:
- The Intelligence Layer (Gensyn Sentinel): Utilizing Gensyn’s Verifiable Compute (AEL), autonomous Sentinel agents monitor the Unichain mempool in real-time. They analyze contract bytecode for malicious opcodes (like `SELFDESTRUCT`) and run toxicity models within a Bitwise Reproducible Execution Environment (REE). This ensures that every threat detection is backed by a cryptographic "Proof of Malice," preventing false positives and ensuring decentralized trust.
- The DeFi Integration Layer (WraithHook): Leveraging Uniswap v4 Hooks, the protocol intercepts pool actions before they occur. It implements a dynamic "Poison Fee" mechanism that can instantly override pool fees to 99.9% for flagged malicious actors, effectively trapping their capital. Furthermore, it utilizes EIP-1153 Transient Storage to manage toxicity states with extreme gas efficiency.
- The Execution Layer (KeeperHub Flash-Rescue): When a critical threat is verified, the protocol triggers a "Quantum Exit." Orchestrated via KeeperHub, this process bundles multiple operations like removing liquidity, swapping assets to stablecoins, and depositing them into a secure vault, into a single, atomic transaction. By utilizing high-priority MEV-protected bundles, Wraith ensures that the LP's assets are rescued before the attacker’s transaction can land on-chain.
- The Messaging Layer (AXL P2P Mesh): To maintain decentralization, Wraith agents (Python-based Sentinels and Node.js-based Keepers) communicate via the AXL P2P Mesh Network. This encrypted, agent-to-agent communication layer removes the need for centralized relayers, ensuring the defense system remains resilient and censorship-resistant.
By combining the modularity of Uniswap v4 hooks with the verifiable intelligence of Gensyn and the reliable execution of KeeperHub, Wraith Protocol transforms liquidity provision from a passive, high-risk activity into a protected, autonomous experience. It is a comprehensive "Active Defense" system for the next generation of decentralized exchanges.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






