Implementation details

circle-info

Development Status: Currently deployed on Solana Devnet only. Based on @solana/kit.

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.

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

Resources

NPM Package: https://npmjs.com/@deriverse/kitarrow-up-right

Examples

A comprehensive example and tutorial is available at: https://github.com/deriverse/kit-examplearrow-up-right

Last updated