UNPKG

gill

Version:

a modern javascript/typescript client library for interacting with the Solana blockchain

14 lines 799 B
import { type KeyPairSigner } from "@solana/kit"; /** * Load a `CryptoKeyPair` from an environment variable containing a base58 encoded keypair * * @param variableName - environment variable name accessible via `process.env[variableName]` */ export declare function loadKeypairFromEnvironmentBase58<TName extends keyof NodeJS.ProcessEnv | string>(variableName: TName): Promise<CryptoKeyPair>; /** * Load a `KeyPairSigner` from an environment variable containing a base58 encoded keypair * * @param variableName - environment variable name accessible via `process.env[variableName]` */ export declare function loadKeypairSignerFromEnvironmentBase58<TName extends keyof NodeJS.ProcessEnv | string>(variableName: TName): Promise<KeyPairSigner>; //# sourceMappingURL=load-keypair-base58.d.ts.map