SDK Installation

Install and configure the Kova JavaScript/TypeScript SDK.

Installation

npm install @kova/sdk

# or with yarn
yarn add @kova/sdk

Basic Setup

const { KovaClient } = require('@kova/sdk');

const client = new KovaClient({
  apiUrl: 'https://test.kovanetwork.com',
  apiKey: 'your-api-key-here'
});

// Connect for real-time updates
await client.connect();

TypeScript Support

import { KovaClient, JobBuilder, JobStatus } from '@kova/sdk';

const client = new KovaClient({
  apiUrl: 'https://test.kovanetwork.com',
  apiKey: process.env.KOVA_API_KEY!
});

Configuration Options

| Option | Type | Description | |--------|------|-------------| | apiUrl | string | Kova API endpoint | | apiKey | string | Your API key or JWT token | | timeout | number | Request timeout in ms (default: 30000) |

Next Steps