BipCoinConfig class
A base class representing configuration parameters for a cryptocurrency coin.
- Implemented types
- Implementers
Constructors
-
BipCoinConfig({required CoinNames coinNames, required int coinIdx, required bool isTestnet, required String defPath, required Bip32KeyNetVersions keyNetVer, required List<
int> ? wifNetVer, required Map<String, dynamic> addrParams, required EllipticCurveTypes type, required AddrEncoder addressEncoder}) -
Constructor for BipCoinConfig.
const
Properties
- addressEncoder → AddrEncoder
-
final
-
addrParams
→ Map<
String, dynamic> -
final
- coinIdx → int
-
final
- coinNames → CoinNames
-
Configuration properties.
final
- defPath → String
-
final
- hasExtendedKeys → bool
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasWif → bool
-
no setteroverride
- isTestnet → bool
-
final
- keyNetVer → Bip32KeyNetVersions
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → EllipticCurveTypes
-
final
-
wifNetVer
→ List<
int> ? -
final
Methods
-
copy(
{CoinNames? coinNames, int? coinIdx, bool? isTestnet, String? defPath, Bip32KeyNetVersions? keyNetVer, List< int> ? wifNetVer, Map<String, dynamic> ? addrParams, EllipticCurveTypes? type, AddrEncoder? addressEncoder}) → BipCoinConfig - Creates a copy of the BipCoinConfig object with optional properties updated.
-
encoder(
) → BlockchainAddressEncoder - Returns the address encoder for this coin configuration.
-
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'.
-
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