Attempt to generate Algorand account from random 25 words in BIP39 mnemonic

I generated random 25 words from BIP39 standard english words. when I tried to generate account using above mnemonic in algosdk.mnemonicToSecretKey(), I am getting the error “failed to decode mnemonic”.

Is there a way to generate Algorand address from randomly generated BIP39 mnemonic? or is there any better suggestion?

With Algorand mnemonics there are checksum words, so we do not support this currently.

do you now support the user-defined custom mnemonics for account creation?

sure, just generate the first 24 random, and last word iterate until you get the the correct account

btw, i would not advice to do it this way as the specific word selection by user may lead to weak account security

1 Like