jb-split-hook
Installation
SKILL.md
Juicebox V5 Split Hook Generator
Generate custom split hooks for Juicebox V5 projects based on natural language specifications.
What Are Split Hooks?
Split hooks allow custom processing when funds are distributed through payout splits or reserved token splits. They're useful for:
- DeFi integrations: Route payouts to liquidity pools, staking, or yield protocols
- Multi-recipient routing: Split a single split further among multiple addresses
- Token swaps: Convert received tokens before forwarding
- Custom accounting: Track or transform distributions
Note: Split hooks can be added to Revnets for token distribution just like any other Juicebox project.
V5 Split Hook Architecture
Split hooks implement a single function that receives funds optimistically and processes them.