MetaMask / snaps

Extend the functionality of MetaMask using Snaps
https://metamask.io/snaps/
Other
717 stars 552 forks source link

Consider how Snaps can load big files #724

Open ritave opened 2 years ago

ritave commented 2 years ago

Projects that use zero knowledge proofs have 100mb+ setup ceremony keys that they would need to load in a Snap.

How can we allow them to do that?

CC @piotr-roslaniec

piotr-roslaniec commented 1 year ago

I'm working on a repository that implements different methods for loading large files. So far, I've been trying bundling large, base64-encoded files into a snap bundle. I think I've hit a limit on a bundle.js size - My 134MB bundle is crashing the MetaMask extension.

You can see the project and issue description here.