core
core copied to clipboard
Wallet framework prototype [WIP]
Explanation
This is a "wallet framework" prototype. Used for API design exploration.
References
Related to https://github.com/MetaMask/core/issues/4127
Changelog
None
Checklist
- [ ] I've updated the test suite for new or updated code as appropriate
- [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
- [ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate
New dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/@metamask/[email protected] | None | 0 |
0 B |
Things to test:
- We can use all defaults (no additional controllers, middleware, or permissions)
- We can extend by adding new controllers, middleware, or permissions
- We can override default permissions
TODO: Consider how to refactor this class to break out some responsibilities into separate modules.
For example, we can definitely move the middleware to a separate file.