/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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install crypto-swap - After installation, invoke the skill by name or use
/crypto-swap - Provide required inputs per the skill's parameter spec and get structured output
What is Crypto Swap?
Lightning-fast crypto swaps. 240+ coins, best rates, done in minutes. Chat, CLI, or web — however you prefer. It is an AI Agent Skill for Claude Code / OpenClaw, with 170 downloads so far.
How do I install Crypto Swap?
Run "/install crypto-swap" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Crypto Swap free?
Yes, Crypto Swap is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Crypto Swap support?
Crypto Swap is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Crypto Swap?
It is built and maintained by yoyoemily (@yoyoemily); the current version is v1.3.0.