HDNode.fromSeed constructor

HDNode.fromSeed(
  1. Uint8List seed
)

This will generate a top-most HDNode for VET wallets.

Implementation

factory HDNode.fromSeed(Uint8List seed) {
  BIP32 master = BIP32.fromSeed(seed);
  BIP32 node = master.derivePath(accountDerivationPath);
  return HDNode(node);
}