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

EIP-1193: Add close method #2261

Open
wants to merge 1 commit into
base: master
from

Conversation

@pedrouid
Copy link
Contributor

commented Sep 5, 2019

Add the close method to the Ethereum provider API to allow Dapps to close the connection.

The motivation behind this change is to allow Dapps to switch between providers and closing the connection with first one before opening the connection with the second one.

Example: User enables connection with injected provider but then wants to disconnect to connect to another provider like WalletConnect, Portis or Fortmatic

@pedrouid

This comment has been minimized.

Copy link
Contributor Author

commented Sep 5, 2019

Already have a deployed implementation for this with WalletConnect web3-provider package
https://www.npmjs.com/package/@walletconnect/web3-provider#provider-methods

@eip-automerger

This comment has been minimized.

Copy link
Collaborator

commented Sep 5, 2019

Hi! I'm a bot, and I wanted to automerge your PR, but couldn't because of the following issue(s):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.