3.0.0-taiko.12 • Published 11 months ago

@dodoex/api v3.0.0-taiko.12

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
11 months ago

API

DODO Service API

HOW TO USE

import { SwapWidgetApi } from '@dodoex/api';
import { SwapWidget } from '@dodoex/widgets';

const dodoService = new SwapWidgetApi();
const apikey = ""
const projectId = "";

export default function Swap() {
  React.useEffect(() => {
    if (projectId && apiKey) {
      const dodoService = new SwapWidgetApi();
      dodoService
        .getConfigSwapWidgetProps(projectId, apiKey)
        .then(({ swapWidgetProps }) => {
          setConfig(swapWidgetProps);
        });
    }
  }, [projectId, apiKey]);

  return <SwapWidget {...config} apikey={apiKey} />;
}
3.0.0-taiko.16

11 months ago

3.0.0-taiko.15

11 months ago

3.0.0-taiko.14

11 months ago

3.0.0-taiko.13

11 months ago

3.0.0-taiko.12

11 months ago

3.0.0-taiko.11

11 months ago

3.0.0-taiko.10

11 months ago

3.0.0-taiko.9

11 months ago

3.0.0-taiko.7

11 months ago

3.0.0-taiko.8

11 months ago

3.0.0-taiko.5

12 months ago

3.0.0-taiko.6

12 months ago

3.0.0-taiko.1

12 months ago

3.0.0-taiko.3

12 months ago

3.0.0-taiko.2

12 months ago

3.0.0-beta.1

1 year ago

3.0.0-beta.0

1 year ago

3.0.0-beta.3

1 year ago

3.0.0-beta.2

1 year ago

3.0.0-beta.4

1 year ago

3.0.0-taiko.4

12 months ago

3.0.0-bartio.0

12 months ago

0.0.1

2 years ago