project screenshot 1
project screenshot 2
project screenshot 3

Halo2 verifier on CosmWasm

Putting the Halo2 Verifier by PSE into CosmWasm allows the access of such technology to over 30 Cosmos Chains.

Halo2 verifier on CosmWasm

Created At

ETHGlobal Paris

Project Description

To be able to compile the Halo2 verifier into a wasm file that can be put onchain - without rand is useful for onchain verification for any chains that uses wasm vm as smart contract vm. CosmWasm is widely adopted by 30 Cosmos Chains as a smart contract framework.

This project aims to use the Halo2 verifier on CosmWasm.

How it's Made

This project uses the pse - halo2 code (proofs, curves etc) and Cosmwasm framework. Noir was used as a DSL to create the artifacts to feed into a binary to create CosmWasm compatible types (Binary).

In the process of doing this, we found out that provers and verifiers are usually written in the same lib and have mixed dependencies, this made it extremely difficult to isolate the rand functions and therefore given the time, the team was not able to get the verifier onchain.

background image mobile

Join the mailing list

Get the latest news and updates