swap-approve

Installation
SKILL.md

KyberSwap Approve Skill

Manage ERC-20 token approvals for the KyberSwap router. Check current allowance, approve exact amounts, approve unlimited, or revoke approvals using Foundry's cast.

Prerequisites

  • Foundry installed: cast must be available in PATH
  • Wallet configured: One of the methods below (only needed for setting/revoking approvals, not for checking allowance)
  • Native token for gas: Approval transactions cost gas (~46k gas for standard ERC-20)

Wallet Setup (One-Time)

⚠️ USE YOUR EXISTING WALLET MANAGEMENT FIRST ⚠️

If you or your agent already have wallet management (key management service, vault, HSM, custodial API, MPC signer, or any secure signing infrastructure), use that. Skip the examples below entirely.

The wallet options below are example setups for development and testing only. They have known security issues: plaintext password files on disk, private keys in shell environments, no access control, no audit trail, no key rotation. Do not use them with real funds in production.

Option A: Encrypted Keystore (Recommended)

Related skills

More from kybernetwork/kyberswap-skills

Installs
3
GitHub Stars
5
First Seen
Apr 6, 2026