Closed mattbeckman closed 3 years ago
All good. I forgot I could use Mnemonic to check if the word set/checksum was valid.
In case someone else needs this:
mnemo = Mnemonic("english")
mnemonic = "wordA wordB ..."
if mnemo.check(mnemonic):
# valid mnemonic
I'm finding a number of generated mnemonics are invalid according to Ian Coleman's bip39 app.
Can you tell me if this is an issue with my code below?
Here is an example of a set of mnemonics that were generated, but are marked as invalid:
spike kidney come bird nominee puppy wool subject short add mystery hawk
(these are not from a live wallet but generated from a set of words). Thanks.