DefinitelyTyped/types/hdkey/index.d.ts
2018-05-29 15:22:57 -07:00

17 lines
466 B
TypeScript

// Type definitions for hdkey 0.7
// Project: https://github.com/cryptocoinjs/hdkey
// Definitions by: Leonid Logvinov <https://github.com/LogvinovLeon>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node"/>
declare class HDNode {
static fromMasterSeed(seed: Buffer): HDNode;
publicKey: Buffer;
privateKey: Buffer;
chainCode: Buffer;
constructor();
derive(path: string): HDNode;
}
export = HDNode;