Detecting the Provider
Last updated
Last updated
To detect if a user has already installed Martian wallet, a web application should check for the existence of an aptos
object. Martian wallet browser extension will inject an aptos
object into the of any web application the user visits.
If Martian wallet is not installed, we recommend you redirect your users to . Altogether, this may look like the following.