tnb-hd-wallet
Version:
A hd wallet that derives public and private keys from a 12 word mnemonic phrase with support
15 lines (14 loc) • 480 B
TypeScript
import { Address, Curve, Path, Hex } from "./models";
interface DerivationSchemeInterface {
derivePath(path: Path): Address;
masterKey: Address;
}
export declare class Slip10Derivation implements DerivationSchemeInterface {
curve: keyof typeof Curve;
seed: string;
private derivationScheme;
constructor(_curve: keyof typeof Curve, _seed: Hex);
derivePath(path: Path): import("./models").Keys;
get masterKey(): import("./models").Keys;
}
export {};