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: bip44BtcKeyNetVerMain,
  wifNetVer: CoinsConf.ecashMainNet.params.wifNetVer,
  type: EllipticCurveTypes.secp256k1,
  addressEncoder: ([dynamic legacy]) {
    if (legacy == true) {
      return P2PKHAddrEncoder();
    }
    return BchP2PKHAddrEncoder();
  },
  addrParams: {
    "std": {
      "net_ver": CoinsConf.ecashMainNet.params.p2pkhStdNetVer!,
      "hrp": CoinsConf.ecashMainNet.params.p2pkhStdHrp!,
    },
    "legacy": {
      "net_ver": CoinsConf.ecashMainNet.params.p2pkhLegacyNetVer!,
    },
  },
);