Is there a way to disconnect a wallet?
I tried with await web3.eth.currentProvider.disconnect()
but got Uncaught (in promise) TypeError: Cannot read properties of null (reading 'disconnect')
I am using Next.js
Is there a way to disconnect a wallet?
I tried with await web3.eth.currentProvider.disconnect()
but got Uncaught (in promise) TypeError: Cannot read properties of null (reading 'disconnect')
I am using Next.js
Nevermind found the solution here:
The user is the only one that can log out. The dapps simply set the value of the address to none