Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance golang SDK and test code to perform the detailed steps across multiple parties #2

Closed
jimthematrix opened this issue Jul 2, 2024 · 2 comments
Assignees

Comments

@jimthematrix
Copy link
Contributor

jimthematrix commented Jul 2, 2024

The golang test code needs to prove that the necessary steps can be performed by the counterparties to obtain the ability to spend received tokens:

  • decrypting values from the onchain events
  • check if the decrypted values match the UTXO hashes, in order to judge that the UTXO is for me. If an encrypted value is not for a UTXO with me as the owner, then the decrypted value (a value is always recovered, whether the decrypting party has the right key or not) won't hash to the same UTXO in the transaction
@EnriqueL8 EnriqueL8 self-assigned this Aug 16, 2024
@EnriqueL8
Copy link
Contributor

@jimthematrix I've picked this one up, let me know if it's appropriate

@EnriqueL8
Copy link
Contributor

@jimthematrix has updated the circuit to match the encryption algorithm from the Poseidon paper, so this affects this issue to correctly match the decryption from the paper

@jimthematrix jimthematrix changed the title Enhance golang test code that perform the detailed steps across multiple parties Enhance golang SDK and test code to perform the detailed steps across multiple parties Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants