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,
  defPath: derPathNonHardenedFull,
  keyNetVer: bip49BtcKeyNetVerTest,
  wifNetVer: CoinsConf.ecashTestNet.params.wifNetVer,
  type: EllipticCurveTypes.secp256k1,
  addressEncoder: ([dynamic legacy]) {
    if (legacy == true) {
      return P2SHAddrEncoder();
    }
    return BchP2SHAddrEncoder();
  },
  addrParams: {
    'std': {
      "net_ver": CoinsConf.ecashTestNet.params.p2shStdNetVer!,
      'hrp': CoinsConf.ecashTestNet.params.p2shStdHrp!,
    },
    'legacy': {
      "net_ver": CoinsConf.ecashTestNet.params.p2shLegacyNetVer!,
    },
  },
);