@solana-developers/helpers
Version:
Solana helper functions
7 lines • 514 B
TypeScript
import { Keypair } from "@solana/web3.js";
export declare const keypairToSecretKeyJSON: (keypair: Keypair) => string;
export declare const getKeypairFromFile: (filepath?: string) => Promise<Keypair>;
export declare const getKeypairFromEnvironment: (variableName: string) => Keypair;
export declare const addKeypairToEnvFile: (keypair: Keypair, variableName: string, envFileName?: string) => Promise<void>;
export declare const makeKeypairs: (amount: number) => Array<Keypair>;
//# sourceMappingURL=keypair.d.ts.map