Old zktaxaudit code
https://github.com/tobinsouth/zktaxaudit.git
frontend/ has all the page website stuffcircuits/ has the circom circuits (and lots of wasted test files etc)frontend/pages/prove.tsx: the made NextJS page for taking a signed tax JSON and creating a redeacted version JSON + zk proof pair.frontend/utilities/json.ts: a bunch of tools that parse the inputted JSON.frontend/utilities/crypto.ts: a bunch of tools to allow us to extract signatures & pubkeys as well as using snark friends poseidon hashes.circuits/circuits/jsonFull.circom: the main circom circuit that proves the redacted JSON is valid.circuits/circuits/build.sh: compiles the jsonFull.circom with snarkjs to produce jsonFull_final.zkey.frontend/public/worker.js: this is a async worker that performs the snarkjs groth16 proof using the jsonFull circuit.frontend/pages/verify.tsx: as yet incomplete page to verify the produced proofsfrontend/pages/api/verify.ts: async worker (via API) that performs the snarkjs groth16 verify step.frontend/helpers/*circuits/utilitiescircuits/build.shcircuits/json-verify.circom