Installation

Installation

Prerequisites

Before installing the Ferra Aggregator SDK, ensure you have the following:

  • Node.js: Version 16.x or higher

  • npm or yarn: Package manager

  • TypeScript: Version 4.5 or higher (recommended)

Package Installation

Using npm

npm install @ferra-labs/aggregator

Using yarn

yarn add @ferra-labs/aggregator

Using pnpm

pnpm add @ferra-labs/aggregator

Peer Dependencies

The SDK requires several peer dependencies for Sui blockchain interaction:

Complete Installation Command

Development Dependencies

For development and testing, you may also want to install:

Verification

Verify your installation by creating a simple test file:

Version Compatibility

SDK Version
Node.js
TypeScript
Sui SDK

1.x.x

≥16.0

≥4.5

≥1.0

Next Steps

Once installed, proceed to the Quick Start guide to initialize your first SDK instance and execute your first swap.

Last updated