noir-starter currently demonstrates the use of _acvmjs, while the new _noirjs is now released on NPM which could use a demonstration.
Happy Case
Update noir-starter to use _noirjs.
Additional Context
_noirjs is currently a wrapper for _acvmjs and _noirc_abiwasm. _acvmjs is used for Noir program execution (i.e. witness generation) and _noirc_abiwasm is a helper for encoding initial witness in preparation for execution / witness generation.
Problem
noir-starter currently demonstrates the use of _acvmjs, while the new _noirjs is now released on NPM which could use a demonstration.
Happy Case
Update noir-starter to use _noirjs.
Additional Context
_noirjs is currently a wrapper for _acvmjs and _noirc_abiwasm. _acvmjs is used for Noir program execution (i.e. witness generation) and _noirc_abiwasm is a helper for encoding initial witness in preparation for execution / witness generation.
The compile_prove_verify.test.ts is a great reference for how to make use of _noirjs.