NativeLoader
Factory class for transactions to interact with a program loader
Static Member Summary
Static Public Members | ||
public static get |
Public key that identifies the NativeLoader |
Static Method Summary
Static Public Methods | ||
public static |
Loads a native program |
Static Public Members
Static Public Methods
public static load(connection: Connection, payer: Account, programName: string): Promise<PublicKey> source
Loads a native program
Params:
Name | Type | Attribute | Description |
connection | Connection | The connection to use |
|
payer | Account | System account that pays to load the program |
|
programName | string | Name of the native program |