@aleph-sdk/monorepo
    Preparing search index...

    Function importAccountFromMnemonic

    • Imports a substrate account given a mnemonic and the 'polkadot' package.

      It creates an substrate wallet containing information about the account, extracted in the DOTAccount constructor.

      Parameters

      • mnemonic: string

        The mnemonic of the account to import.

      Returns Promise<DOTAccount>