permit2-router-witness

Community

Manage Permit2 witnesses for Balancer V3 swaps.

Authorcyotee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generate and validate Permit2 witness signatures for Balancer V3 router swaps to enable secure signed trades.

Core Features & Use Cases

  • Canonical witness retrieval: Reads and uses the router-provided witness type string and hash.
  • Typed-data signing: Enforces EIP-712 signing for witness payloads, preventing unsafe signing methods.
  • Nonce/deadline handling: Generates fresh nonces and enforces strict expiry to prevent replay.

Quick Start

Configure and call the signed swap path using the router's Permit2 witness to authorize a Balancer V3 trade.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: permit2-router-witness
Download link: https://github.com/cyotee/crane/archive/main.zip#permit2-router-witness

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.