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

Wasm support - virtualize filesystem #264

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

voltrevo
Copy link

@voltrevo voltrevo commented May 20, 2024

This PR replaces all usage of std::fs with virtual_fs::FileSystem, which enables compiling circom in pure rust.

In particular, this enables running circom in webassembly. Here's a demo.

I work on MPC within PSE, and one of our goals is to enable easy and productive development of MPC applications in JS. We hope to achieve this by providing an end-to-end solution in portable JS code, which includes compiling circom programs into arithmetic circuits. More info.

I recognize this is a lot of code from a new external contributor 😅. Feel free to treat this as a conversation starter, but it does work and I believe could be merged as-is.

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

Successfully merging this pull request may close these issues.

1 participant