An open API service indexing awesome lists of open source software.

https://github.com/dodoex/widgets

Widget for DODOEX V2
https://github.com/dodoex/widgets

Last synced: 2 months ago
JSON representation

Widget for DODOEX V2

Awesome Lists containing this project

README

        

# 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`.

```js
yarn add @dodoex/widgets
```

```js
npm i --save @dodoex/widgets
```

## Documentation

You can find the DODO Widget documentation [on the website](https://docs.dodoex.io/english/developers/swap-widget) and check out the [Getting Started](https://docs.dodoex.io/english/developers/swap-widget/getting-started) page for a quick overview.

- [Profit-Sharing Instructions](https://docs.dodoex.io/english/developers/swap-widget/profit-sharing-instructions)
- [API](https://docs.dodoex.io/english/developers/swap-widget/api)

## Examples

Inside the `examples` folder, there two different examples,

For react app:

```shell
$ git clone [email protected]:DODOEX/widgets.git
$ cd example/react-app
```

For js app:

```shell
$ git clone [email protected]:DODOEX/widgets.git
$ cd example/js-app
```

Install and run the example:

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

Other details:

- [React App](https://github.com/DODOEX/widgets/tree/main/example/react-app)
- [JS App](https://github.com/DODOEX/widgets/tree/main/example/js-app)

## License

- [GPL-3.0 ](https://github.com/DODOEX/widgets/blob/main/LICENSE)

## About DODO

- [DODO Web](https://dodoex.io/)