Create Uniswap Test Pool for Openclaw

Deploy configurable Uniswap V2 and V3 pools on local testnets using natural language commands without writing Solidity scripts.

wpank
v0.1.0
Feb 11, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install create-test-pool

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install create-test-pool using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Create Uniswap Test Pool?

The Create Test Pool skill is a powerful addition to the Openclaw Skills library, designed to streamline decentralized finance (DeFi) development and testing. It allows developers to deploy Uniswap pools on a local testnet environment, such as Anvil or Hardhat, using simple natural language descriptions. Instead of manually calculating sqrtPriceX96 or managing complex tick ranges in Solidity, users can simply specify token pairs, desired liquidity levels, and fee tiers.

This tool handles the heavy lifting of token address resolution, whale impersonation for funding, and pool initialization, making it an essential part of the Openclaw Skills ecosystem for blockchain engineers. By abstracting away the boilerplate code required for pool deployment, it enables developers to focus on testing agent behavior under specific market conditions, such as thin liquidity or extreme price ranges.

Create Uniswap Test Pool Use Cases

  • Create a WETH/USDC pool with thin liquidity to test slippage protection logic.
  • Deploy a test pool with a specific 0.05% fee tier to verify protocol routing and fee collection.
  • Set up a DAI/USDC pool at a 1:1 price ratio to simulate stablecoin market environments.
  • Test agent behavior under high price impact scenarios by deploying pools with low initial liquidity.
  • Rapidly prototype Uniswap V2 pairs or V3 concentrated liquidity positions for smart contract integration testing.

How Create Uniswap Test Pool Works

  1. The skill first verifies if a local testnet environment is active and prompts the user to start one if missing.
  2. It parses the natural language input to extract key parameters like token symbols, fee tiers, initial prices, and liquidity requirements.
  3. It automatically resolves token symbols to their respective contract addresses and ensures proper sorting required by the Uniswap protocol.
  4. If the deployer account lacks the necessary assets for deployment, the tool uses whale impersonation to fund the account automatically.
  5. It executes the deployment via the NonfungiblePositionManager, calculating the correct ticks and price values based on the user's input.
  6. It returns a detailed summary of the newly deployed pool, including the contract address and verification of the initial state for the user.

Create Uniswap Test Pool Setup

To use this skill within the Openclaw Skills framework, ensure you have a local testnet running that forks a network with Uniswap V3 contracts (like Ethereum mainnet).

# Example of how to trigger pool creation via the agent
"Create a WETH/USDC pool with $1M liquidity at a price of 2500 USDC per ETH"

The skill requires the Uniswap MCP server to be properly configured and connected to your local development environment.

Create Uniswap Test Pool Data Schema & Taxonomy

Parameter Description Data Type
token0 / token1 Symbols (e.g., WETH) or 0x contract addresses String
version The Uniswap protocol version (v2 or v3) String
fee The fee tier in hundredths of a basis point (100, 500, 3000, 10000) Integer
initialPrice The starting price of token0 denominated in token1 Number
liquidityUsd The total dollar value of the initial liquidity provided Number
tickLower / tickUpper Optional custom V3 tick boundaries for concentrated liquidity Integer

Create Uniswap Test Pool Advanced Features

  • Automated price-to-tick conversion for concentrated liquidity deployments in Uniswap V3.
  • Integrated whale impersonation capabilities to bypass token balance constraints during local testing.
  • Seamless support for both V2 and V3 pool architectures through a unified natural language interface.
  • Intelligent token sorting and address validation to prevent common deployment errors.
  • Full compatibility with other Openclaw Skills for creating end-to-end DeFi agent testing workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*