imbue-bit
no_JIT
Solidity

Leverage the novel features and advanced financial mathematics introduced in Uniswap V4 to effectively mitigate just-in-time (JIT) liquidity provision issues.

Last updated Jul 6, 2026
241
Stars
159
Forks
1
Issues
+1
Stars/day
Attention Score
89
Language breakdown
Solidity 55.9%
Python 44.1%
Files click to expand
README

no</em>JIT Banner

no_JIT: A Game-Theoretic Defense for Uniswap v4 LPs

基于微分博弈论的 Uniswap v4 流动性保护钩子
Uniswap V4のLPを守る、微分ゲーム理論に基づくフック

License Solidity Uniswap v4 CI Status


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...

🚀 Key Innovations

| 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. |

📖 Dive Deeper

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.|

⚡ Quick Start

Prerequisites

Installation & Testing

# 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 test

🤝 Contributing

We 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.

📄 License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.


Designed with ❤️ for the DeFi Community

© 2026 GitRepoTrend · imbue-bit/no_JIT · Updated daily from GitHub