Back to skills
extension
Category: Development & EngineeringNo API key required

Crypto Exchange

Cryptocurrency exchange service for LightningEX API supporting multi-mode interaction - natural language chat, CLI commands, and web UI. Use when user wants...

Crypto Exchange Skill (LightningEX)

A versatile cryptocurrency exchange 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:

  • "Swap 100 USDT to ETH"
  • "What's the exchange rate for BTC to USDT?"
  • "Show me supported tokens"
  • "Check order status I1Y0EFP31Rwu"

CLI Mode

Run the CLI:

# Navigate to skill directory
cd /path/to/crypto-exchange

# Start interactive wizard (default)
./crypto-exchange

CLI Commands:

# Start interactive wizard
./crypto-exchange

# List supported currencies
./crypto-exchange currencies

# List supported currency-network pairs
./crypto-exchange pair-list --send USDT --receive USDT
./crypto-exchange pair-list --send USDT --receive USDT --send-network TRX

# Get pair info
./crypto-exchange pair --send USDT --receive USDT --send-network TRX --receive-network BSC

# Check exchange rate
./crypto-exchange rate --send USDT --receive USDT --send-network TRX --receive-network BSC --amount 100

# Validate address
./crypto-exchange validate --currency USDT --network BSC --address 0x...

# Check order status
./crypto-exchange status --id I1Y0EFP31Rwu

# Monitor order until complete
./crypto-exchange monitor --id I1Y0EFP31Rwu

UI Mode

# Launch web UI (default port 8080, auto-assign if occupied)
./crypto-exchange ui

Then open http://localhost:8080 (or the displayed port) in your browser for the DeFi-style trading interface.