UNPKG

chaingate

Version:

A complete TypeScript library for connecting to and making transactions on different blockchains

20 lines (19 loc) 870 B
import { Secret } from '../Secret'; import { ExtendedPublicKey } from './ExtendedPublicKey'; import { ExtendedPrivateKey } from './ExtendedPrivateKey'; import { PublicKey } from '../../PublicKey'; import { PrivateKey } from './PrivateKey'; export declare class SeedEncodingError extends Error { constructor(message: string); } export declare class Seed extends Secret { private readonly seed; get raw(): Uint8Array; getExtendedPublicKey(derivationPath: string): Promise<ExtendedPublicKey>; getExtendedPrivateKey(derivationPath: string): Promise<ExtendedPrivateKey>; getPublicKey(derivationPath: string): Promise<PublicKey>; getPrivateKey(derivationPath: string): Promise<PrivateKey>; getMasterPublicKey(): Promise<ExtendedPublicKey>; getMasterPrivateKey(): Promise<ExtendedPrivateKey>; constructor(source: Uint8Array | string); }