Skip to content

Feature request: connect Kastle Mobile to a third-party web dapp from a phone browser #303

Description

@danieliyahu1

Feature request: connect Kastle Mobile to a third-party web dapp from a phone browser

I built a Kaspa web dapp that integrates Kastle via the window.kastle provider and the @forbole/kastle-sdk (signPskt / kas:sign_tx with safe-JSON templates). It works perfectly on desktop with the browser extension, but there is no way to use it from a phone.

On a phone (iOS Safari / Android Chrome) the Kastle provider is never injected, so my dapp shows "wallet not found". I'd like to be able to connect and sign with my Kastle wallet while browsing my web app on the phone.

What would help

A documented, third-party-accessible mobile dapp-connection mechanism, for example:

  • WalletConnect-style QR pairing: the dapp shows a QR code, Kastle Mobile scans it, opens the session, and returns signatures back to the dapp (the SDK's signPskt/kas:sign_tx API would be ideal to expose over the session).
  • Deep-link / universal-link signing (kastle:// / https://kastle.cc/...): the dapp redirects to Kastle Mobile with the unsigned transaction (safe-JSON, same shape as kas:sign_tx), the user approves in-app, and the signed transaction is returned to the dapp.

This is the same gap Kasware has, and mobile is the one thing blocking on-chain dapps from being usable on phones.

Context

  • I already use window.kastle + kas:sign_tx (signTx(networkId, txJson, scripts) with { inputIndex, scriptHex, signType }) on desktop.
  • The SDK exposes signPskt(txJson, scriptOptions?) which maps to kas:sign_tx — an ideal candidate for the mobile session API.
  • Kastle Mobile already implements the window.kastle API surface (docs show +mobile versions), so exposing it over a QR/deep-link bridge feels like a natural fit.

Happy to test, provide more details, or share the dapp for a trial. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions