← ClaudeAtlas

lifilisted

Integrate LI.FI for cross-chain swaps, bridging, payments, route discovery, and transfer status tracking across Solana, EVM, Bitcoin, and Sui. Use when building Solana applications or AI agents that need quotes, routes, executable transactions, supported chains/tokens/tools, or cross-chain transfer monitoring.
sendaifun/skills · ★ 128 · AI & Automation · score 81
Install: claude install-skill sendaifun/skills
# LI.FI Cross-Chain Integration Guide Use LI.FI when a Solana app, wallet, backend, or AI agent needs cross-chain token transfers, bridge aggregation, same-chain swaps, payment flows, or transfer status tracking. LI.FI exposes the same routing engine through REST API, SDK, MCP server, CLI, and Widget surfaces. ## Overview LI.FI is a multi-chain liquidity aggregation platform for swaps and bridging. For agent and backend integrations, the REST API is the lowest-dependency default. For frontend apps, prefer the SDK because it handles wallets, signing, execution tracking, and ecosystem-specific transaction handling. For MCP-compatible AI hosts, prefer the LI.FI MCP server for typed tool discovery. Core capabilities: - **Quotes**: Get a ready-to-sign transaction for the best route. - **Routes**: Compare multiple route options and execute step-by-step. - **Status tracking**: Track source and destination chain transfer progress. - **Discovery**: Query supported chains, tokens, bridges, and exchanges at runtime. - **Solana support**: Request Solana-specific chain/token data via `chainTypes=SVM` and use `SOL` as the Solana chain key in API examples. ## Product Surface Selection Choose the smallest surface that matches the task: - **REST API**: Backend services, scripts, and general AI agents. Simple HTTP calls, no runtime dependency. - **SDK (`@lifi/sdk`)**: Frontend or full execution flows. Handles wallet connectors, signing, route execution, and update hooks. - **MCP Server