UNPKG

@onekeyfe/blockchain-libs

Version:
9 lines (8 loc) 360 B
/// <reference types="node" /> declare type RevealableSeed = { entropyWithLangPrefixed: Buffer; seed: Buffer; }; declare function mnemonicToRevealableSeed(mnemonic: string, passphrase?: string): RevealableSeed; declare function revealEntropy(entropyWithLangPrefixed: Buffer): string; export { RevealableSeed, mnemonicToRevealableSeed, revealEntropy };