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

Support disconnect MetaMask #72

Closed
yutingzhao1991 opened this issue Oct 17, 2023 · 0 comments
Closed

Support disconnect MetaMask #72

yutingzhao1991 opened this issue Oct 17, 2023 · 0 comments
Labels
development task Development tasks that can be completed within one day help wanted Extra attention is needed

Comments

@yutingzhao1991
Copy link
Collaborator

  disconnect = async () => {
    // TODO: disconnect for MetaMask
    const walletProvider = await this.getWalletProvider();
    if (walletProvider) {
      await walletProvider?.disconnect?.();
    }
  };

现在调用 disconnect 并不会真的断开 MetaMask,需要研究下如何实现。

@yutingzhao1991 yutingzhao1991 added the help wanted Extra attention is needed label Oct 17, 2023
@yutingzhao1991 yutingzhao1991 added the development task Development tasks that can be completed within one day label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development task Development tasks that can be completed within one day help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant