STARK proofs can be verified on L1 (Ethereum), so that other contracts deployed on Ethereum can use FactRegistry contract to check whether given proof was verified.
PROOF_VERIFICATION_ON_L1
as result
.
After proof is verified, you can call bool isCairoFactValid(bytes32 fact_hash, bool is_mocked)
function on Satellite contract.
You can also set mockFactHash
to omit actual proof verification on-chain, reducing the cost for testing purposes.
additional_params.json
set.