2.0.0 • Published 7 months ago

@delandlabs/hibit-sdk v2.0.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
-
Last release
7 months ago

Hibit SDK

Tests Build npm version License: GPL-3.0

API Documentation

Introduction

Hibit SDK is a comprehensive toolkit designed for developers to interact seamlessly with the Hibit platform, which includes a Decentralized Exchange (DEX) and blockchain functionalities. This SDK provides a robust set of tools and utilities to facilitate the integration and management of various features offered by the Hibit platform, such as market data retrieval, order management, wallet operations, and more. With Hibit SDK, developers can build sophisticated applications that leverage the full potential of the Hibit ecosystem, ensuring secure, efficient, and scalable interactions with the decentralized exchange and blockchain services.

Installation

To install the Hibit SDK, you can use npm or yarn:

npm install @delandlabs/hibit-sdk

or

yarn add @delandlabs/hibit-sdk

Usage

Here is how to use the Hibit SDK with TypeScript:

import { hibitClient, HibitNetwork } from '@delandlabs/hibit-sdk';
const options = {
  network: HibitNetwork.Testnet,
  walletId: 10000n,
  privateKey: 'fa3e933f1788d7d56a20e078370f4c3b713ee0bcdb44392e4cfeaf524716d06a'
};

hibitClient.setOptions(options);
const timestamp = await hibitClient.getTimestamp();

Examples

For more examples, please refer to the examples.

Contributing

We welcome contributions to the Hibit SDK. Please see our contributing guidelines for more information.

2.0.0

7 months ago

1.2.0

7 months ago

1.1.2

7 months ago

1.1.0

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago