bip32DerivePath static method
Implementation
static Uint8List bip32DerivePath(String mnemonic, String path,
[NetworkType? networkType]) {
final seed = mnemonicToSeed(mnemonic);
NetworkType network = networkType ?? _BITCOIN;
final keyChain = BIP32.fromSeed(seed, network);
final keyPair = keyChain.derivePath(path);
return dynamicToUint8List(keyPair.privateKey!);
}