본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

lifi-orchestrator

rhlsthrm 제작

Marketing & Sales
—아직 평가 없음
내 평가

요약

Cross-chain bridging and swapping via LI.FI — the leading bridge aggregator that routes across 30+ bridges and DEXs.

설명

이 스킬이 하는 일

Enables cross-chain token bridging and swapping through the LI.FI aggregator API. Routes transfers across 30+ bridges and DEXs to find optimal rates and paths. Supports 15+ chains including Ethereum, Polygon, Arbitrum, Base, BSC, Avalanche, and Solana.

Aggregates 30+ bridges and DEXs into a single API call, eliminating the need to check each protocol separately for rates and availability.

사용 시점

  • Bridge ETH from Ethereum to Arbitrum for lower transaction fees
  • Swap USDC from Polygon to Base before using a DeFi protocol
  • Compare bridge routes before moving a large token amount
  • Track a cross-chain transaction until it finalizes on the destination chain
  • Move stablecoins between chains to access better yield rates

예시 워크플로

입력

User asks: Bridge 0.1 ETH from Ethereum to USDC on Polygon

에이전트
  1. 1

    Call /quote with fromChain=1, toChain=137, fromToken=ETH, toToken=USDC, fromAmount=100000000000000000

  2. 2

    Parse the returned route for estimated output amount, gas cost, and selected bridge protocol

  3. 3

    Confirm no ERC-20 spending approval is needed since the source token is native ETH

  4. 4

    Sign and broadcast the transactionRequest object from the quote response

  5. 5

    Poll /status with the transaction hash until the bridge reports completion

출력

0.1 ETH bridged to approximately 198 USDC on Polygon via Stargate, confirmed in 6 minutes

요구 사항

  • Ethereum-compatible wallet private key (required to sign and execute bridge transactions)
  • LI.FI API key for x-lifi-api-key header (optional, raises rate limit above 10 requests per minute)

설치

clawhub install rhlsthrm/lifi-orchestrator

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크