Skip to content

fix: wallet buttons not working in the in-app wallet browser#5364

Merged
0xmkh merged 1 commit intomainfrom
fix/wallet-button-explorer-id
Nov 24, 2025
Merged

fix: wallet buttons not working in the in-app wallet browser#5364
0xmkh merged 1 commit intomainfrom
fix/wallet-button-explorer-id

Conversation

@0xmkh
Copy link
Copy Markdown
Collaborator

@0xmkh 0xmkh commented Nov 24, 2025

Description

Fixed an issue where wallet buttons were not working in the in-app wallet browser

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues

For Linear issues: Closes APKT-4296

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

Note

Populate connector explorerId via PresetsUtil (by rdns/name) in ethers/ethers5 EIP6963 handling and wagmi, with tests and patch bumps.

  • Adapters
    • ethers / ethers5: When adding EIP6963 connectors, set explorerId from PresetsUtil.ConnectorExplorerIds using info.rdns or info.name.
    • wagmi: explorerId now falls back to PresetsUtil.ConnectorExplorerIds[connector.name] when connector.id is not mapped.
  • Tests
    • Add unit tests validating explorerId is set for EIP6963 (ethers/ethers5) and wagmi connectors.
  • Release
    • Changeset adds patch version bumps for multiple @reown/* packages.

Written by Cursor Bugbot for commit 9d2f78b. This will update automatically on new commits. Configure here.

@linear
Copy link
Copy Markdown

linear bot commented Nov 24, 2025

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Nov 24, 2025

🦋 Changeset detected

Latest commit: 9d2f78b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 26 packages
Name Type
@reown/appkit-adapter-ethers5 Patch
@reown/appkit-adapter-ethers Patch
@reown/appkit-adapter-wagmi Patch
pay-test-exchange Patch
@reown/appkit-adapter-bitcoin Patch
@reown/appkit-adapter-solana Patch
@reown/appkit-adapter-ton Patch
@reown/appkit Patch
@reown/appkit-utils Patch
@reown/appkit-cdn Patch
@reown/appkit-cli Patch
@reown/appkit-codemod Patch
@reown/appkit-common Patch
@reown/appkit-controllers Patch
@reown/appkit-core Patch
@reown/appkit-experimental Patch
@reown/appkit-pay Patch
@reown/appkit-polyfills Patch
@reown/appkit-scaffold-ui Patch
@reown/appkit-siwe Patch
@reown/appkit-siwx Patch
@reown/appkit-testing Patch
@reown/appkit-ui Patch
@reown/appkit-universal-connector Patch
@reown/appkit-wallet Patch
@reown/appkit-wallet-button Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Nov 24, 2025

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

Project Deployment Preview Comments Updated (UTC)
appkit-basic-html Ready Ready Preview Comment Nov 24, 2025 11:30am
appkit-demo Ready Ready Preview Comment Nov 24, 2025 11:30am
appkit-gallery Ready Ready Preview Comment Nov 24, 2025 11:30am
appkit-headless-sample-app Ready Ready Preview Comment Nov 24, 2025 11:30am
appkit-laboratory Ready Ready Preview Comment Nov 24, 2025 11:30am
10 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
appkit-basic-example Ignored Ignored Nov 24, 2025 11:30am
appkit-basic-sign-client-example Ignored Ignored Nov 24, 2025 11:30am
appkit-basic-up-example Ignored Ignored Nov 24, 2025 11:30am
appkit-ethers5-bera Ignored Ignored Nov 24, 2025 11:30am
appkit-nansen-demo Ignored Ignored Nov 24, 2025 11:30am
appkit-vue-solana Ignored Ignored Nov 24, 2025 11:30am
appkit-wagmi-cdn-example Ignored Ignored Nov 24, 2025 11:30am
ethereum-provider-wagmi-example Ignored Ignored Nov 24, 2025 11:30am
next-wagmi-solana-bitcoin-example Ignored Ignored Nov 24, 2025 11:30am
vue-wagmi-example Ignored Ignored Nov 24, 2025 11:30am

@github-actions
Copy link
Copy Markdown
Contributor

Visual Regression Test Results ✅ Passed

✨ No visual changes detected

Chromatic Build: https://www.chromatic.com/build?appId=6493191bf4b10fed8ca7353f&number=458
Storybook Preview: https://6493191bf4b10fed8ca7353f-plojyibxbp.chromatic.com/

@github-actions
Copy link
Copy Markdown
Contributor

Warnings
⚠️

🔑 Potential UUID detected in packages/adapters/ethers/src/tests/client.test.ts (line 1002): ba0ba0cd-17c6-4806-a...

⚠️

🔑 Potential UUID detected in packages/adapters/wagmi/src/tests/client.test.ts (line 410): 07ba87ed-43aa-4adf-4...

Generated by 🚫 dangerJS against 9d2f78b

@github-actions
Copy link
Copy Markdown
Contributor

📦 Bundle Size Check

All bundles are within size limits

📊 View detailed bundle sizes

> @reown/appkit-monorepo@1.7.1 size /home/runner/work/appkit/appkit


> size-limit

@reown/appkit - Main Entry
Size limit:   80 kB
Size:         71.36 kB with all dependencies, minified and gzipped
Loading time: 1.4 s    on slow 3G
Running time: 488 ms   on Snapdragon 410
Total time:   1.9 s
@reown/appkit/react
Size limit:   230 kB
Size:         228.29 kB with all dependencies, minified and gzipped
Loading time: 4.5 s     on slow 3G
Running time: 978 ms    on Snapdragon 410
Total time:   5.5 s
@reown/appkit/vue
Size limit:   80 kB
Size:         71.36 kB with all dependencies, minified and gzipped
Loading time: 1.4 s    on slow 3G
Running time: 417 ms   on Snapdragon 410
Total time:   1.9 s
@reown/appkit-scaffold-ui
Size limit:   220 kB
Size:         209.39 kB with all dependencies, minified and gzipped
Loading time: 4.1 s     on slow 3G
Running time: 482 ms    on Snapdragon 410
Total time:   4.6 s
@reown/appkit-ui
Size limit:   500 kB
Size:         13.15 kB with all dependencies, minified and gzipped
Loading time: 257 ms   on slow 3G
Running time: 63 ms    on Snapdragon 410
Total time:   320 ms

@github-actions
Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 79.71% 38339 / 48095
🔵 Statements 79.71% 38339 / 48095
🔵 Functions 77.3% 4107 / 5313
🔵 Branches 86.62% 9304 / 10740
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/adapters/ethers/src/client.ts 65.63% 75.96% 65.62% 65.63% 109-110, 123-124, 147-148, 162-185, 198-234, 240-241, 248-265, 386-411, 414-419, 432-433, 443-464, 470-472, 475-476, 503, 532-533, 541-542, 570-575, 594-640, 647-648, 670, 699-700, 711-712, 746-747, 751, 766-767, 784-789, 798-816, 822-823, 832-833, 844-845, 851-863
packages/adapters/ethers5/src/client.ts 60.76% 73.68% 65.62% 60.76% 69-90, 106-107, 120-121, 144-145, 159-182, 195-231, 237-238, 245-262, 381-406, 409-414, 427-428, 438-459, 465-467, 470-471, 498, 527-528, 536-537, 565-570, 574-620, 642-643, 665, 694-695, 707-708, 745-746, 750, 764-789, 797-815, 821-822, 831-832, 843-844, 850-862
packages/adapters/wagmi/src/client.ts 76.23% 66.66% 81.39% 76.23% 124-125, 130-131, 142-144, 146, 208-209, 249-252, 362-363, 377, 397-398, 475-476, 488-489, 530-531, 548-563, 577-594, 614-615, 628-637, 648-649, 653-654, 659-691, 710-719, 723-729, 732-743, 752-753, 764-765, 786-788, 802-803, 816-817, 832-833, 876-877, 901-902, 910-911, 916-917, 924-925, 933-934, 939-940, 949-950, 958-959, 964-965, 971-993, 996-1009
Generated in workflow #16402 for commit 9d2f78b by the Vitest Coverage Report Action

Copy link
Copy Markdown
Contributor

@enesozturk enesozturk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do this in ConnectorController level instead of adapter level so we don't need to duplicate code over adapters?

@0xmkh
Copy link
Copy Markdown
Collaborator Author

0xmkh commented Nov 24, 2025

@enesozturk mhmm i don't think we can do this on ConnectorController since explorer id is required to be for each connector in ChainAdapterBlueprint

@0xmkh 0xmkh added this pull request to the merge queue Nov 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 24, 2025
@0xmkh 0xmkh added this pull request to the merge queue Nov 24, 2025
Merged via the queue into main with commit d186212 Nov 24, 2025
46 checks passed
@0xmkh 0xmkh deleted the fix/wallet-button-explorer-id branch November 24, 2025 14:39
@github-actions github-actions bot locked and limited conversation to collaborators Nov 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants