CoinParams constructor
const
CoinParams({
- List<
int> ? p2pkhNetVer, - List<
int> ? p2shNetVer, - String? p2wpkhHrp,
- int? p2wpkhWitVer,
- String? p2trHrp,
- int? p2trWitVer,
- List<
int> ? wifNetVer, - int? addrSs58Format,
- String? addrHrp,
- String? addrPrefix,
- String? p2pkhStdHrp,
- List<
int> ? p2pkhStdNetVer, - List<
int> ? p2pkhLegacyNetVer, - String? p2shStdHrp,
- List<
int> ? p2shStdNetVer, - List<
int> ? p2shLegacyNetVer, - String? stakingAddrHrp,
- List<
int> ? p2pkhDeprNetVer, - List<
int> ? p2shDeprNetVer, - List<
int> ? addrNetVer, - List<
int> ? addrIntNetVer, - List<
int> ? subaddrNetVer, - 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,
});