zCashRegtestSapling property

ZIP32CoinConfig zCashRegtestSapling
final

Implementation

final ZIP32CoinConfig zCashRegtestSapling = ZIP32CoinConfig(
  coinNames: CoinsConf.zcashTransparentRegtest.coinName,
  coinIdx: Slip44.testnet,
  chainType: ChainType.testnet,
  type: EllipticCurveTypes.redJubJub,
  purpose: Bip32KeyIndex.hardenIndex(32),
  network: ZCashNetwork.regtest,
  defPath: derPathHardenedShort,
  keyNetVer: Bip32Const.testNetKeyNetVersions,
  addressEncoder:
      (params, config) => ZCashAddrEncoder().encodeKey(
        params.pubKey,
        addrType: ZCashAddressType.sapling,
        network: config.network,
      ),
  hrpSaplingExtendedSpendingKey: "secret-extended-key-regtest",
  hrpSaplingExtendedFullViewingKey: "zxviewregtestsapling",
  hrpSaplingPaymentAddress: "zregtestsapling",
  b58SproutAddressPrefix: [0x16, 0xb6],
  b58SecretKeyPrefix: [0xef],
  b58PubkeyAddressPrefix: [0x1d, 0x25],
  b58ScriptAddressPrefix: [0x1c, 0xba],
  hrpTexAddress: "texregtest",
  hrpUnifiedAddress: "uregtest",
  hrpUnifiedFvk: "uviewregtest",
  hrpUnifiedIvk: "uivkregtest",
);