Static
Initializes a keypair from a file.
The path to the file containing the keypair's secret key.
A promise that resolves to the keypair.
Initializes a wallet from a file.
The path to the file containing the wallet's secret key.
A promise that resolves to a tuple containing the wallet and the keypair.
Loads the same environment set for the Solana CLI.
A promise that resolves to the Solana configuration.
Loads an Anchor program from the environment.
A promise that resolves to the loaded Anchor program.
Parse out anchor events from the logs present in the program IDL.
The Anchor program instance.
The array of logs to parse.
An array of parsed events.
Initializes a keypair from a file.