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

defituna-client

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

1 stable release

new 1.0.18 May 12, 2025
1.0.17 May 11, 2025
1.0.12 Apr 29, 2025

#824 in Magic Beans

Download history 268/week @ 2025-04-16 574/week @ 2025-04-23 185/week @ 2025-04-30 563/week @ 2025-05-07

1,590 downloads per month

MIT license

1MB
18K 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

~0–23MB
~359K SLoC