core
core copied to clipboard
This monorepo is a collection of packages used across multiple MetaMask clients
## Explanation Unnecessary state update when the balance did not change at account tracker controller polling mechanism, which was causing unnecessary re renders ## References ## Changelog ### `@metamask/assets-controllers` -...
## Explanation This PR updates `@metamask/multichain` to provide types, CAIP-25 permission, and helpers/adapters for the new permission, which can be shared across the extension & mobile clients. These tools and...
## Explanation Fixes bug where `0` prefixed and `e` exponent suffixed eip155 references were allowed. This PR adds eip155 reference validation against regex. I'm unsure if this belongs in validation...
Add validation to ensure that the selected network state (`providerConfig`) is either a built-in network or matching a custom network configuration. This would allow us to simplify the controller by...
Recently, @mcmire put up #4537 to address some lint errors he observes locally (ref: https://github.com/MetaMask/core/pull/4537#issuecomment-2237108995). These began to appear on his system after my PR #4521. I am unable to...
## Motivation Listeners in typical event systems like `EventEmitter` only trigger if they existed when the event was emitted. However, the messenger event pubsub system in our `ControllerMessenger` class does...
## Explanation This adds the main network sync method to the `UserStorageController`. It also connects the `NetworkController` events and actions used for network syncing. ## References https://consensyssoftware.atlassian.net/browse/NOTIFY-1094 ## Changelog ###...
## Explanation This adds and exposes actions and events when adding, updating, or removing a NetworkConfiguration. Events: - `NetworkController:networkAdded` - `NetworkController:networkUpdated` - `NetworkController:networkRemoved` Actions - `NetworkController:addNetwork` - `NetworkController:updateNetwork` - `NetworkController:removeNetwork`...
## Explanation This allows tracking of when the network configuration was updated, which is used to enable accurate network syncing ## References ## Changelog ### `@metamask/network-controller` - **ADDED**: optional `lastUpdatedAt`...
## Explanation PR to remove usage of tokenList from tokenDetectionController and instead use tokensChainsCache. ## References * Related to [#67890](https://github.com/MetaMask/MetaMask-planning/issues/3523) ## Changelog ### `@metamask/assets-controllers` - **CHANGED**: Using tokensChainsCache in tokenDetectionController...