core
core copied to clipboard
This monorepo is a collection of packages used across multiple MetaMask clients
Is there any standard documentation out there which depicts, exactly how do metamask controllers work? It would be really really helpful if there is a documentation for this. @metamask/controllers is...
Merge the network controller in this repository with the extension network controller. General guidelines: * Write comprehensive unit tests for both current network controllers * This is the first step...
**PR Title** - A brief description of changes. If the PR has breaking changes add `BREAKING:` to the start of the PR title. **Description** _Itemize the changes you have made...
Bumps [@metamask/auto-changelog](https://github.com/MetaMask/auto-changelog) from 2.6.0 to 2.6.1. Release notes Sourced from @metamask/auto-changelog's releases. 2.6.1 Fixed When fetching remote tags, order by date to account for miniscule time differences between tags created...
This PR adds caveat support for endowment permissions, see the linked issue for why this is needed now. WIP **Description** _Itemize the changes you have made into the categories below_...
`TokenController` defines a function `watchAsset` which implements EIP-747's `wallet_getAssets`. This EIP does not specify a way to determine whether a wallet already contains the given asset. This means that a...
Permissions of type `endowment` currently do not support caveats at all; the `allowedCaveats` of their specification objects must be `null`. This is because we didn't need caveats for the first...
The [`SnapController.updateSnap()`](https://github.com/MetaMask/snaps-skunkworks/blob/5c1c0c92046bd6b016c518db773b5bb339a65861/packages/controllers/src/snaps/SnapController.ts#L1296) method performs some permission calculations that should occur in the `PermissionController`. In particular, it compares the permissions of an existing snap with that of a new version, revokes...
Currently we are validating passwords by calling `await KeyringController.submitPassword(credentials.password)` which is a heavy operation and is dramatically slowing down the UI. I see that base KeyringController has a [verifyPassword method](https://github.com/MetaMask/KeyringController/blob/520dad38bad52429bf997373d98e90d138d8ba7f/index.js#L189)...
We have recently switched to Dependabot, which does not support Yarn v3. We still want to automate the bumping of dependencies to save us time, especially to address security advisories,...