documentation
SDK integrating with Raydium protocol
import { <methods below>} from "@Dappio-ts/Raydium"
Retreive all Raydium amm pool information
Retreive all Raydium staking fram information
Retreive all staking information of certain user wallet
Parse the user stake info account
Get associated user stake info account by farmId & wallet pubkey
Get the swap instruction
Get add Liquidity instruction
Get the stake instruction. (Stake into certain farm)
Input params: FarmDepositInstructionParams
Get the unstake instruction. (withdraw from certain farm)
Input params: FarmWithdrawInstructionParams
To update all FarmInfo class information. The reason to use it is that there will only neccessory data when using "getAllFarms". If more detailed data needed, this method is needed.
SDK integrating with Saber protocol
import { <methods below>} from "@Dappio-ts/Saber"
Get all Saber amm pool information
Get only one Saber amm pool information by its address
Get all QURARRY staking info of certain user wallet
Create a transaction to add liquidity.
create a transaction to withdraw tokens from liquidity
Create a transaction to stake. (Stake into certain QURARRY farm)
Create a transaction to unstake. (Withdraw from certain QURARRY farm)