MoneroCoinConf.fromCoinConf constructor

MoneroCoinConf.fromCoinConf(
  1. CoinConf coinConf, {
  2. bool? isTestnet,
})

MoneroCoinConf from coinConf

Implementation

factory MoneroCoinConf.fromCoinConf(CoinConf coinConf, {bool? isTestnet}) {
  return MoneroCoinConf._(
      coinConf.coinName,
      coinConf.params.addrNetVer!,
      coinConf.params.addrIntNetVer!,
      coinConf.params.subaddrNetVer!,
      isTestnet);
}