zerokit
zerokit copied to clipboard
Witness compatible with snarkjs
Hi, Great Project I have a question about generating the witness , Can we generate the witness which is compatible with snarkjs?
For example : api or cmd line : Generate the witness and save to witness.wtns
Hey @ItsFunny, sorry for the late ping. While it isn't possible currently to export a witness compatible with snarkjs, we can export the public inputs and the proof, using the method described here - https://github.com/vacp2p/zerokit/blob/4180a2be9a9af21d3abfaa25a8914c128b4f7cc8/rln/src/public.rs#L1625-L1740