lifi-dev

Community

Build LI.FI cross-chain swaps in minutes.

Authormashharuki
Version1.0.0
Installs0

System Documentation

What problem does it solve?

LI.FI Development Skill provides a complete toolkit for building cross-chain swap and bridge applications using LI.FI, covering SDK, Widget, and API integrations, plus LI.Fuel gas subsidies and integrator monetization practices.

Core Features & Use Cases

  • Widget Integration: Drop-in UI for swaps and bridges with easy theming and configuration.
  • SDK Integration: Programmatic access to routes, execution, and wallet interactions across chains.
  • API Integration: REST endpoints for quoting, routing, and status checks in backend workflows.
  • Gas Subsidy (LI.Fuel): Substituting native gas on destination chains to improve onboarding on new chains.
  • Monetization: Configure integrator fees and track revenue across transactions.
  • Security & Best Practices: Slippage protection, precise approvals, rate limiting, error handling, and transaction monitoring.
  • Use Case: Rapidly spin up a DeFi dashboard or marketplace with multi-chain swaps across 60+ chains and 800+ protocols.

Quick Start

Use the scripts in the scripts directory (for example scripts/sdk_swap_example.ts, scripts/widget_integration.tsx, scripts/api_routes_example.ts) and consult the references (references/widget-guide.md, references/sdk-guide.md, references/api-reference.md) to implement your own LI.FI integration quickly.

Dependency Matrix

Required Modules

@lifi/sdk@lifi/widgetviem

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lifi-dev
Download link: https://github.com/mashharuki/lify-sample/archive/main.zip#lifi-dev

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.