StaticinitThe path to the file containing the keypair's secret key.
A promise that resolves to the keypair.
StaticinitInitializes 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.
StaticloadLoads the same environment set for the Solana CLI.
A promise that resolves to the Solana configuration.
StaticloadLoads an Anchor program from a connection.
The connection to load the program from.
A promise that resolves to the loaded Anchor program.
StaticloadLoads an Anchor program from the environment.
A promise that resolves to the loaded Anchor program.
StaticloggedParse 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.