1.0.12 • Published 9 months ago

@deriverse/kit v1.0.12

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
9 months ago

Deriverse SDK

TypeScript SDK for interacting with the Deriverse decentralized exchange (DEX) on Solana. This SDK provides a comprehensive interface for trading spot and perpetual futures, managing liquidity, and interacting with the Deriverse smart contract.

Based on @solana/kit

Features

  • Spot Trading

    • Place and cancel spot orders
    • Manage spot liquidity positions
    • Query spot order book and market data
    • Handle spot deposits and withdrawals
  • Perpetual Futures Trading

    • Trade perpetual futures with leverage
    • Manage perpetual positions
    • Place and cancel perpetual orders
    • Handle perpetual deposits and withdrawals
    • Adjust leverage on positions
  • Account Management

    • Create and manage trading accounts
    • Handle token deposits and withdrawals
    • Manage associated token accounts
    • Query account balances and positions
  • Market Data

    • Access order book data
    • Query market depth
    • Get price steps and market information
    • Access historical trade data

Installation

npm install @deriverse/kit

Documentation

TODO

Examples

TODO

Development

Prerequisites

  • Node.js (v20 or higher)
  • npm or yarn
  • TypeScript (v5.4.3 or higher)

Setup

  1. Clone the repository:
git clone https://github.com/deriverse/kit.git
cd kit
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

License

Apache 2.0 License - see the LICENSE file for details.

1.0.12

9 months ago

1.0.10

9 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago