Developers
Use cases
Knowledge hub
Learn how to integrate our SDK or widget
Enable users to bridge & swap from anywhere to buy, deposit & invest in your dApp.
//knowledges_hub

Start integration with LI.FI docs

Learn about the features and implementation of the widget. We have taken care of clear and concise documentation
//extra_answers
Frequently Asked Questions
Is LI.FI Open Source?

Our smart contracts are open source, but our API is not. This is our competitive advantage and we're handling it and aligning our strategy with the big DEX aggregators like 1inch and Paraswap, who also keep their API closed source.

How decentralized is LI.FI?

While our smart contracts are obviously running decentralized, our backend has to be centralized.

Why? The amount of data processing can't be processed on the blockchain in a fast enough manner and at the same time, it would cost hundreds of dollars per swap-computation from a gas-fee perspective.

Will it change? If the future allows it, we'd also love to decentralize our infrastructure. We know that some projects are working on this and we're watching them closely. Around that, we also need a proper dev-ops ecosystem that allows us to keep such an infrastructure up and running, maintain it while keeping it fast and secure for the user.

How do we decide which bridge to implement next?

We move forward in a three-step way:

  1. Assess existing bridges on their capabilities (which chains are supported) and security

  2. Check if all existing chains in our system are least supported by two bridges we've implemented. That way we make sure that there is a fallback solution should liquidity be empty or if we have to turn a bridge of due to a hack or something else

  3. Either implement a bridge that backs up another or a bridge that expands our capabilities to bridge towards new chains.

How do we decide which bridge to use?

Each bridge is graded manually and automatically based on qualitative and quantitative factors. Qualitative factors are for example trust assumptions and attack vectors. Quantitative factors can be measured like speed, fees, gas costs, and reliability. Our algorithm adjusts its decision-making based on these factors and generally acts after our default prioritization pattern which says security > speed > costs. We believe that this pattern provides the most responsible and sustainable user experience. The prioritization pattern can be adjusted by anyone implementing our bridge aggregation protocol or SDK.

Can our backend algorithm / API be influenced?

Yes, we support whitelisting and blacklisting of certain bridges. We also allow to prioritize one bridge over the other and we allow to change the default prioritization pattern. That way we allow you to act biased. For example, because you might like a certain bridge protocol or DEX aggregator or because you don't trust certain others.

Do bridges cooperate with you?

Yes, over 50% of all bridge developers have actually invested in us. We're very close to them as we bring them more volume.

Why is LI.FI better than their competition?

Because we're the most focused company in the space. We do just one thing, B2B, and do that really well. On top, we have an experienced team with a lot of experience building SDKs and integrations and know how to build a sustainable and smooth company structure and developer environment around that.

How do you think about the multi-chain future?

No matter if Ethereum will own the majority of the market, there will be multiple chains:

  1. making Ethereum more scalable (optimistic- and zk-rollups)

  2. trying to compete with Ethereum (see Solana, Terra, Near, Tezos, etc.)

  3. provided by large companies or nation-states

  4. application focused ones (e.g. financial, gaming, social, data storage, data processing (e.g. bioinformatics)

Liquidity will have to be bridged and a one-stop solution/an aggregator for that will always find its space.

Whom do you use for auditing?

We are in contact with multiple audit firms, and will be doing multiple audits of our smart contract one after another.

Is there a kill switch if a bridge gets hacked?

Yes, we have two kill switches: 1. on API level where our route calculation starts ignoring the bridge and 2. on smart contract level - whereby we also provide the option to ignore kill switch checks for the protocol that have integrated us very deeply.

What does "LI" in LI.FI stand for?

LI = Linked

Why LI.FI?
  • Liquidity is fragmenting and your users might come from everywhere

  • Two options

    1. You could either tell your users to use a bridge that sends them away, creates friction, reduces your conversion rates and is a communication overhead

    2. You implement one or more bridges by yourself

  • Option b) is the better one, but it comes with a lot of drawbacks

    1. One bridge is not enough, either because there is no bridge supporting all chains or because the bridge might get hacked or doesn't have sufficient liquidity in which cases you need to have a fallback solution

    2. Bridges are still immature and will change often, which creates unnecessary dependency and maintenance overhead.

    3. Implementing a bridge is not enough, you also need them to connect to DEX aggregators and DEXes to have a real benefit. Bridges are just focusing on stable-coins and native currencies.

  • As soon as you have implemented multiple bridges, you also need a lot of business logic to decide when to use which bridge.

  • We work with almost 20 people on doing nothing else than that: bridge aggregation

Test

test

What is the Loyalty Pass?

Loyalty Pass is a set of credentials that quantify users' interactions with LI.FI & Jumper.

How do i get a Loyalty Pass?

Currently, we are quantifying on-chain volume, transactions and number of chains. Will be expanded to a more robust system, which will include off-chain actions (such as Discord activity, campaign and AMA participation).

Why should I participate?

Our goal is to partner with other protocols that would allow different benefits to credential holders. In the next few months, we will be announcing different partnerships that will make navigating through the DeFi ecosystem a breeze.

Does LI.FI charge fees for swaps?

No, we do not charge any additional fees.

How long does it take to recieve funds?

It depends on the route you select. For faster bridging times, select "instant" in swap settings

How many chains does this partnership support?

Supported networks for swaps include Ethereum, Polygon, Binance Smart Chain, Gnosis, Fantom OKXChain, Avalanche, Arbitrum, and Optimism.

How do I use the widget?

