Skip to main content
The openDeeplink service on DynamicCore opens a URL in the right way for the current platform. Use it from an extension to send a user to a mobile wallet app, or to trigger a redirect that comes back to your app.

Access the service

openDeeplink is a function of type (url: string) => Promise<void>.

Platform behavior

On web, the SDK uses window.location.assign to navigate to the deep link in the same tab. This avoids extra about:blank tabs when the wallet redirects back to the app.

Usage in an extension

Extensions can wrap openDeeplink in a helper that builds the URL and then opens it:

QR codes on desktop and mobile web

The same URL passed to openDeeplink can be encoded as a QR code on desktop or mobile web, where the user’s wallet app scans it instead of the page opening the link directly. Render the QR code with any QR library and use the same deep-link URL as the value.

Security notes

  • Only open URLs from trusted sources.
  • Reject schemes that can execute script, such as javascript: or data:.
  • If your extension accepts a returnUrl, validate it against a known allow-list.
Last modified on August 5, 2026