Constructors
Private constructor
- new SolendWallet(wallet: Wallet, connection: Connection, environment: string): SolendWallet
Parameters
wallet: Wallet
connection: Connection
environment: string
Properties
programId
programId: PublicKey
provider
provider: AnchorProvider
Methods
getClaimAllIxs
- getClaimAllIxs(): Promise<TransactionInstruction[][]>
Returns Promise<TransactionInstruction[][]>
loadRewards
- loadRewards(): Promise<void>
Static initialize
- initialize(wallet: Wallet, connection: Connection, environment?: "production" | "devnet"): Promise<SolendWallet>
Parameters
wallet: Wallet
connection: Connection
environment: "production" | "devnet" = "production"