Skip to content

createAccount does not work: Uncaught (in promise) TypeError: Invalid mnemonic type: object #75

@JCM00N

Description

@JCM00N

Trying to use the library to generate a mnemonic throws this error. After some investigation I found out the reason for this is the incorrect use of web-bip39, which returns a promise of a mnemonic, rather than the words.

Either change the code in the library to use await, or use bip39

On that note, is the use of a custom lib copied from "web-bip39" with only 15 stars rather than using the accepted "bip39" with 1K stars?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions