Skip to content

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

License

Notifications You must be signed in to change notification settings

abridged/lifi-widget

 
 

Repository files navigation

license npm latest package npm downloads Crowdin Follow on Twitter

LI.FI Widget

This repository contains LI.FI Widget and supporting libraries.

  • LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

  • LI.FI Wallet Management is our library of hooks that can help you gain complete control over your app's wallet management.

Installation

LI.FI Widget

LI.FI Widget is available as an npm package.

npm:

npm install @collabland/lifi-widget

yarn:

yarn add @collabland/lifi-widget

LI.FI Wallet Management

LI.FI Wallet Management is available as an npm package.

npm:

npm install @collabland/lifi-wallet-management

yarn:

yarn add @collabland/lifi-wallet-management

Getting started with LI.FI Widget

Here is an example of a basic app using LI.FI Widget:

import { LiFiWidget, WidgetConfig } from '@collabland/lifi-widget';

const widgetConfig: WidgetConfig = {
  containerStyle: {
    border: '1px solid rgb(234, 234, 234)',
    borderRadius: '16px',
  },
};

export const WidgetPage = () => {
  return (
    <LiFiWidget integrator="Your dApp/company name" config={widgetConfig} />
  );
};

Examples

Visit our playground to see how you can customize your LI.FI Widget experience.

Documentation

LI.FI Widget Documentation

Changelog

The changelog is regularly updated to reflect what's changed in each new release.

License

This project is licensed under the terms of the Apache-2.0.

yarn release yarn release:publish

About

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.1%
  • JavaScript 0.9%