Closed bzzzzzzzzzzzzz closed 1 year ago
links for reference:
IndisputableEvidence
https://github.com/nucypher/nucypher/blob/v5.1.0/nucypher/policy/collections.py#L575
Adjudicator.sol
https://github.com/nucypher/nucypher-contracts/blob/main/contracts/contracts/Adjudicator.sol#L86
Makes sense in broad terms. I do wonder if there's a simpler way to do browser verification; perhaps in nucypher-ts.
But yeah, I don't see a reason that evaluation_arguments
ought to be available only in the python implementation.
If the
IndisputableEvidence
class (from pyUmbral ver<5.2.0) and its functions were available in rust-umbral (and its associated bindings: typescript, wasm, etc), browser applications could be more easily built that make use of a cfrag's NIZK proof on-chain (by calling the existing Adjudicator/UmbralDeserializer/ReEncryptionValidator contracts).Possibly this could be a function that takes arguments
and would return the
evaluation_arguments
shared withAdjudicator.sol
Thanks! noad