/install crypto-swap
Crypto Swap Skill (LightningEX)
A versatile cryptocurrency swap service powered by LightningEX API with three interaction modes:
- Chat Mode: Natural language conversation for swaps and queries
- CLI Mode: Command-line interface for scripting and automation
- UI Mode: Web-based DeFi interface for visual trading
Quick Start
Chat Mode (Default)
Simply talk to perform exchanges:
Exchange & Rates:
- "Swap 100 USDT to ETH"
- "What's the exchange rate for BTC to USDT?"
- "Exchange rate for 100 USDT (TRC20) to USDT (BEP20)"
Explore:
- "Show me supported tokens"
- "List all currencies"
- "What networks does USDT support?"
Order Management:
- "Check order status I1Y0××××"
- "Monitor order I1Y0××××"
- "Where is my order?"
Cross-chain Swaps:
- "Swap USDT from Tron to BSC"
- "Bridge ETH from Ethereum to Arbitrum"
- "Convert BTC to SOL"
CLI Mode
Prerequisite: Install the CLI tool globally:
npm install -g crypto-swap
Run the CLI:
# Start interactive wizard (default)
crypto-swap
# Show all available commands
crypto-swap --help
# List supported currencies
crypto-swap currencies
# List supported currency-network pairs
crypto-swap pair-list --send USDT --receive USDT
crypto-swap pair-list --send USDT --receive USDT --send-network TRX
# Get pair info
crypto-swap pair --send USDT --receive USDT --send-network TRX --receive-network BSC
# Check exchange rate
crypto-swap rate --send USDT --receive USDT --send-network TRX --receive-network BSC --amount 100
# Check order status
crypto-swap status --id I1Y0...
# Monitor order until complete
crypto-swap monitor --id I1Y0...
UI Mode
# Launch web UI (default port 8080, auto-assign if occupied)
crypto-swap ui
Files
This skill contains the following files:
swap.js- Main CLI script (~1000 lines, open source)package.json- Package metadataSKILL.md- This documentationLICENSE- MIT LicenseREADME.md- Package readmeassets/- Web UI assets (HTML/CSS/JS)
Author: @yoyoemily
Repository: https://github.com/yoyoemily/crypto-swap
License: MIT
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install crypto-swap - 安装完成后,直接呼叫该 Skill 的名称或使用
/crypto-swap触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Crypto Swap 是什么?
Lightning-fast crypto swaps. 240+ coins, best rates, done in minutes. Chat, CLI, or web — however you prefer. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 170 次。
如何安装 Crypto Swap?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install crypto-swap」即可一键安装,无需额外配置。
Crypto Swap 是免费的吗?
是的,Crypto Swap 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Crypto Swap 支持哪些平台?
Crypto Swap 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Crypto Swap?
由 yoyoemily(@yoyoemily)开发并维护,当前版本 v1.3.0。