Connecting
To establish a connection to a user’s account, call theconnect
method on the provider.
publicKey
field is set to the PublicKey of the connected account, and the isConnected
field is set to true
.
Disconnecting
To disconnect a user’s account from your application, call thedisconnect
method on the provider.
publicKey
field is set to null
, and the isConnected
field is set to false
.