pluto / parser-attestor

Circuits for parsing, locking, and extracting from various widely-used formats including JSON and HTTP.
Apache License 2.0
12 stars 1 forks source link

research: Investigate "commitment-based" extractors #23

Open devloper opened 2 months ago

devloper commented 2 months ago

Today the extractor circuit does all parsing and extraction in a single circuit client side. This offers selective disclosure of bytes of data by parsing the JSON object and only extracting the required keys.

One possible path to improved optimization is to split the problem into two problems one client side and one server side. Instead of parsing on the client, can we commit the data into a structure in which the user can identify the fields they want to reveal without fully parsing the object?

It's possible that these two problems are synonymous and there is not optimization to be gained.

Autoparallel commented 1 month ago

@devloper thoughts on this at this point? Tempted to close.