ecashMainNet property

BipBitcoinCashConf ecashMainNet
final

Configuration for eCash main net

Implementation

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