Bip32.Regtest constructor

Bip32.Regtest({
  1. int? versionBytesNum,
  2. int? depth,
  3. Uint8List? parentFingerPrint,
  4. int? childIndex,
  5. Uint8List? chainCode,
  6. PrivKey? privKey,
  7. PubKey? pubKey,
})

Implementation

factory Bip32.Regtest({
  int? versionBytesNum,
  int? depth,
  Uint8List? parentFingerPrint,
  int? childIndex,
  Uint8List? chainCode,
  PrivKey? privKey,
  PubKey? pubKey,
}) {
  return Bip32(
    versionBytesNum: versionBytesNum,
    depth: depth,
    parentFingerPrint: parentFingerPrint,
    childIndex: childIndex,
    chainCode: chainCode,
    privKey: privKey,
    pubKey: pubKey,
    bip32PrivKey: Constants.Regtest.bip32PrivKey,
    bip32PubKey: Constants.Regtest.bip32PubKey,
  );
}