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: bip49BtcKeyNetVerMain,
wifNetVer: CoinsConf.bitcoinCashSlpMainNet.params.wifNetVer,
type: EllipticCurveTypes.secp256k1,
addressEncoder: ([dynamic legacy]) {
if (legacy == true) {
return P2SHAddrEncoder();
}
return BchP2SHAddrEncoder();
},
addrParams: {
'std': {
"net_ver": CoinsConf.bitcoinCashSlpMainNet.params.p2shStdNetVer!,
'hrp': CoinsConf.bitcoinCashSlpMainNet.params.p2shStdHrp!,
},
'legacy': {
"net_ver": CoinsConf.bitcoinCashSlpMainNet.params.p2shLegacyNetVer!,
},
},
);