Skip to content

Deploy Uni Hook

AI agent that deploys Uniswap v4 hooks.

On this page

Generate, simulate, audit, and deploy a Uniswap v4 hook + test pool from a brief, on any Uniswap v4 chain (every testnet and mainnet) - pre-audited templates or a from-scratch freeform hook (flags auto-derived; static audit + dangerous-pattern scan + a behavioral forge test + fork sim gate the deploy). Dry-run by default; explicit arm: to broadcast; testnet default, mainnet behind a double opt-in; records the deploy to main. Every deployed hook inherits a mandatory 10 bps AeonFee protocol fee.

Skilldeploy-uni-hook
CategoryCrypto & Markets
Default scheduleOn demand
SecretsHOOK_DEPLOYER_PRIVATE_KEY?ALCHEMY_API_KEY?ETHERSCAN_API_KEY?
Last updatedcommit 504a21d
Sourceskills/deploy-uni-hook/SKILL.md

What it does#

Deploy Uni Hook is an Aeon skill: generate, simulate, audit, and deploy a Uniswap v4 hook + test pool from a brief, on any Uniswap v4 chain (every testnet and mainnet) - pre-audited templates or a from-scratch freeform hook (flags auto-derived; static audit + dangerous-pattern scan + a behavioral forge test + fork sim gate the deploy). Dry-run by default; explicit arm: to broadcast; testnet default, mainnet behind a double opt-in; records the deploy to main. Every deployed hook inherits a mandatory 10 bps AeonFee protocol fee. Like every Aeon skill it is one SKILL.md prompt file that runs unattended on your own GitHub Actions, on a schedule or when you trigger it, and sends what it finds to Telegram, Discord, Slack or email.

This skill turns a one-line brief into a live Uniswap v4 hook. It is built to be safe: it simulates every deploy before it broadcasts, it defaults to a dry-run on testnet, and it needs an explicit arm: to move on-chain.

Input: the var setting#

Every Aeon skill takes one optional text input, var, set in aeon.yml or typed in when you run it by hand. It picks the target or the mode for that run.

The hook brief. Grammar: [arm:][template:<name>] [chain:<name>] <brief>

  • empty (empty) → print help and exit DEPLOY_HOOK_EMPTY.
  • <brief> → dry-run: generate, compile, mine, and simulate. Never broadcasts. [default - no prefix]
  • arm:<brief> → broadcast: do the full dry-run first, then deploy for real if the simulation passes.
  • template:<name> → force a mode: dynamic | noop | skim (pre-audited templates) or freeform (build a whole hook from the prompt). Omit to auto-pick: a brief that matches a template uses it; anything else → freeform.
  • chain:<name> → any Uniswap v4 chain in chains.tsv (run ./hook-deploy.sh chains to list). Default base-sepolia. Testnets: base-sepolia, unichain-sepolia, arbitrum-sepolia. Mainnets (testnet: false, e.g. base, ethereum, unichain, arbitrum, optimism, polygon, bnb, avalanche, ...) require BOTH arm: and an explicit chain: - the skill never targets mainnet by default. base-mainnet is accepted as an alias for base.

What it needs#

Besides the model you connected to Aeon, Deploy Uni Hook uses the following. Add secrets as GitHub Actions secrets on your Aeon repo, or in Aeon Connect.

  • HOOK_DEPLOYER_PRIVATE_KEY: optional secret, unlocks more data or features
  • ALCHEMY_API_KEY: optional secret, unlocks more data or features
  • ETHERSCAN_API_KEY: optional secret, unlocks more data or features

Install and run it#

Easiest: open Aeon Connect, sign in with GitHub and turn on Deploy Uni Hook. No clone, no terminal. To add it to an existing Aeon repo from a shell, run:

bin/add-skill aeonfun/aeon deploy-uni-hook

Then switch it on in aeon.yml (the default schedule is filled in):

aeon.yml
skills:
  deploy-uni-hook: { enabled: true, schedule: "workflow_dispatch", var: "" }

New to Aeon? Read the docs for how skills, schedules and memory fit together, or browse all skills.

  • Type to search every docs page.

One agent was never enough.

Run Aeon (opens in a new tab)