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

Export on-chain verifier #13

Open
rpalakkal opened this issue Oct 24, 2023 · 0 comments
Open

Export on-chain verifier #13

rpalakkal opened this issue Oct 24, 2023 · 0 comments
Labels
halo2-wasm Issues related to halo2-wasm

Comments

@rpalakkal
Copy link
Contributor

rpalakkal commented Oct 24, 2023

This involves adding two new functions to halo2-wasm/src/lib.rs:

  1. gen_evm_proof to generate a proof with a Keccak transcript instead of a Poseidon transcript
    https://github.com/axiom-crypto/snark-verifier/blob/0b4f1a46a23f0dd06702d71af3da760141f5a347/snark-verifier-sdk/src/evm.rs#L36

  2. gen_evm_verifier_shplonk to export a verifier that takes an evm_proof
    https://github.com/axiom-crypto/snark-verifier/blob/0b4f1a46a23f0dd06702d71af3da760141f5a347/snark-verifier-sdk/src/evm.rs#L168C8-L168C32

Once this is added, we should add two new export options to halo2-repl

@rpalakkal rpalakkal added the halo2-wasm Issues related to halo2-wasm label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
halo2-wasm Issues related to halo2-wasm
Projects
None yet
Development

No branches or pull requests

1 participant