2.0.5 • Published 7 months ago
@crypticdot/defituna-client v2.0.5
DefiTuna Client
⚠️ WARNING: DefiTuna Client version 2.0 is not yet compatible with the mainnet onchain program. Please use the previous 1.0.x version.
Overview
This package provides developers with low-level functionalities for interacting with the DefiTuna Program on Solana.
Note: This SDK uses Solana Kit. It is not compatible with Solana Web3.js.
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
# NPM
npm install @defituna/client
# Yarn
yarn add @defituna/client
# PNPM
pnpm add @defituna/client