5 lines
317 B
TypeScript
5 lines
317 B
TypeScript
|
|
export type SeedStrength = 128 | 160 | 192 | 224 | 256;
|
||
|
|
export declare function generateSeedPhrase(strength?: SeedStrength): string;
|
||
|
|
export declare function validateSeedPhrase(phrase: string, wordlist?: string[]): boolean;
|
||
|
|
export declare function seedFromPhrase(phrase: string, passphrase?: string): Promise<Buffer>;
|