ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

create-test-pool

Deploy a custom Uniswap pool on the local testnet with configurable parameters. Create pools with specific conditions (thin liquidity, wide spreads, exact tick ranges) to test agent behavior under controlled scenarios. Requires a running local testnet.

Why use this skill?

Deploy Uniswap V2 and V3 pools on local testnets with natural language. Automate liquidity, fee tiers, and price settings for agent testing.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/wpank/create-test-pool
Or

What This Skill Does

The create-test-pool skill is a powerful developer utility designed to streamline the deployment of Uniswap liquidity pools on local development networks (like Anvil or Hardhat). Traditionally, deploying a Uniswap V3 pool involves complex Solidity interactions: calculating the sqrtPriceX96 value, deriving tick ranges, handling token approvals, and managing liquidity provisioning. This skill automates the entire lifecycle, allowing you to create pools using natural language prompts. It handles token resolution, ensures correct sorting, and calculates the math behind liquidity provision, saving developers hours of manual boilerplate work.

Installation

To integrate this skill into your OpenClaw agent, use the following command: clawhub install openclaw/skills/skills/wpank/create-test-pool

Ensure that you have an active local testnet environment running before invoking the skill. The skill is designed to interact directly with the local JSON-RPC provider to deploy and verify pool contracts immediately.

Use Cases

The primary value of this skill lies in creating repeatable, controlled environments for testing agent behavior. Whether you are testing an arbitrage bot or a sophisticated swap strategy, you need to be able to set up edge cases. For instance, creating a pool with extreme thin liquidity allows you to simulate high-slippage conditions. Setting up specific fee tiers (like 0.01% for stablecoins or 1% for volatile assets) helps test price impact calculations. Because the skill supports automatic funding through whale impersonation, you don't need to manually mint fake test tokens for the pool deployer, making it ideal for CI/CD pipelines and rapid prototyping.

Example Prompts

  1. "Create a WETH/USDC pool on V3 with 0.05% fee and $5,000 in liquidity at an initial price of 2500."
  2. "Deploy a test pool for WBTC/USDT on V3 with thin liquidity to test high slippage behavior."
  3. "Set up a DAI/USDC V2 pair for local integration testing."

Tips & Limitations

  • Pre-requisites: This skill will fail if a local testnet is not active. Always initialize your environment using setup-local-testnet before proceeding.
  • Precision: While the skill automates tick calculation, power users can manually define tickLower and tickUpper for advanced range-bound liquidity strategies.
  • Verification: Always follow up a successful deployment with the get_pool_info skill to retrieve the deployed contract address and current state, ensuring the pool parameters match your expectations. Avoid using this on live mainnet networks, as it is strictly intended for controlled development environments.

Metadata

Author@wpank
Stars919
Views1
Updated2026-02-12
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-wpank-create-test-pool": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#uniswap#defi#web3#testing#blockchain
Safety Score: 4/5

Flags: code-execution, network-access