UNPKG

@meterio/devkit

Version:

Typescript library to aid DApp development on Meter network

16 lines (15 loc) 547 B
/// <reference types="node" /> export declare namespace mnemonic { /** generate BIP39 mnemonic words */ function generate(): string[]; /** * check if the given mnemonic words have valid checksum * @param words mnemonic words */ function validate(words: string[]): boolean; /** * derive private key from mnemonic words according to BIP32. * the derivation path is defined at https://github.com/satoshilabs/slips/blob/master/slip-0044.md */ function derivePrivateKey(words: string[]): Buffer; }