SaplingExpandedSpendingKey constructor

SaplingExpandedSpendingKey({
  1. required RedJubJubSpendPrivateKey ask,
  2. required JubJubFr nsk,
  3. required SaplingOutgoingViewingKey ovk,
  4. SaplingFullViewingKey? fvk,
})

Implementation

SaplingExpandedSpendingKey({
  required this.ask,
  required JubJubFr nsk,
  required this.ovk,
  SaplingFullViewingKey? fvk,
}) : _nskBytes = BuBytes.from(nsk.toBytes()),
     _nsk = nsk;