nimbus-universal-swap
TypeScript icon, indicating that this package has built-in type declarations

4.71.0 • Public • Published

Nimbus Widget

Supported chains:

  • EVM
  • TON
  • SUI

Installation

Nimbus Widget

Nimbus Widget is available as an npm package. Inspired by LiFi widget

npm:

npm install nimbus-universal-swap

yarn:

yarn add nimbus-universal-swap

Getting started with Nimbus Widget

Here is an example of a basic app using Nimbus Widget:

import { NimbusSwapWidget, WidgetConfig } from 'nimbus-universal-swap';

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

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

Examples

See examples folder in this repository.

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.

/nimbus-universal-swap/

    Package Sidebar

    Install

    npm i nimbus-universal-swap

    Weekly Downloads

    15

    Version

    4.71.0

    License

    Apache-2.0

    Unpacked Size

    3.02 MB

    Total Files

    1548

    Last publish

    Collaborators

    • toanbku