bitcoinCashSlpMainNet property
Configuration for Bitcoin Cash Simple Ledger Protocol main net
Implementation
static final BipBitcoinCashConf bitcoinCashSlpMainNet = BipBitcoinCashConf(
coinNames: CoinsConf.bitcoinCashSlpMainNet.coinName,
coinIdx: Slip44.bitcoinCash,
isTestnet: false,
defPath: derPathNonHardenedFull,
keyNetVer: bip44BtcKeyNetVerMain,
wifNetVer: CoinsConf.bitcoinCashSlpMainNet.params.wifNetVer,
type: EllipticCurveTypes.secp256k1,
addressEncoder: ([dynamic legacy]) {
if (legacy == true) {
return P2PKHAddrEncoder();
}
return BchP2PKHAddrEncoder();
},
addrParams: {
"std": {
"net_ver": CoinsConf.bitcoinCashSlpMainNet.params.p2pkhStdNetVer,
"hrp": CoinsConf.bitcoinCashSlpMainNet.params.p2pkhStdHrp,
},
"legacy": {
"net_ver": CoinsConf.bitcoinCashSlpMainNet.params.p2pkhLegacyNetVer!,
}
},
);