ecashTestNet property

BipBitcoinCashConf ecashTestNet
final

Configuration for eCash test net

Implementation

static final BipBitcoinCashConf ecashTestNet = BipBitcoinCashConf(
  coinNames: CoinsConf.ecashTestNet.coinName,
  coinIdx: Slip44.testnet,
  isTestnet: true,
  addressEncoder: ([dynamic legacy]) {
    if (legacy == true) {
      return P2PKHAddrEncoder();
    }
    return BchP2PKHAddrEncoder();
  },
  defPath: derPathNonHardenedFull,
  keyNetVer: bip44BtcKeyNetVerTest,
  wifNetVer: CoinsConf.ecashTestNet.params.wifNetVer,
  type: EllipticCurveTypes.secp256k1,
  addrParams: {
    "std": {
      "net_ver": CoinsConf.ecashTestNet.params.p2pkhStdNetVer!,
      "hrp": CoinsConf.ecashTestNet.params.p2pkhStdHrp!,
    },
    "legacy": {
      "net_ver": CoinsConf.ecashTestNet.params.p2pkhLegacyNetVer!,
    },
  },

  /// addrClsLegacy: P2PKHAddrEncoder,
);