web3-onboard icon indicating copy to clipboard operation
web3-onboard copied to clipboard

How disconnect account?

Open yanfeizuo opened this issue 1 year ago • 1 comments

Current Behavior

Now,I can diconnect wallet by the interface disconnectWallet,but I need disconnect the account by the same time.Is there a interface to diconnect account.

Expected Behavior

When I disconnect your wallet, disconnect my account as well.

Steps To Reproduce

No response

What package is effected by this issue?

@web3-onboard/vue

Is this a build or a runtime issue?

Build

Package Version

2.8.2

Node Version

No response

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Anything else?

No response

Sanity Check

  • [X] If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.

yanfeizuo avatar Sep 09 '24 23:09 yanfeizuo

yes, in order to switch account, after disconnect wallet, i have to manually go to metamask and disconnect the account myself. Otherwise, the next time I connect, web3-onboard uses directly the same account, +1

The AccountCenter says: Action required in MetaMask Please switch the active account in your wallet. Learn more.

pellyadolfo avatar Sep 25 '24 20:09 pellyadolfo