You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently to compile noir code in the browser using the stdlib, you need to bring a copy of the stdlib and add it to the dependency graph. This is what nargo is doing.
Solution
I was looking at grain and they allow you to install the grain stdlib from npm. This seems like a possible solution for us also, where we publish the stdlib on every new noir version to keep it in sync.
One disadvantage/deal breaker that Blaine mentioned was that it is easy to then have the compiler version and the stdlib be out of sync, since one does not need to update the npm package.
Problem
Currently to compile noir code in the browser using the stdlib, you need to bring a copy of the stdlib and add it to the dependency graph. This is what nargo is doing.
Solution
I was looking at grain and they allow you to install the grain stdlib from npm. This seems like a possible solution for us also, where we publish the stdlib on every new noir version to keep it in sync.
See here: https://github.com/grain-lang/grain/tree/main/stdlib#installation
Alternatives considered
Additional context
The text was updated successfully, but these errors were encountered: