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