Skip to main content
Version: V1

Overview

Introduction#

This guide will help you get started with building on top of Kyber's Dynamic AMM. The SDK is 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 '@dynamic-amm/sdk';
  • CommonJS (require)
const DMM = require('@dynamic-amm/sdk');