Uniswap V4 Swaps
CommunityEfficiently swap with Uniswap V4 hooks.
Authorcyotee
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Easily understand and simulate Uniswap V4 swap flows, including before/after swap hooks, dynamic LP fees, and multi-hop routing, for analysis and development.
Core Features & Use Cases
- Explains the swap flow from pool initialization to settlement, including beforeSwap and afterSwap hooks and their delta effects.
- Documents how dynamic fees can be overridden or left static, and how liquidity and tick crossings affect outcomes.
- Provides guidance for developers modeling DeFi swap scenarios, validating swap parameters, and integrating with router logic.
Quick Start
Run a swap scenario in a sandbox pool to observe how before/after hooks alter deltas and the final balances.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Uniswap V4 Swaps Download link: https://github.com/cyotee/crane/archive/main.zip#uniswap-v4-swaps Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.