Currently it's impossible to get the verification key for a circuit from the backend without directly using the cbinds. This requires the user to:
- Spin up another instance of barretenberg
- base64 decode and decompress their bytecode before passing it to
acirWriteVkUltraHonk
- Know that they need to wrap the response in a
RawBuffer and pass it to acirVkAsFieldsUltraHonk
What should be simple then requires copying out bb.js internals and multiple function calls.
Currently it's impossible to get the verification key for a circuit from the backend without directly using the cbinds. This requires the user to:
acirWriteVkUltraHonkRawBufferand pass it toacirVkAsFieldsUltraHonkWhat should be simple then requires copying out bb.js internals and multiple function calls.