toVerificationKey method

  1. @override
SaplingBindingVerificationKey toVerificationKey()
override

Converts to the corresponding verification key.

Implementation

@override
SaplingBindingVerificationKey toVerificationKey() {
  return _vk ??= () {
    final mul = generator() * inner;
    return SaplingBindingVerificationKey(
      JubJubNativePoint.fromBytes(mul.toBytes()),
    );
  }();
}