deriveChildNodeFromPath function

BIP32 deriveChildNodeFromPath({
  1. required Uint8List seed,
  2. required String childDerivationPath,
  3. required HDWalletPath walletPath,
  4. UTXONetworkType? networkType,
})

Implementation

bip32.BIP32 deriveChildNodeFromPath({
  required Uint8List seed,
  required String childDerivationPath,
  required HDWalletPath walletPath,
  UTXONetworkType? networkType,
}) {
  final masterNode = deriveMasterNodeFromSeed(
    seed: seed,
    networkType: networkType,
    walletPath: walletPath,
  );

  final node = masterNode.derivePath(childDerivationPath);

  return node;
}