UNPKG

387 BTypeScriptView Raw
1/// <reference types="node" />
2import { IKeyPair } from "../interfaces";
3import { INetwork } from "../interfaces/networks";
4export declare class Keys {
5 static fromPassphrase(passphrase: string, compressed?: boolean): IKeyPair;
6 static fromPrivateKey(privateKey: Buffer | string, compressed?: boolean): IKeyPair;
7 static fromWIF(wifKey: string, network?: INetwork): IKeyPair;
8}