Installation
Core Widget Package
With Blockchain Providers
For full multi-chain support including Ethereum, Solana, Bitcoin, Sui, and Tron, install the widget with all provider packages and their peer dependencies:Dependencies Explained
Core Dependencies
- TanStack Query - Async state manager that handles requests, caching, and more. Required peer dependency.
Blockchain Provider Packages
These are optional packages that enable support for different blockchain ecosystems:-
@lifi/widget-provider-ethereum - Ethereum/EVM chain support
- Peer dependencies: wagmi ^3 and @wagmi/core ^3
-
@lifi/widget-provider-solana - Solana chain support
- Peer dependency: bs58 >=4.0.1
-
@lifi/widget-provider-bitcoin - Bitcoin chain support
- Peer dependency: @bigmi/react ^0.8.0
-
@lifi/widget-provider-sui - Sui chain support
- Peer dependency: @mysten/dapp-kit-react ^2.0.0
-
@lifi/widget-provider-tron - Tron chain support
- Peer dependency: @tronweb3/tronwallet-adapter-react-hooks ^1.1.11
Polyfill Requirements: If you need to support older browsers, you’ll need to install and configure polyfills. See the Polyfill Requirements documentation for details.

