Constructors
constructor
- new HoneyClient(program: Program<Idl>, devnet?: boolean): HoneyClient
-
Parameters
-
program: Program<Idl>
-
Optional
devnet: boolean
Properties
Optional
devnet
devnet?: boolean
program
program: Program<Idl>
Methods
findDerivedAccount
- findDerivedAccount(seeds: DerivedAccountSeed[]): Promise<wrappers.DerivedAccount>
-
Parameters
-
seeds: DerivedAccountSeed[]
Static
connect
- connect(provider: AnchorProvider, honeyPubKey: string, devnet?: boolean): Promise<HoneyClient>
-
Parameters
-
provider: AnchorProvider
-
honeyPubKey: string
-
Optional
devnet: boolean
Find a PDA
Returns