litecoinTestNet property
Configuration for Litecoin test net
Implementation
final BipLitecoinConf litecoinTestNet = BipLitecoinConf(
coinNames: CoinsConf.litecoinTestNet.coinName,
coinIdx: Slip44.testnet,
chainType: ChainType.testnet,
defPath: derPathNonHardenedFull,
keyNetVer: Bip32KeyNetVersions(
[0x04, 0x36, 0xf6, 0xe1],
[0x04, 0x36, 0xef, 0x7d],
),
/// ttub / ttpv
altKeyNetVer: Bip32KeyNetVersions(
[0x04, 0x36, 0xf6, 0xe1],
[0x04, 0x36, 0xef, 0x7d],
),
wifNetVer: CoinsConf.litecoinTestNet.params.wifNetVer,
type: EllipticCurveTypes.secp256k1,
addressEncoder:
(params, config) => P2SHAddrEncoder().encodeKey(
params.pubKey,
netVersion: switch (config.useDeprAddress) {
false => CoinsConf.litecoinTestNet.params.p2shStdNetVer,
true => CoinsConf.litecoinTestNet.params.p2shDeprNetVer,
},
),
);