Proof verification can only be performed together with
Proof Generation.
How to use?
Follow instructions for Proof Generation, but selectPROOF_VERIFICATION_ON_L1 as result.
After a proof is verified, you can call
isCairoFactValid(bytes32 fact_hash, bool is_mocked) on the
Satellite contract.
You can also set mockFactHash to omit actual proof verification on-chain, reducing the cost for testing purposes.
Calculating fact hash
On EVM chains, fact hash is calculated fromprogramHash and output array in the following way:

