Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support token detection on Base and zkSync (#3584)
## Explanation Adds support for token detection on Base and zkSync. After these chains, we'll support token detection on MetaMask's top 10 most popular networks. Token lists are available for both chains: - https://token-api.metaswap.codefi.network/tokens/8453 - https://token-api.metaswap.codefi.network/tokens/324 I deployed and verified the [ERC20 balance checker](https://github.com/wbobeirne/eth-balance-checker) on both chains, since I didn't find existing ones documented: - https://basescan.org/address/0x6aa75276052d96696134252587894ef5ffa520af#code - https://explorer.zksync.io/address/0x458fEd3144680a5b8bcfaa0F9594aa19B4Ea2D34#contract Related PR to extension (depends on this PR): MetaMask/metamask-extension#21841 Tested successfully through the extension. It autodetected my ERC20 tokens on both chains. ## References Related issues: - MetaMask/metamask-extension#17697 - MetaMask/metamask-extension#16496 ## Changelog ### `@metamask/assets-controllers` - **ADDED**: Token detection support for Base and zkSync ## 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 - [x] I've highlighted breaking changes using the "BREAKING" category above as appropriate
- Loading branch information