Detecting the Provider
Last updated
Was this helpful?
Last updated
Was this helpful?
You can call some of the provider methods only if OneKey extension is installed on the end user browser.
To detect if extension is installed, you can call the aysnc method detectWalletInstalled
.
If OneKey is not installed, we recommend you redirect your users to . Altogether, this may look like the following.