CoinParams constructor

const CoinParams({
  1. List<int>? p2pkhNetVer,
  2. List<int>? p2shNetVer,
  3. String? p2wpkhHrp,
  4. int? p2wpkhWitVer,
  5. String? p2trHrp,
  6. int? p2trWitVer,
  7. List<int>? wifNetVer,
  8. int? addrSs58Format,
  9. String? addrHrp,
  10. String? addrPrefix,
  11. String? p2pkhStdHrp,
  12. List<int>? p2pkhStdNetVer,
  13. List<int>? p2pkhLegacyNetVer,
  14. String? p2shStdHrp,
  15. List<int>? p2shStdNetVer,
  16. List<int>? p2shLegacyNetVer,
  17. String? stakingAddrHrp,
  18. List<int>? p2pkhDeprNetVer,
  19. List<int>? p2shDeprNetVer,
  20. List<int>? addrNetVer,
  21. List<int>? addrIntNetVer,
  22. List<int>? subaddrNetVer,
  23. List<int>? addrVer,
})

Implementation

const CoinParams({
  // Network versions for Pay-to-Public-Key-Hash (P2PKH) addresses
  this.p2pkhNetVer,
  // Network versions for Pay-to-Script-Hash (P2SH) addresses
  this.p2shNetVer,
  // Human-Readable Part (HRP) for Pay-to-Witness-Public-Key-Hash (P2WPKH) addresses
  this.p2wpkhHrp,
  // Witness version for Pay-to-Witness-Public-Key-Hash (P2WPKH) addresses
  this.p2wpkhWitVer,
  // Human-Readable Part (HRP) for Pay-to-Taproot (P2TR) addresses
  this.p2trHrp,
  // Witness version for Pay-to-Taproot (P2TR) addresses
  this.p2trWitVer,
  // Network versions for Wallet Import Format (WIF)
  this.wifNetVer,
  // SS58 format for addresses
  this.addrSs58Format,
  // Human-Readable Part (HRP) for custom addresses
  this.addrHrp,
  // Prefix for custom addresses
  this.addrPrefix,
  // Standard HRP for Pay-to-Public-Key-Hash (P2PKH) addresses
  this.p2pkhStdHrp,
  // Network versions for standard Pay-to-Public-Key-Hash (P2PKH) addresses
  this.p2pkhStdNetVer,
  // Legacy network versions for Pay-to-Public-Key-Hash (P2PKH) addresses
  this.p2pkhLegacyNetVer,
  // Standard HRP for Pay-to-Script-Hash (P2SH) addresses
  this.p2shStdHrp,
  // Network versions for standard Pay-to-Script-Hash (P2SH) addresses
  this.p2shStdNetVer,
  // Legacy network versions for Pay-to-Script-Hash (P2SH) addresses
  this.p2shLegacyNetVer,
  // HRP for staking addresses
  this.stakingAddrHrp,
  // Network versions for deprecated Pay-to-Public-Key-Hash (P2PKH) addresses
  this.p2pkhDeprNetVer,
  // Network versions for deprecated Pay-to-Script-Hash (P2SH) addresses
  this.p2shDeprNetVer,

  // Network versions for various address formats
  this.addrNetVer,
  this.addrIntNetVer,
  this.subaddrNetVer,

  // Address versions
  this.addrVer,
});