Balancer V3 Router

Execute Balancer V3 router swaps and liquidity actions with Permit2 and ETH handling.

Updated Nov 5, 2025
One-click install
npx skills add https://github.com/cyotee/crane --skill balancer-v3-router
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Balancer V3 Router
Source: https://github.com/cyotee/crane/tree/main/.claude/skills/balancer-v3-router
Command: npx skills add https://github.com/cyotee/crane --skill balancer-v3-router

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Balancer V3 Router simplifies interacting with Balancer V3 routers by unifying token swaps, liquidity actions, and protocol integrations like Permit2 and ETH wrapping behind a single, secure interface.

Core Features & Use Cases

  • Router-based execution of swaps and liquidity operations with proper deadline checks and user-friendly interfaces.
  • Support for multi-hop path swaps via BatchRouter and nested pool operations through CompositeLiquidityRouter.
  • Seamless ETH handling (wrap/unwrap) and Permit2 integration to securely move tokens.

Use Case Example

A DeFi app integrates the Balancer V3 Router to perform a single transaction that swaps ETH for DAI, adds liquidity to a pool, and handles token allowances via Permit2, all while honoring user-specified deadlines.

Quick Start

Invoke the Balancer V3 Router with the required pool address, input token, output token, and desired amounts along with a deadline to execute a swap or liquidity action.

Frequently Asked Questions about Balancer V3 Router

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

FAQPage Schema
How do I execute multi-hop swaps on Balancer V3 routers?

Multi-hop swaps on Balancer V3 routers are executed through the BatchRouter, which enables you to route trades across multiple pools in a single transaction while honoring user-specified deadlines.

How does Permit2 integration work with Balancer V3 liquidity actions?

Permit2 integration securely moves tokens for Balancer V3 liquidity actions by managing allowances, allowing a DeFi app to handle token approvals and pool interactions seamlessly without separate approval transactions.

Can I handle ETH wrapping and unwrapping when using Balancer V3 routers?

Yes, Balancer V3 routers support seamless ETH handling that wraps and unwaps ETH, enabling direct ETH inputs for swaps and liquidity operations within the Vault unlock pattern.

What is the best way to add liquidity to nested pools on Balancer V3?

The best way to add liquidity to nested pools on Balancer V3 is using the CompositeLiquidityRouter, which handles nested pool operations by executing the required RouterHooks and unlock callbacks securely.

Does Balancer V3 support single transactions for swapping ETH and adding liquidity?

Yes, Balancer V3 supports batching swaps and liquidity actions into a single transaction, allowing you to swap ETH for tokens, add liquidity to a pool, and handle Permit2 allowances simultaneously.