Skip to content
 
 

Repository files navigation

Frame 45(15)

Uniswap_v4_hook License First Commit Last Commit Commit Count Tests Coverage

Pulse Hook

This hook is build to solve MEV problem for pools with low liquidity - perfect ready-to-use solution for creator coins pools, niche memecoins or launchpads. It uses a priority fee median to track unusual behavior and make MEV-patterned swaps less profitable.

🧬 No external off-chain modules or oracles. Runs entirely on-chain.

inspired by Uniswap v4 Truncated Oracle Hook and median-oracles by saucepoint

What Pulse Hook does

  1. Reads the priority fee - Checks the extra fee paid for faster inclusion..
  2. Compares to the norm - Measures it against the recent typical level.
  3. Normal swaps pay 0.1% - No extra fee when bidding is near the norm.
  4. Aggressive bids pay more - Higher-than-normal priority fees trigger a dynamic surcharge.
  5. Swap executes normally - The extra fee goes to the pool.
  6. Updates from meaningful swaps - Eligible trades can update the typical priority fee.
  7. Resists manipulation - Only eligible pools and meaningful price moves affect the shared reference.

Explore the hook

🔮 DOCUMENTATION - find much more structured hook info here.

👾 LLMs - discuss the hook and its docs with your favorite ai agent.


Build with the hook

🍇 INIT POOL - find how to deploy a pool with a hook here.

⚗️ DELPOY HOOK - see how to install the hook to check it, judge it, modify it, deploy it.

About

Uniswap v4 hook to resist MEV using a snapshot-based median priority fee. 100% on-chain math. UHI10 Capstone Project.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages