Skip to content

feat: add Sonic to supported networks#72

Merged
devanoneth merged 1 commit intoeternalsafefrom
issue-28-add-sonic-network
Mar 24, 2026
Merged

feat: add Sonic to supported networks#72
devanoneth merged 1 commit intoeternalsafefrom
issue-28-add-sonic-network

Conversation

@chainflo-agent
Copy link
Collaborator

@chainflo-agent chainflo-agent commented Mar 23, 2026

Summary

  • add Sonic (chainId 146) to built-in supported chains
  • add Sonic chain and network logos
  • add a temporary sonic -> 146 short-name mapping in src/config/chains.ts so URL parsing works with the currently pinned protocol-kit version
  • add a hook test to verify chain=sonic resolves to chain 146

Testing

  • yarn test --runInBand --runTestsByPath src/hooks/tests/useChainId.test.ts
  • yarn test --runInBand --runTestsByPath src/components/common/NetworkSelector/index.test.tsx

Closes #28

@vercel
Copy link

vercel bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
wallet Ready Ready Preview, Comment Mar 23, 2026 4:35pm

@github-actions
Copy link

📦 Next.js Bundle Analysis for eternalsafe-wallet

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 1.14 MB (🟡 +96 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

@github-actions
Copy link

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
75.52% (+0% 🔼)
7009/9281
🔴 Branches 53.37% 1702/3189
🔴 Functions 58.04% 1021/1759
🟡 Lines
77.46% (+0% 🔼)
6299/8132

Test suite run success

842 tests passing in 141 suites.

Report generated by 🧪jest coverage report action from 98e0e8f

@devanoneth devanoneth merged commit 58f896a into eternalsafe Mar 24, 2026
6 checks passed
@devanoneth devanoneth deleted the issue-28-add-sonic-network branch March 24, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Sonic to list of supported networks

2 participants