UNPKG

antelope-ecc

Version:

A universal JavaScript ECC digital signature and key utility package for Antelope based blockchains.

12 lines (11 loc) 420 B
/** * Recovers an antelope based private key from BIP39 mnemonic. * * @param recoveryPhrase 32 bytes of data. * import recoverMnemonic from "antelope-ecc/mnemonic-recover.js" * * recoverMnemonic([your, twenty, four, words, go, here, …]).then(console.log) * ``` * The logged output was [abandon, busy, …]. */ export default function recoverMnemonic(recoveryPhrase: string): Promise<Uint8Array<ArrayBuffer>>;