mnemonic-keyring
Version:
Mnemonic Keyring for secp256k1 and ed25519
14 lines • 393 B
TypeScript
import { IKeyValueStorage } from 'keyvaluestorage';
import * as bip32 from 'bip32';
export interface KeyringOptions {
storage?: IKeyValueStorage;
storageKey?: string;
mnemonic?: string;
entropyLength?: number;
}
export declare type MasterKey = bip32.BIP32Interface;
export interface KeyPair {
privateKey: string;
publicKey: string;
}
//# sourceMappingURL=types.d.ts.map