connect
method on the provider.
publicKey
field is set to the PublicKey of the connected account, and the isConnected
field is set to true
.
disconnect
method on the provider.
publicKey
field is set to null
, and the isConnected
field is set to false
.