noir-lang / docs

19 stars 22 forks source link

Document `noir_js` #371

Closed Savio-Sou closed 1 year ago

Savio-Sou commented 1 year ago
### Helpful Prerequisite
- [ ] https://github.com/noir-lang/noir/issues/2711

The new _noirjs is now released on NPM. It would be great to update the TypeScript page and describe how to make use of the Noir.js JavaScript package.

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.

Savio-Sou commented 1 year ago

@signorecello closed with https://github.com/noir-lang/docs/pull/393?

signorecello commented 1 year ago

indeed