What problem does it solve?
Deploying a Uniswap v4 hook is risky: a bad hook binding is immutable and can brick a pool or steal funds, and hand-writing Solidity, mining CREATE2 flag addresses, and wiring a test pool is slow and error-prone. This Skill turns a one-line brief into a simulated, audited, and optionally broadcast hook deployment with safety gates before any on-chain write.
Core Features & Use Cases
- Brief-driven hook generation: Pick from pre-audited templates (dynamic fee, no-op, skim) or generate a freeform hook from a natural-language prompt, with flags auto-derived from the implemented callbacks.
- Multi-gate safety pipeline: Static audit (dangerous-pattern scan, onlyPoolManager checks), an agent-written behavioral forge test on a fork, and a full fork simulation all gate any broadcast; dry-run is the default and mainnet requires a triple opt-in.
- Every Uniswap v4 chain: Resolve any v4 chain by name from chains.tsv (Base, Ethereum, Unichain, Arbitrum, Optimism, Polygon, BNB, Avalanche, and more, plus Sepolia testnets), with authenticated Alchemy RPC support and best-effort Etherscan source verification.
- Use Case: Ask for "a dynamic fee hook that raises fees with volatility on base-sepolia" and get a compiled, simulated deploy plan with the mined hook address and routing class; add the arm: prefix to broadcast it for real.
Quick Start
Ask the agent to deploy a Uniswap v4 hook by giving a brief such as "a skim hook that takes a small fee on every swap on base-sepolia", optionally prefixed with arm: to broadcast after the simulation passes.