Skip to main content

Installation

npm install @skate-org/skate_amm_sui_sdk

SDK Initialization

import SkateAmmSdk, {
  Environment,
  PoolType,
} from "@skate-org/skate_amm_sui_sdk";

// Initialize the SDK for the production environment
const sdk = new SkateAmmSdk(Environment.Production);
⚙️ Note: This instance will be pre-configured with the correct contract addresses and pool configurations for the selected environment.

Reference

  • SDK README ↗
  • Check the README for:
    • Setup and configuration
    • Usage example
    • and more..