StaticinitStaticinitInitializes a keypair from a file.
Node.js only - This function requires file system access and will throw in browser environments.
The path to the file containing the keypair's secret key.
A promise that resolves to the keypair.
StaticloadLoads an Anchor program from a connection.
The connection to load the program from.
Optionalwallet: WalletOptionalprogramId: PublicKeyA promise that resolves to the loaded Anchor program.
StaticloadLoads an Anchor program from a provider.
The provider to load the program from.
OptionalprogramId: PublicKeyAn optional program ID 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.
StaticloadStaticloggedParse 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 wallet from a file.
Node.js only - This function requires file system access and will throw in browser environments.