@mob haven’t found existing bn254/bls12 curve precompiles 🤷🏻‍♂️ (I’ve seen it in issues in nearcore/sdk, but no pr’s yet)
So I made it as optimal as possible 🤔.

Made a zkSNARK “Hello world” program with verifier as a smart-contract on NEAR Protocol.
github.com/mizu-dao/near-zk-de link with full instruction how to build & deploy

Gas usage ~ 140Tgas, can be optimized more than that, but I think even this is good.

Now it’s time to implement “proof of set membership” with merkle tree component on a NEAR 😉

@mob any thoughts on this ?)

Hi 😉 . I'm Rasul, I'm Rust/Blockchain-developer from Moscow.
Right now I'm working on Hexa (upcoming game on near; updates - soon).
Excited to be one of the first users here.

near.social

Social network for NEAR ecosystem