Skip to content

Deland-Labs/hibit-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Hibit SDK

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 6

Languages