BITCOINCASH_NETWORK constructor

const BITCOINCASH_NETWORK()

Implementation

const BITCOINCASH_NETWORK()
    : super(
        messagePrefix: '\x18Bitcoin Signed Message:\n',
        networkBIP: BITCOIN_NETWORK_BIP,
        pubKeyHashPrefix: 0x00,
        scriptHashPrefix: 0x05,
        coinType: 145,
        bech32: 'bitcoincash',
        txVersion: 1,
        sighash: BCH_SIGHASH_INFO,
        endpoints: const {
          ("100.11.85.230", 50001),
          ("80.209.87.103", 50001),
          ("135.148.236.246", 50001),
          ("electroncash.dk", 50001),
          ("cashnode.bch.ninja", 50001),
          ("fulcrum.apecs.dev", 50001),
          ("niblerino.com", 50001),
          ("bch0.kister.net", 50001),
          ("blackie.c3-soft.com", 50001),
          ("fulcrum.jettscythe.xyz", 50001),
          ("bch.loping.net", 50001),
          ("electrum.imaginary.cash", 50001),
          ("bch.imaginary.cash", 50001),
          ("electroncash.de", 50001),
          ("fulcrum.criptolayer.net", 50001)
        },
        coin: bchCoin,
        addressPrefixes: const {
          AddressType.legacy: "1",
          AddressType.compatibility: "3",
          AddressType.cashaddr: "bitcoincash",
        },
        dustTreshhold: BTC_DUSTTRESHOLD,
        blockTime: 600, // 10 minutes
      );