BipLitecoinConf class

A class representing the configuration for Litecoin (LTC) based on the BIP framework.

Inheritance

Constructors

BipLitecoinConf({required CoinNames coinNames, required int coinIdx, required bool isTestnet, required String defPath, required Bip32KeyNetVersions keyNetVer, required List<int>? wifNetVer, required EllipticCurveTypes type, required AddrEncoder addressEncoder, required Map<String, dynamic> addrParams, required Bip32KeyNetVersions altKeyNetVer, bool useAltKeyNetVer = false, bool useDeprAddress = false})
Constructor for BipLitecoinConf.
const

Properties

addressEncoder AddrEncoder
finalinherited
addrParams Map<String, dynamic>
Overrides the 'addrParams' getter to return the appropriate address parameters based on the 'useDeprAddress' flag.
no setteroverride
altKeyNetVer Bip32KeyNetVersions
Configuration properties specific to Litecoin.
final
coinIdx int
finalinherited
coinNames CoinNames
Configuration properties.
finalinherited
defPath String
finalinherited
hasExtendedKeys bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasWif bool
no setterinherited
isTestnet bool
finalinherited
keyNetVer Bip32KeyNetVersions
Overrides the 'keyNetVer' getter to use the alternate key network version when the 'usAltKeyNetVer' flag is set to true.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type EllipticCurveTypes
finalinherited
useAltKeyNetVer bool
final
useDeprAddress bool
final
wifNetVer List<int>?
finalinherited

Methods

copy({CoinNames? coinNames, int? coinIdx, bool? isTestnet, String? defPath, Bip32KeyNetVersions? keyNetVer, Bip32KeyNetVersions? altKeyNetVer, List<int>? wifNetVer, Map<String, dynamic>? addrParams, EllipticCurveTypes? type, AddrEncoder? addressEncoder, bool? useAltKeyNetVer, bool? useDeprAddress}) BipLitecoinConf
Creates a copy of the BipLitecoinConf object with optional properties updated.
override
encoder() BlockchainAddressEncoder
Returns the address encoder for this coin configuration.
inherited
getParams(Bip32PublicKey pubKey) Map<String, dynamic>
Get address parameters with optional chain code inclusion. If 'chain_code' is specified in 'addrParams', it will be replaced with the chain code from the provided 'pubKey'.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited