Build Smarter V4 Hooks.
Describe your hook, shape its lifecycle visually, and move from a constrained workflow toward reproducible Solidity and an explicit wallet-controlled deployment.
From idea to deployment evidence.
Each stage consumes a typed artifact from the stage before it. AI proposes intent; it does not become the compiler or deployment authority.
Built around the realities of PoolManager.
HookAI models callbacks, permissions, accounting, evidence, and deployment constraints as separate domain boundaries.
AI workflow generation
Schema-constrained intent becomes a capability-bound graph.
Visual node editor
Build, connect, inspect, and validate v4 lifecycle logic.
Permission derivation
Callback and return-delta bits derive from reachable behavior.
Deterministic generation
Versioned templates lower validated DSL into reproducible Solidity.
Foundry build evidence
Compile, test, and retain diagnostics in an isolated worker.
Automated checks
Static source rules and Slither report findings without audit claims.
Scenario simulation
Deterministic swap and liquidity scenarios with explicit inputs.
CREATE2 address mining
Mine a salt whose address encodes the derived permission bitmap.
Ethereum mainnet deployment
The connected wallet reviews and signs an evidence-gated mainnet plan.
Versioning and export
Preserve immutable revisions and export a standalone Foundry project.
Volume-aware fees, without imaginary protocol features.
“Raise swap fees when rolling 24-hour volume exceeds $1M and route 10% of a separately disclosed hook charge to treasury.”
- Dynamic LP fees remain LP revenue.
- Treasury accounting is a separate hook-owned charge.
- Rolling volume comes from hook-maintained state.
- The treasury destination must be supplied explicitly.
- Return-delta accounting receives additional review gates.
A clear artifact at every step.
Nothing silently jumps from a prompt to a wallet transaction.
Describe
State the behavior in plain language. Unsupported capabilities return an explicit response.
Design and validate
Review the generated nodes, edit parameters, and resolve graph or permission errors.
Build and test
Generate reproducible source, compile it, and inspect deterministic test and check evidence.
Review and deploy
Confirm address bits, salt, bytecode, risks, and Ethereum mainnet before the wallet signs.
The model proposes. Typed systems decide.
HookAI uses a strict JSON DSL as the contract between natural language, the editor, protocol validation, generation, simulation, and deployment planning.
{
"callbacks": ["beforeSwap", "afterSwap"],
"nodes": [
{ "type": "trigger", "subtype": "beforeSwap" },
{
"type": "condition",
"subtype": "volumeThreshold",
"config": {
"source": { "type": "hookState" },
"windowSeconds": 86400
}
}
]
}Financial actions stay human-controlled.
Automated checks help identify known classes of risk. They do not replace an independent smart-contract audit.
No private-key custody
HookAI never requests or stores private keys or seed phrases.
Wallet-side signatures
Authentication and deployment confirmations happen in the connected wallet.
AI cannot deploy
AI can propose workflows but cannot sign, broadcast, or silently change destinations.
Schema-constrained output
Unknown nodes and fields are rejected before editor state changes.
Isolated build workers
Compiler and analysis jobs run outside the frontend process with hard limits.
Explicit deployment review
Source identity, permissions, salt, address, findings, and Ethereum mainnet are shown first.
Start from a disclosed pattern.
Templates are workflow starting points—not claims of compilation, review, or deployment.
Turn your hook idea into a reviewable workflow.
Start in demo mode. Connect a wallet only when identity or deployment requires it.
