fiveways / idex-sdk-js

IDEX v3 SDK built with TypeScript, supporting both web and Node environments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IDEX JavaScript SDK

Discord GitHub npm GitHub issues

Twitter Follow

The official library for IDEX v3's REST and WebSocket APIs.

  • Written in TypeScript with full typings for all requests and responses
  • Supports both Node.js and browser environments
  • Implements a real time order book including support for hybrid liquidity

Complete documentation for the IDEX v3 API is available at https://api-docs-v3.idex.io.

Installation

yarn add @idexio/idex-sdk@beta
// or
npm install --save @idexio/idex-sdk@beta

Getting Started

Get IDEX v3 sandbox API keys.

import * as idex from '@idexio/idex-sdk';

const publicClient = new idex.RestPublicClient({
  sandbox: true,
});
console.log(await publicClient.getServerTime());

In-depth usage documentation by endpoint is available here.

Contract ABIs

Included in the contracts/ directory contains the ABIs necessary for interacting with IDEX v3's smart contracts.

License

The IDEX JavaScript SDK is released under the MIT License.

About

IDEX v3 SDK built with TypeScript, supporting both web and Node environments.

License:MIT License


Languages

Language:TypeScript 96.4%Language:JavaScript 2.9%Language:HTML 0.5%Language:Shell 0.1%Language:CSS 0.0%