SubstrateCoinConf class

A class representing the configuration for a Substrate-based cryptocurrency.

Implemented types

Constructors

SubstrateCoinConf({required CoinNames coinNames, required int ss58Format, required AddrEncoder addressEncoder, required EllipticCurveTypes type, Map<String, dynamic> addrParams = const {}, bool? isTestnet})
Constructor for creating a SubstrateCoinConf instance.
const
SubstrateCoinConf.fromCoinConf({required CoinConf coinConf, required AddrEncoder addressEncode, required EllipticCurveTypes type})
Factory method to create a SubstrateCoinConf from a generic CoinConf.
factory

Properties

addressEncoder AddrEncoder
final
addrParams Map<String, dynamic>
final
coinNames CoinNames
Coin names and symbols
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
ss58Format int
Address format identifier
final
type EllipticCurveTypes
final
wifNetVer List<int>?
final

Methods

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