permit2-allowance-flow

Community

Complete Permit2 allowance flow with safe reset.

Authorcyotee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates multi-step ERC20 and Permit2 approvals by ensuring correct, safe spending allowances.

Core Features & Use Cases

  • Automates ERC20 and Permit2 allowance management, including zero-reset patterns for tokens that require it.
  • Validates current on-chain allowances, performs safe retries, and computes time-bound expirations for Permit2 approvals.
  • Suitable for DeFi integrations, token vaults, or any dApp that needs deterministic spend control across multiple addresses.

Quick Start

Provide tokenAddress, spenderAddress, and amountNeeded to configure both ERC20 and Permit2 allowances.

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-allowance-flow
Download link: https://github.com/cyotee/crane/archive/main.zip#permit2-allowance-flow

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.