openzklib / openzl

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

docs for substrate integration #62

Open sartimo opened 1 year ago

sartimo commented 1 year ago

Hi All.

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

best regards

Timo Sarkar

burdges commented 1 year 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.