To use this new feature:

  • Head to https://dew.gg/

  • In the right top-hand corner click “bridge”

  • Select the chain you’re bridging from

  • Select the asset you want to bridge/swap

  • Insert the amount

  • Confirm & sign the transaction 

  • You now have funds on Polygon and are ready to buy NFTs

How many chains are supported?

18 chains, including Ethereum, Arbitrum, Polygon, Optimism, Base & more. To see the full list click on "chains" in the LI.FI widget.

Which chains are supported for the Zap function?

Ethereum, BSC, Arbtirum, Polygon, Optimism, and Avalanche.

Which chains are supported for cross-chain swaps?

Ethereum, BSC, Arbitrum, Polygon, Optimism, Avalanche, Base, zkSYNC, Gnosis, and Fantom

Which Chains are supported?

Supported networks for this partnership include Ethereum, BSC, Arbitrum, Polygon, Optimism, Avalanche, Base, zkSYNC, Linea, Polygon zkEVM, Gnosis, Aurora, Fantom, OXK, Boba, Moonbeam, Moonriver, Fuse and Velas.

What collateral does JOJO accept?

There are two types of collaterals in JOJO: USDC and JUSD

Is there a deposit fee or withdraw fee on JOJO ?

JOJO does not charge any deposit fee or withdraw fee for any cryptocurrency, but there will be a transfer fee on the blockchain.

What chains can I deposit from?

LI.FI enables cross-chain deposits from Ethereum, Polygon, and Optimism.

What is UniswapX?

UniswapX is a new, open-source, auction-based protocol designed for cross-AMM trading, permitting a decentralized exchange of assets across various liquidity sources. Developed as an immutable smart contract, it's designed to be entirely permissionless.

How to use UniswapX?

To use UniswapX, you can start by opening the Uniswap web app and connecting your wallet. Opt into the UniswapX beta, select the token drop-down, and choose the token you wish to swap or sell, either by browsing the token list or searching using the token name or contract address.

Is UniswapX safe?

UniswapX implements several measures to enhance safety and user experience. These include offering better prices through liquidity aggregation, gas-free swaps, protection against MEV, and no charges for failed transactions. That said, there is always smart contract risk and added trust assumptions that are covered in the article.

How does UniswapX improve price efficiency?

UniswapX improves price efficiency by aggregating liquidity from various sources and engaging with third-party fillers to either directly fill swaps or route users to appropriate Automated Market Maker (AMM) pools, thus fostering a competitive environment for achieving the most favorable price.

Which chains are supported?

Plena is currently live on Polygon (PoS & zkEVM), Base, BSC, Avax, Fantom, & Linea will be live soon.

Which token do I need to mint music NFTs

TRAXX on the Polygon network.

From which chain can I swap?

Currently you can swap any asset from Arbitrum into the supported collateral

Which Chains Does Teahouse Support?

Teahouse supports five chains including Ethereum, Arbitrum, Polygon, Optimism, and Boba Network.

Are Cross-Chain Swaps To/From Scroll Available?

Not yet. We will add support for Scroll soon.

Why do I need to bridge/swap ETH to Base first?

Base uses ETH to pay for gas before making a transaction. If your wallet does not have any ETH on Base, it cannot fulfill a transaction. If you first send over different crypto on Base, your crypto would still exist, but you just wouldn’t be able to move it until you first bring over some ETH.

Can I use native USDC on Base with Seamless?

No, currently Seamless is only compatible with USD Base Coin (USDbC) because there is much more USD Base Coin circulating on Base than native USDC. In the future, Seamless may add native USDC as a new market.

USD Base Coin is very similar to native USDC in that it represents a native USDC token that was bridged onto Base from another origin chain.

What routes does LI.FI use to bridge and swap?

LI.FI is an aggregator that uses some of the most popular Chains, Bridges, and DEXes, including 0x, 1inch, PancakeSwap, Stargate, SushiSwap, Uniswap, and more. For a full list, visit the LI.FI documentation.

Which Chains Are Supported For Zaps?

For now only Ethereum.

What Chain Is Supported?

Polygon

How To Swap Into Food?

To Swap into FOOD:

Head to https://foodchain.global/

Connect your wallet.

Select the chain & token you want to bridge/swap.

Input the amount of tokens you want to bridge/swap for FOOD.

Click “review swap” & sign the transaction.

Wait for a few seconds & that’s it you now have FOOD tokens in your wallet.

How Many Chains Are Supported?

For bridging, only Ethereum, Polygon, and Solana are supported.

Which Chain Are Supported For Cross-Chain Swaps?

BSC, Arbitrum, Polygon, and Avalanche.

What Chains Are Supported For Swaps

Only BSC at the moment.

Which Chains Are Supported?

Nine leading chains and layer-2s, including Ethereum, BSC, Arbitrum, Polygon, Optimism, Avalanche, Base, zkSync, and Polygon zkEVM

Where Can I Bridge?

Bridge and swap across chains here

Which Chains Are Supported For Cross-Chain Swaps?

Supported chains include Ethereum, BSC, Arbitrum, Polygon, Optimism, Avalanche, and Base.

How many chains are supported for this partnership?

18 leading chains & layer-2s such as Ethereum, BSC, Arbitrum, Optimsim, Base & more.

How Can I Start A Cross-Chain Swap

Check out this step-by-step guide on how to use the cross-chain swap feature here

What Chains Are Supported?

DeGuard supports 3 chains: Arbitrum, Polygon, & BSC Users can bridge from 18 chains & L2s to receive ETH, BNB, or MATIC, which are the required tokens to purchase DeGuard VPN plans.