SubstrateCoinConf constructor
const
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.
It initializes the Substrate cryptocurrency's coin names and symbols coinNames
and the SS58 address format identifier ss58Format
.
Implementation
const SubstrateCoinConf(
{required this.coinNames,
required this.ss58Format,
required this.addressEncoder,
required this.type,
this.addrParams = const {},
this.isTestnet});