zap
Installation
SKILL.md
KyberSwap Zap Skill
Zap into, out of, or migrate between concentrated liquidity positions using KyberSwap Zap as a Service (ZaaS). Given a pool, token(s), amount(s), and tick range, fetch the optimal zap route and build a transaction that handles token ratio calculation, swaps, and liquidity deposit in a single transaction.
This skill supports three flows:
-
Zap In — Add liquidity to a concentrated liquidity pool in one transaction
- GET the optimal zap-in route
- Show zap details and ask for user confirmation
- POST to build the encoded transaction calldata
-
Zap Out — Remove liquidity from an existing position in one transaction
- GET the optimal zap-out route
- Show zap details and ask for user confirmation
- POST to build the encoded transaction calldata