lifi

Installation
SKILL.md

/lifi — Cross-Chain Swaps & Bridges

LI.FI is a cross-chain bridge and DEX aggregation protocol. It finds optimal routes across 35+ blockchains, comparing dozens of bridges (Stargate, Hop, Across, etc.) and DEXes (Uniswap, SushiSwap, 1inch, etc.) to execute token swaps and cross-chain transfers.

Arguments: $ARGUMENTS

Parse the arguments:

  • First positional arg: Action — swap, bridge, track, routes, zap, or a natural language request
  • Remaining args: Details (token names, amounts, chains, tx hashes, etc.)

If no arguments are provided, ask the user what they want to do.

Key Concepts

  • Base URL: https://li.quest/v1
  • The API returns transactionRequest objects (to, data, value, gasLimit, gasPrice) ready to sign — provide these to the agent's wallet
  • Native token address: 0x0000000000000000000000000000000000000000 (for ETH, MATIC, BNB, etc.)
  • Amounts are always in the token's smallest unit (wei): 1 ETH = 1000000000000000000 (18 decimals), 1 USDC = 1000000 (6 decimals)
  • Optional API key via x-lifi-api-key header for higher rate limits (not required)
Installs
3
First Seen
Apr 20, 2026
lifi from skills.volces.com