bitcoinCashTestNet property

BipBitcoinCashConf bitcoinCashTestNet
final

Configuration for Bitcoin Cash test net

Implementation

static final BipBitcoinCashConf bitcoinCashTestNet = BipBitcoinCashConf(
  coinNames: CoinsConf.bitcoinCashTestNet.coinName,
  coinIdx: Slip44.testnet,
  isTestnet: true,
  defPath: derPathNonHardenedFull,
  addressEncoder: ([dynamic legacy]) {
    if (legacy == true) {
      return P2SHAddrEncoder();
    }
    return BchP2SHAddrEncoder();
  },
  keyNetVer: bip49BtcKeyNetVerTest,
  wifNetVer: CoinsConf.bitcoinCashTestNet.params.wifNetVer,
  type: EllipticCurveTypes.secp256k1,
  addrParams: {
    'std': {
      "net_ver": CoinsConf.bitcoinCashTestNet.params.p2shStdNetVer!,
      'hrp': CoinsConf.bitcoinCashTestNet.params.p2shStdHrp!,
    },
    'legacy': {
      "net_ver": CoinsConf.bitcoinCashTestNet.params.p2shLegacyNetVer!,
    },
  },
);