crane-uniswap

Automate Uniswap V2, V3, and V4 swaps, liquidity, and quotes via Crane services.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/cyotee/cyotee-claude-plugin-crane --skill crane-uniswap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crane-uniswap
Source: https://github.com/cyotee/cyotee-claude-plugin-crane/tree/main/.opencode/skills/crane-uniswap
Command: npx skills add https://github.com/cyotee/cyotee-claude-plugin-crane --skill crane-uniswap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Uniswap integration workloads are complex and require coordinating multiple contracts, test bases, and stubs across versions; this skill provides a unified entry point to access V2, V3, and V4 components via Crane's service libraries to simplify development and testing.

Core Features & Use Cases

  • V2, V3, and V4 service access for swaps, liquidity management, and quote calculations
  • Repository-aware components and test infrastructure for end-to-end validation
  • Ready-to-run examples and test bases (TestBase_UniswapV2, TestBase_UniswapV3, etc.)

Quick Start

Show me an end-to-end Uniswap V2 swap example using UniswapV2Service and a TestBase_UniswapV2 deployment.

Frequently Asked Questions about crane-uniswap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an end-to-end Uniswap swap example for V2?

You can run an end-to-end Uniswap V2 swap example by utilizing the UniswapV2Service alongside a TestBase_UniswapV2 deployment through Crane's unified service layer.

What is the best way to manage liquidity across Uniswap V2, V3, and V4?

Managing liquidity across Uniswap V2, V3, and V4 is handled by accessing the respective service libraries through Crane's unified entry point to coordinate deposits and withdrawals.

Does Crane support automated testing for Uniswap V4 quote calculations?

Yes, Crane supports automated Uniswap V4 testing scenarios by providing repository-aware components and specific test bases to fully exercise quote and swap workflows.

Why do I need stub libraries for Uniswap integration testing?

Stub libraries are needed for Uniswap integration testing because Uniswap workloads require coordinating multiple contracts and test bases across versions, which Crane simplifies via unified service libraries.

Can I use Crane to execute deposits and withdrawals on Uniswap V3?

Yes, you can execute deposits and withdrawals on Uniswap V3 by applying Crane's service layer to V3 flows, utilizing the provided repository-aware components and test infrastructure.

What is needed to access Uniswap swap, quote, and liquidity workflows?

To access Uniswap swap, quote, and liquidity workflows, you need the Crane Uniswap modules for V2, V3, and V4 along with the accompanying references to fully exercise the service libraries.