UNPKG

@sisi/ed25519-blake2b-hd-key

Version:

Fork of alepop/ed25519-hd-key. Convert to ed25519-blake2b.

14 lines (13 loc) 416 B
/// <reference types="node" /> declare type Keys = { key: Buffer; chainCode: Buffer; }; export declare const getMasterKeyFromSeed: (seed: string) => Keys; export declare const getPublicKey: (seed: any) => { publicKey: Uint8Array; privateKey: Uint8Array; }; export declare const isValidPath: (path: string) => boolean; export declare const derivePath: (path: string, seed: string) => Keys; export {};