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

    Function newAccount

    • Creates a new random Cosmos Account from a randomly generated mnemonic

      Parameters

      • Optionallength: 12 | 15 | 18 | 21 | 24

        The length of the mnemonic

      • Optionaloptions: Partial<Secp256k1HdWalletOptions>

        The options to generate the wallet

      Returns Promise<{ account: CosmosAccount; mnemonic: string }>