UNPKG

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) 497 B
import { WebHdWallet } from "./webHd"; import { Address, Hex } from "../models"; export declare class EthHdWallet extends WebHdWallet { constructor(seed: string, configOptions?: any); hasAddressBeenUsed(publicKey: Hex): Promise<boolean>; formatAddress(address: Address): { publicKey: string; privateKey: string; accountIndex?: number | undefined; addressIndex?: number | undefined; path: string; chainCode?: string | undefined; }; }