Installation

Install and set up the Ferra DLMM SDK in your project.

Requirements

  • Node.js 16.0 or higher

  • npm, yarn, or pnpm package manager

  • TypeScript 4.5+ (recommended)

Install Package

Using npm

npm install @ferra-labs/dlmm

Using yarn

yarn add @ferra-labs/dlmm

Using pnpm

pnpm add @ferra-labs/dlmm

TypeScript Configuration

For TypeScript projects, ensure your tsconfig.json includes:

{
  "compilerOptions": {
    "target": "ES2020",
    "module": "commonjs",
    "lib": ["ES2020"],
    "strict": true,
    "esModuleInterop": true,
    "skipLibCheck": true,
    "resolveJsonModule": true
  }
}

Verify Installation

Create a test file to verify the installation:

Run the test:

Development Setup

For contributing or local development:

Next Steps

Installation complete! Continue to:

Last updated