Join GitHub today
EIP-1193: Add close method #2261
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
Already have a deployed implementation for this with WalletConnect web3-provider package