electraProtocolTestNet property

BipCoinConfig electraProtocolTestNet
final

Configuration for Electra Protocol test net

Implementation

final BipCoinConfig electraProtocolTestNet = BipCoinConfig(
  coinNames: CoinsConf.electraProtocolTestNet.coinName,
  coinIdx: Slip44.testnet,
  chainType: ChainType.testnet,
  defPath: derPathNonHardenedFull,
  keyNetVer: Bip32KeyNetVersions(
    [0x04, 0x35, 0x87, 0xcf],
    [0x04, 0x35, 0x83, 0x94],
  ),
  wifNetVer: CoinsConf.electraProtocolTestNet.params.wifNetVer,
  type: EllipticCurveTypes.secp256k1,
  addressEncoder:
      (params, config) => P2SHAddrEncoder().encodeKey(
        params.pubKey,
        netVersion: CoinsConf.electraProtocolTestNet.params.p2shNetVer,
      ),
);