Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Extend Wasm Based Proving to include NodeJS #730

Closed
1 task done
iamalwaysuncomfortable opened this issue Aug 26, 2023 · 1 comment
Closed
1 task done
Assignees

Comments

@iamalwaysuncomfortable
Copy link
Collaborator

iamalwaysuncomfortable commented Aug 26, 2023

🚀 Feature

Currently browser-based proving via wasm with javascript bindings is fully functional. However, NodeJS proving is not yet available.

Currently the main protocol limitation preventing NodeJS from being able to use Wasm based proving is parameter downloads employing WebSys for the wasm compilation target. With some limited modifications to SnarkVM parameter download flow, it will be possible to create parameter downloads that is general to both NodeJS and web browsers.

Secondly, via a node JS polyfill it will be possible to use node workers to achieve multi-threading in node to achieve state of the art proof times.

Motivation

Extension of proving from browsers to NodeJS will enable the all Aleo technology to be used from Javascript.

Implementation

@iamalwaysuncomfortable
Copy link
Collaborator Author

iamalwaysuncomfortable commented Oct 16, 2023

Finished by PRs:

#756
#758
#765
#766
#768
#769

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant