Skip to content
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

[Feature Request] 请求添加切换钱包后自动检测钱包切换功能 #1319

Open
0x-Johnson opened this issue Jan 10, 2025 · 4 comments
Assignees

Comments

@0x-Johnson
Copy link

Background

在使用中,发现如果切换钱包,该事件并不会被监听,页面仍是原来的钱包状态,而官方的Wallet adapter都已实现该功能

Proposal

建议后续能够加上钱包切换事件,以及相关配置项

Additional context

@yutingzhao1991
Copy link
Collaborator

你是什么链?用的哪个 adapter?你说的”官方的Wallet adapter“ 是指什么?

@0x-Johnson
Copy link
Author

你是什么链?用的哪个 adapter?你说的”官方的Wallet adapter“ 是指什么?

Solana, 用的@solana/wallet-adapter-react

@yutingzhao1991
Copy link
Collaborator

@gin-lsl 有空的时候帮忙看一下这个问题,看看我们怎么支持比较好

@gin-lsl
Copy link
Collaborator

gin-lsl commented Jan 24, 2025

是指在钱包中切换地址时,dapp 中能够感知到吗?
我检查了下,backpack 中目前是能够自动更新 pubkey 的,但是 phantom 等似乎没有反应。

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

No branches or pull requests

3 participants