ecashTestNet property
Configuration for eCash test net
Implementation
final BipBitcoinCashConf ecashTestNet = BipBitcoinCashConf(
coinNames: CoinsConf.ecashTestNet.coinName,
coinIdx: Slip44.testnet,
chainType: ChainType.testnet,
addressEncoder: (params, config) {
if (config.useLagacyAdder) {
return P2PKHAddrEncoder().encodeKey(
params.pubKey,
netVersion: CoinsConf.ecashTestNet.params.p2pkhLegacyNetVer,
);
}
return BchP2PKHAddrEncoder().encodeKey(
params.pubKey,
netVersion: CoinsConf.ecashTestNet.params.p2pkhStdNetVer,
hrp: CoinsConf.ecashTestNet.params.p2pkhStdHrp,
);
},
defPath: derPathNonHardenedFull,
keyNetVer: bip44BtcKeyNetVerTest,
wifNetVer: CoinsConf.ecashTestNet.params.wifNetVer,
type: EllipticCurveTypes.secp256k1,
/// addrClsLegacy: P2PKHAddrEncoder,
);