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

Refactor @mm-snaps/controllers #12

Closed
7 of 8 tasks
rekmarks opened this issue May 18, 2021 · 0 comments
Closed
7 of 8 tasks

Refactor @mm-snaps/controllers #12

rekmarks opened this issue May 18, 2021 · 0 comments
Assignees

Comments

@rekmarks
Copy link
Member

rekmarks commented May 18, 2021

  • @mm-snaps/controllers
    • All controllers should be migrated to the v2 BaseController and moved to @metamask/controllers. (This is a longer-term item.)
    • PluginController
      • Define a generic, asynchronous interface for communicating with snaps/plugins.
      • Make completely agnostic of the snaps execution environment.
        • It currently assumes that plugins are executed in dedicated web workers.
    • WebWorkerController
      • Support the generic snaps communication interface mentioned above.
      • Replace internal CommandEngine module with json-rpc-engine.
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

2 participants