HDNode.fromMnemonic constructor
This will generate a top-most HDNode for VET wallets.
Implementation
factory HDNode.fromMnemonic(List<String> words) {
if (!Mnemonic.validate(words)) {
throw Exception("The words not valid!");
}
Uint8List seed = Mnemonic.deriveSeed(words);
BIP32 master = BIP32.fromSeed(seed);
BIP32 node = master.derivePath(accountDerivationPath);
return HDNode(node);
}