-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat: nullifier & utxo scheme update #44
Conversation
.update(this.p.toBytes32().toBuffer()) | ||
.digest(), | ||
) | ||
const N = Point.fromPrivKey(this.n.toHex(32)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@barryWhiteHat
@weijiekoh
This part is where the wallet creates spending key, viewing key and its address.
include "../lib/spending_pubkey.circom"; | ||
include "../lib/ownership_proof.circom"; | ||
|
||
template UtxoNoteHash() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@barryWhiteHat
@weijiekoh
This is a testing circuit to check the new nullifier & utxo logic work well.
Add `yarn initialize` script for the dev env before testing
Zkopru uses ZCash's spending key and viewing key scheme closes zkopru-network#34
Zkopru uses ZCash's spending key and viewing key scheme
closes #34