-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(wallets): add support for wallet_addEthereumChain and wallet_switchEthereumChain #3371
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org requires the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @gregfromstl and the rest of your teammates on |
CodSpeed Performance ReportMerging #3371 will not alter performanceComparing Summary
|
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 06-13-fix_wallets_cache_walletconnectclient #3371 +/- ##
===============================================================================
- Coverage 62.55% 62.52% -0.03%
===============================================================================
Files 870 872 +2
Lines 64595 64728 +133
Branches 3479 3487 +8
===============================================================================
+ Hits 40405 40471 +66
- Misses 23510 23577 +67
Partials 680 680
*This pull request uses carry forward flags. Click here to find out more.
|
fe2c8f4
to
05659fa
Compare
bfd5078
to
5bf7498
Compare
05659fa
to
142ab64
Compare
5bf7498
to
14705ce
Compare
Merge activity
|
142ab64
to
1652bbc
Compare
14705ce
to
5213c80
Compare
1652bbc
to
167819f
Compare
5213c80
to
65c69b1
Compare
…tchEthereumChain (#3371) <!-- start pr-codex --> ## PR-Codex overview This PR enhances the WalletConnect functionality by adding support for switching Ethereum chains and adding new chains. ### Detailed summary - Updated `sign.ts` to include raw message in `account.signMessage` - Added `checksumAddress` validation in `validateAccountAddress` - Implemented `handleSwitchChain` for switching Ethereum chains - Added support for `wallet_addEthereumChain` and `wallet_switchEthereumChain` requests - Updated types and interfaces for wallet interactions > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
167819f
to
9266254
Compare
65c69b1
to
d931436
Compare
PR-Codex overview
This PR enhances the WalletConnect integration by adding support for validating account addresses, switching Ethereum chains, and handling chain-related requests.
Detailed summary