Zokrates / ZoKrates

A toolbox for zkSNARKs on Ethereum
https://zokrates.github.io
GNU Lesser General Public License v3.0
1.8k stars 360 forks source link

ABI input not supported #1357

Closed ssolit closed 8 months ago

ssolit commented 9 months ago

Hi All,

I am trying to use a json input, but I am getting the error "ABI input as inline argument is not supported. Please use --stdin. It looks like a similar issue was reported here: https://github.com/Zokrates/ZoKrates/issues/105#issuecomment-1279227180. Was this ever addressed?

Thanks

alv-around commented 8 months ago

@ssolit this works for me fine:

$ zokrates compute-witness --abi --stdin < sample.json
dark64 commented 8 months ago

@alvaro-alonso gave a correct usage example, closing this for now 👍