no_JIT is not just another MEV mitigation tool; it's an academically-grounded defense mechanism that transforms passive Liquidity Providers into strategic, active defenders. By implementing the Nash Equilibrium strategy derived from our Hamilton-Jacobi-Isaacs (HJI) framework, this Uniswap v4 Hook makes JIT attacks economically non-viable, ex-ante.
Read the full academic paper: Defense in Predatory Markets: A Differential Game Framework...
| Feature | Description |
|---|---|
| 🧠 Game-Theoretic Core | Moves beyond simple heuristics to a provably optimal defense strategy derived from differential games. |
| ⚡️ Atomic Deterrence | Detects and punishes JIT liquidity within a single block, before the predatory swap executes. |
| 🔒 Oracle-Free Design | Operates entirely on-chain using pool state variables, eliminating external data dependencies and risks. |
| ⛽️ Gas-Efficient Logic | Minimal overhead on swaps, ensuring it doesn't compromise the core user experience of the DEX. |
Ready to explore? We've structured our documentation to guide you from high-level concepts to deep technical implementation.
| Document | Audience | Description |
|---|---|---|
| 📚 A Gentle Introduction | Everyone | Understand JIT attacks and our core idea. |
| 🛠️ Technical Deep Dive | Developers & Researchers | Explore the math, code, and design decisions. |
| 🌍 Deployment Guide | Protocol Integrators | Learn how to deploy and configure the hook. |
| 🛡️ Security | Security Auditors | Review our security considerations and best practices. |
# Clone the repository
git clone https://github.com/imbue-bit/no_JIT.git
cd no_JIT
# Install dependencies
forge install
# Run the test suite
forge testWe welcome contributions from the community! Whether it's a bug report, a feature request, or a pull request, your input is valuable. Please check out our Contribution Guidelines to get started.
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
Designed with ❤️ for the DeFi Community
