• Imports an existing wallet using a mnemonic phrase and returns a promise with algo, pubkey, and address

    Parameters

    • mnemonic: string

      The mnemonic phrase to import

    Returns Promise<any>

    The imported wallet accounts

    // Example usage:
    importAccount("family maximum shoulder all reduce trash across beach gun law flame bird").then((accounts) => {
    console.log(accounts);
    });