Skip to content

Export Miden VM Verifier to Solidity #1180

Answered by bobbinth
jeljelih asked this question in Q&A
Discussion options

You must be logged in to vote

We don't have Solidity verifier implemented yet. To support this, we'd first need to build AirScript backend for Solidity - so, this may take some time.

Having said that, verifying Miden VM proofs directly on chain would probably be pretty expensive (I believe the estimate I've mentioned in various places is around 3M gas per proof). A better approach is to wrap Miden VM STARK proofs in a SNARK proof - similar to how zkEVM team does it. Specifically, if a STARK proof is wrapped in FFLONK proof, I believe the on-chain verification costs goes down to something like 250K gas.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jeljelih
Comment options

Answer selected by jeljelih
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