Open danfinlay opened 4 years ago
I'm still working on it but I had a few ideas about adding 2 features which plugins can requestPermission to use :
Related question: Did you guys think about a mechanism for snaps requiring other snaps? (similar to dependencies) Imagine I need a state channel snap for my gaming or dex snap. If so, then we need a way to specifiy which version of the dependency snap is being used. And then potentially to handle several versions of the same snap in case a snap that requires it hasn’t updated to the latest version
The versioning question is important, and we had a good thread in a DM about this, sharing a bit here for others.
Basically, we think dapps/snaps should be able to request a security model for a dependency, and the user should be able to heighten the security around it (like requiring confirmation to receive updates).
3 options there too from the user perspective:
Yes I'm making another issue with the discussion about the security and updating models for snaps dependencies.
Static plugins have limited utility:
For these reasons, we should not ship any plugin system without a robust plugin-update system.
This thread will serve as a place to discuss the beginnings of this aspect of the system.