Zip32Sapling.fromExtendedFullViewKey constructor

Zip32Sapling.fromExtendedFullViewKey(
  1. String extendedKey
)

Implementation

factory Zip32Sapling.fromExtendedFullViewKey(String extendedKey) {
  final bytes = ZcashEncodingUtils.decodeSaplingExtendedFullViewKey(
    extendedKey,
  );
  final fvk = SaplingExtendedFullViewKey.fromBytes(bytes);
  return Zip32Sapling(privateKey: null, publicKey: fvk);
}