Detecting the Provider
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 our website. Altogether, this may look like the following.
Last updated