Connect to Marina
"Connect" to Marina effectively means "to access the user's addresses and relative blinding keys". This is necessary to be able to create watch-only wallets or to build and properly fund transactions in your application.
- You should never initiate a connection request on page load.
- You should only initiate a connection request in response to direct user action before explaining the privacy implications, such as clicking a button.
- You should always explain the privacy implications of the user action.
#
EnableApplications that need access to the wallet must first request that the extension is enabled.
This will prompt the user to allow access to the wallet for the application.
If the prompt is accepted, will be possible to call the APIs
#
DisableTo disconnect