#solana-dex #solana #defi #dex #amm

defituna-client

Rust client to interact with DefiTuna's on-chain program

2 stable releases

new 1.0.4 Apr 18, 2025

#17 in Magic Beans

39 downloads per month

MIT license

770KB
14K SLoC

DefiTuna Client

Overview

This package provides developers with low-level functionalities for interacting with the DefiTuna Program on Solana.

Key Features

  • Codama Client: The package includes a set of generated client code based on the DefiTuna Program IDL. This ensures all the necessary program information is easily accessible in a structured format and handles all decoding and encoding of instructions and account data, making it much easier to interact with the program.
  • PDA (Program Derived Addresses) Utilities: This feature contains utility functions that help derive Program Derived Addresses (PDAs) for accounts within the DefiTuna Program, simplifying address generation for developers.

Installation

# Cargo
cargo add defituna-client

Dependencies

~16–37MB
~658K SLoC