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

groth16 proof parser from json in typescript #186

Closed
feltroidprime opened this issue Sep 5, 2024 · 0 comments
Closed

groth16 proof parser from json in typescript #186

feltroidprime opened this issue Sep 5, 2024 · 0 comments
Assignees

Comments

@feltroidprime
Copy link
Collaborator

feltroidprime commented Sep 5, 2024

Focusing on this file

https://github.com/keep-starknet-strange/garaga/blob/main/hydra/garaga/starknet/groth16_contract_generator/parsing_utils.py

Define data structures in typescript for Groth16VerifyingKey and Groth16Proof.
Define the CurveID enum equivalent as well.
Define functions that create those data structure from different kind of json files. (equivalent to the from_json method in python)

Test the parsing in a separate file.

All jsons files from https://github.com/keep-starknet-strange/garaga/tree/main/hydra/garaga/starknet/groth16_contract_generator/examples should pass similarly to https://github.com/keep-starknet-strange/garaga/blob/main/tests/hydra/starknet/test_groth16_vk_proof_parsing.py

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