bool validateMnemonic(String mnemonic) { try { mnemonicToEntropy(mnemonic); } catch (e) { return false; } return true; }