Commit 45c4dff
authored
feat: add hyperevm network as additional network (#37684)
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->
## **Description**
- Network logos
- Injective: update network logo/native token
- HyperEVM
`ChainId: 999`
`Native Token Name: HYPE`
`Chain Name : HyperEVM`
- Added hyperevm in additional networks.
[](https://codespaces.new/MetaMask/metamask-extension/pull/37684?quickstart=1)
## **Changelog**
<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`
If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`
(This helps the Release Engineer do their job more quickly and
accurately)
-->
CHANGELOG entry: Added hyperevm network logo and native token
CHANGELOG entry: Added hyperevm network in additional network list
CHANGELOG entry: Update injective logo
## **Related issues**
Fixes:
## **Manual testing steps**
Go to the MetaMask Extension app
1/ Navigate to "chainList.org" search for `HyperEVM` and click add new
network.
2/ Confirm that the network logo is displayed correctly
3/ Confirm that the native Token logo is displayed correctly
## **Screenshots/Recordings**
<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->
### **Before**
<!-- [screenshots/recordings] -->
### **After**
Injective logo is updated
<img width="300" height="500" alt="Screenshot 2025-11-18 at 00 08 42"
src="https://github.com/user-attachments/assets/68a0cb53-798b-489e-9a29-1135c1985f34"
/>
<img width="300" height="500" alt="Screenshot 2025-11-18 at 00 09 03"
src="https://github.com/user-attachments/assets/ed802609-2ae7-432e-8f69-7bb017505391"
/>
Hyper Evm is in Custom network
<img width="300" height="500" alt="Screenshot 2025-11-18 at 00 10 09"
src="https://github.com/user-attachments/assets/b0e474cd-bcba-4d35-8625-6f6975648bd7"
/>
<img width="300" height="500" alt="Screenshot 2025-11-18 at 00 10 37"
src="https://github.com/user-attachments/assets/92e72e5d-7b52-4875-8d36-dcf7b51db19d"
/>
<!-- [screenshots/recordings] -->
## **Pre-merge author checklist**
- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
## **Pre-merge reviewer checklist**
- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Adds HyperEVM (chainId 0x3e7) across constants/UI with icon, RPC,
explorer, and updates multiple network logos to square; adjusts
Injective icon mapping and tests.
>
> - **Networks**:
> - **HyperEVM (`0x3e7`)**: Added to `FEATURED_RPCS` with RPC
`https://rpc.hyperliquid.xyz/evm`, explorer `https://hyperevmscan.io/`,
currency `HYPE`, display name, and mappings in `CHAIN_IDS`, currency
symbols, explorer URL maps, image maps, and token image maps.
> - **Icons/Assets**:
> - Replaced/normalized square SVGs for `bitcoin-logo.svg`,
`injective.svg` (removed `injective-native.svg` and mapped native token
to `injective.svg`), `monad.svg`, and `sei.svg`.
> - Added `app/images/hyperevm.svg` and wired into image maps.
> - **UI/Tests**:
> - Network list snapshots now show `HyperEVM` under Additional networks
with `./images/hyperevm.svg`.
> - Updated `network.test.ts` expected chain IDs to include `HyperEVM`.
> - Bridge selectors test filters to `ALLOWED_BRIDGE_CHAIN_IDS` and
asserts shapes accordingly.
> - Adjusted network manager state tests to use non-featured example
chain IDs.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
5c7c5d1. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 00d8be9 commit 45c4dff
File tree
9 files changed
+160
-30
lines changed- app/images
- ui
- components/multichain
- network-manager/hooks
- ducks/bridge
9 files changed
+160
-30
lines changedLoading
This file was deleted.
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| 70 | + | |
67 | 71 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| |||
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
| 372 | + | |
371 | 373 | | |
372 | 374 | | |
373 | 375 | | |
| |||
452 | 454 | | |
453 | 455 | | |
454 | 456 | | |
| 457 | + | |
455 | 458 | | |
456 | 459 | | |
457 | 460 | | |
| |||
673 | 676 | | |
674 | 677 | | |
675 | 678 | | |
676 | | - | |
| 679 | + | |
677 | 680 | | |
678 | 681 | | |
679 | 682 | | |
| |||
835 | 838 | | |
836 | 839 | | |
837 | 840 | | |
| 841 | + | |
838 | 842 | | |
839 | 843 | | |
840 | 844 | | |
| |||
992 | 996 | | |
993 | 997 | | |
994 | 998 | | |
| 999 | + | |
995 | 1000 | | |
996 | 1001 | | |
997 | 1002 | | |
| |||
1168 | 1173 | | |
1169 | 1174 | | |
1170 | 1175 | | |
| 1176 | + | |
1171 | 1177 | | |
1172 | 1178 | | |
1173 | 1179 | | |
| |||
1249 | 1255 | | |
1250 | 1256 | | |
1251 | 1257 | | |
1252 | | - | |
| 1258 | + | |
| 1259 | + | |
1253 | 1260 | | |
1254 | 1261 | | |
1255 | 1262 | | |
| |||
1545 | 1552 | | |
1546 | 1553 | | |
1547 | 1554 | | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
1548 | 1569 | | |
1549 | 1570 | | |
1550 | 1571 | | |
| |||
Lines changed: 76 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
554 | 592 | | |
555 | 593 | | |
556 | 594 | | |
| |||
1621 | 1659 | | |
1622 | 1660 | | |
1623 | 1661 | | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
1624 | 1700 | | |
1625 | 1701 | | |
1626 | 1702 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
189 | 186 | | |
190 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
191 | 190 | | |
192 | 191 | | |
193 | 192 | | |
| |||
0 commit comments