Mobile Deep Links
On mobile, users don’t install a browser extension — instead, StarKey ships its own in-app browser. A dApp opened inside it sees the exact same injected provider (window.starkey) as the desktop extension, so every integration described in the Traditional Provider sections — connecting, signing, sending transactions, events — works unchanged, with no separate mobile API to learn.
To send a user from your dApp straight into that in-app browser, build a deep link to:
https://starkey.app/dApps?url=<encoded current URL>const deepLink = `https://starkey.app/dApps?url=${encodeURIComponent(window.location.href)}`
// e.g. as an "Open in StarKey" button/QR code for mobile visitors
window.open(deepLink, '_blank')Opening this link launches the StarKey mobile app and loads the given URL in its in-app browser. From there, your dApp’s existing window.starkey integration takes over exactly as it would in the desktop extension.
Related pages
Last updated on