openzklib / openzl

Zero-Knowledge Cryptography Infrastructure Stack
https://openzl.org
Other
126 stars 14 forks source link

docs for substrate integration #62

Open sartimo opened 10 months ago

sartimo commented 10 months ago

Hi All.

do you have docs for integrating openZL into a substrate chain?

best regards

Timo Sarkar

burdges commented 10 months ago

I'd suggest you look at https://github.com/paritytech/arkworks-extensions and the work being done for sassafras, like https://github.com/w3f/ring-vrf/blob/master/bandersnatch_vrfs/src/lib.rs#L18-L28

We've not released those host calls in polkadot yet, but they'll happen eventually, and you can test locally with them now since they're in substrate master.