Giter Site home page Giter Site logo

miguilimzero / widget Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lifinance/widget

0.0 0.0 0.0 24.72 MB

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

Home Page: https://li.fi/widget

License: Apache License 2.0

JavaScript 0.59% TypeScript 98.58% CSS 0.65% HTML 0.18%

widget's Introduction

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 @lifi/widget

yarn:

yarn add @lifi/widget

LI.FI Wallet Management

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

npm:

npm install @lifi/wallet-management

yarn:

yarn add @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 '@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.

widget's People

Contributors

chybisov avatar addminus avatar dnr500 avatar dennyscode avatar abhikumar98 avatar 0xsebn avatar nickolasmv avatar stanleyding avatar 0xzoz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.