Skip to content

DODOEX/widgets

Folders and files

NameName
Last commit message
Last commit date
Nov 18, 2022
Jul 2, 2024
Oct 17, 2024
Dec 13, 2024
Oct 31, 2022
Oct 15, 2024
Dec 5, 2024
Oct 31, 2022
Nov 17, 2022
Oct 31, 2022
Oct 31, 2022
Jun 19, 2023
Oct 31, 2022
Oct 31, 2022
Oct 21, 2024
Oct 31, 2022
Dec 13, 2024

Repository files navigation

DODO Widget

DODO

npm version

DODO Swap Widget

The DODO Swap Widget allows you to build customized front-end interfaces for the DODO protocol, and embed widgets in DeFi applications for quick asset exchange and other uses. DODO currently supports 9 chains in total, including Ethereum, BNB Chain, Polygon, Arbitrum, Avalanche, OKC, Optimism, Aurora, and Conflux eSpace. We intend to add support for more chains in the future.

Installation

Install the widgets library via npm or yarn.

yarn add @dodoex/widgets
npm i --save @dodoex/widgets

Documentation

You can find the DODO Widget documentation on the website and check out the Getting Started page for a quick overview.

Examples

Inside the examples folder, there two different examples,

For react app:

$ git clone git@github.com:DODOEX/widgets.git
$ cd example/react-app

For js app:

$ git clone git@github.com:DODOEX/widgets.git
$ cd example/js-app

Install and run the example:

yarn          # install dependencies
yarn start    # run the development server
# or
npm           # install dependencies
npm run start # run the development server

Other details:

License

About DODO