setup-local-testnet
Spin up a local Anvil testnet with Uniswap deployed and pre-seeded liquidity. One command gives you a full development environment with funded accounts, real Uniswap pools, and zero gas costs. Use when developing, testing, or demoing Uniswap agent workflows.
Why use this skill?
Spin up a local Anvil testnet for Uniswap in one command. Get pre-funded accounts, real pool state, and zero gas costs for your agent testing.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/wpank/setup-local-testnetWhat This Skill Does
The setup-local-testnet skill provides a turn-key solution for developers to launch a production-grade local Ethereum development environment. By leveraging Anvil, this tool automates the complex process of forking live networks, deploying core Uniswap V3 infrastructure, and seeding wallets with necessary liquidity. It eliminates the friction of manual setup by handling port management, state synchronization, and contract address discovery in a single step. The skill is designed to mimic real-world network conditions, ensuring that your agent's interactions with Uniswap V3 protocols are accurate, repeatable, and cost-free.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/wpank/setup-local-testnet
Use Cases
This skill is ideal for developers and testers building agentic workflows on Uniswap. Use it when you need to perform integration testing for trade execution, liquidity provision, or position management. It is also perfect for rapid prototyping where you need to demo an agent's capability without the latency or gas costs associated with public testnets like Sepolia. Because it creates a local fork, you can experiment with complex state changes—such as large swaps or governance proposals—without worrying about the permanence of your actions on a public ledger.
Example Prompts
- "Set up a local testnet for me so I can test my Uniswap router integration."
- "Spin up an Anvil fork of the Ethereum mainnet with pre-seeded liquidity."
- "I need a dev environment for Uniswap; please start a local testnet on port 8545."
Tips & Limitations
- Persistence: Remember that the testnet state is volatile. If you shut down the session, you must trigger the command again to re-seed your accounts.
- Resource Management: While the skill handles basic port management, running multiple forks simultaneously can consume significant system RAM.
- Compatibility: The
forkFromparameter defaults to Ethereum; ensure your system has a valid RPC provider connection configured if you intend to fork chains other than Ethereum Mainnet. - Speed: Forking is faster than creating a blank network because it pulls specific block states rather than deploying individual contracts from scratch, saving significant time during your dev loop.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-wpank-setup-local-testnet": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution
Related Skills
mermaid-diagrams
Create software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams including class diagrams, sequence diagrams, flowcharts, ERDs, C4 architecture diagrams, state diagrams, git graphs, and other diagram types. Triggers include requests to diagram, visualize, model, map out, or show the flow of a system.
api-design-principles
Skill by wpank
auto-context
Automatically read relevant context before major actions. Loads TODO.md, roadmap.md, handoffs, task plans, and other project context files so the AI operates with full situational awareness. Use when starting a task, implementing a feature, refactoring, debugging, planning, or resuming a session.
clear-writing
Write clear, concise prose for humans — documentation, READMEs, API docs, commit messages, error messages, UI text, reports, and explanations. Combines Strunk's rules for clearer prose with technical documentation patterns, structure templates, and review checklists.
track-performance
Track the performance of Uniswap LP positions over time — check which positions need attention, are out of range, or have uncollected fees. Use when the user asks how their positions are doing.