loadKeypairSignerFromEnvironmentBase58
Load a KeyPairSigner from an environment variable containing a base58 encoded keypair
Type Parameters
| Type Parameter |
|---|
TName extends keyof ProcessEnv |
Parameters
| Parameter | Type | Description |
|---|---|---|
variableName | TName | environment variable name accessible via process.env[variableName] |
Returns
Promise<KeyPairSigner>