hyperledger-labs / zeto

Privacy-preserving implementations of fungible and non-fungible tokens, using UTXO as the underlying transaction model
Apache License 2.0
25 stars 16 forks source link

Non repudiation #37

Closed jimthematrix closed 2 months ago

jimthematrix commented 2 months ago

Add a new circuit that adds encryption with a published authority key of all the secret values of a transaction. This allows the smart contract to enforce non-repudiation with the ZKP, while allowing the authority (which possesses all the secret values of all transactions) to be the arbitrator in disputes.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.44%. Comparing base (7d97f65) to head (dc0f729). Report is 12 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #37 +/- ## ========================================== + Coverage 65.61% 70.44% +4.83% ========================================== Files 12 12 Lines 538 538 ========================================== + Hits 353 379 +26 + Misses 145 112 -33 - Partials 40 47 +7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.