ZCashAccount.fromSaplingExtendedFullViewKey constructor
ZCashAccount.fromSaplingExtendedFullViewKey({
- required String uskBytes,
- required ZCashAccountConfig config,
- required ZCryptoContext context,
Implementation
factory ZCashAccount.fromSaplingExtendedFullViewKey({
required String uskBytes,
required ZCashAccountConfig config,
required ZCryptoContext context,
}) {
final key = ZCashEncodingUtils.decodeSaplingExtendedFullViewKey(
uskBytes,
config.coinConfig.hrpSaplingExtendedSpendingKey,
);
return ZCashAccount._(
config: config,
context: context,
sapling: Zip32Sapling.fromExtendedFullViewKey(key),
orchard: null,
transparent: null,
);
}