Skip to main content

Overview

Introduction#

This guide will help you with to quickly get started on building on top of Kyber's Dynamic AMM. The SDK designed to run in any environment that can execute JavaScript (Eg. websites, node scripts, etc.).

Installation#

To start, create and initialize a node directory and install Kyber Dynamic AMM SDK by running yarn add @dynamic-amm/sdk or npm install @dynamic-amm/sdk.

To start using the SDK in your application, use an import or require statement, depending on what your environment supports.

Example#

  • ES6 (import)
import { ChainId } from '@dmm/sdk'
  • CommonJS (require)
const DMM = require('@dmm/sdk')