bitcoinCashSlpTestNet property

BipBitcoinCashConf bitcoinCashSlpTestNet
final

Configuration for Bitcoin Cash Simple Ledger Protocol test net

Implementation

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

  /// addrClsLegacy: P2SHAddrEncoder,
);