Skip to content
Discussion options

You must be logged in to vote

Hello!

  1. Yes, plassing as bytes32 is the way to go.
  2. To prevent proof reuse, there is not a standardized way to do this and your approach would work. I think it would be cheaper to add a nonce as a public input to the circuit that gets stored in the contract, which would act as a nullifier. Each nonce should only be able to be used once.
  3. I would only consider batching if the transaction volume is high. It would add a lot of latency to the the transactions. A current verifcation is on the order of 1-2M gas i believe

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aletheiamanifesto-pixel
Comment options

@critesjosh
Comment options

Answer selected by aletheiamanifesto-pixel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants