UNPKG

tnb-hd-wallet

Version:

A hd wallet that derives public and private keys from a 12 word mnemonic phrase with support

19 lines (18 loc) 612 B
import { Address, Hex } from "../models"; import { WebHdWallet } from "./webHd"; export declare class TnbHdWallet extends WebHdWallet { nodeUrl: string | null; pvUrl: string; constructor(seed: string, nodeUrl?: string, configOptions?: any); private getPvUrl; private getBalanceLock; hasAddressBeenUsed(publicKey: Hex): Promise<boolean>; formatAddress(address: Address): { publicKey: string; accountIndex?: number | undefined; addressIndex?: number | undefined; path: string; chainCode?: string | undefined; privateKey: string; }; }