Closed ptorrent closed 2 years ago
You can check if a user's wallet is connected at any time through window.solana?.isConnected
, it will return true
if connected and false
otherwise.
We have made this API cleaner recently https://docs.phantom.app/integrating/establishing-a-connection#connecting
Hi there,
Is there a way to know if user refuse to connect ?
I tried this without success
other example:
my console.log or console.error never fire
Thanks for your help