Page MenuHomePhabricator

[Cashtab] For webapp txs, make the modal more clearly wallet connect and not just copy address
ClosedPublic

Authored by bytesofman on Sep 10 2025, 11:33.

Details

Summary

Just like with the extension, the user is sharing their address with an app. We are not just "Copying" the address. So, change the terminology. Add a reject button so the user can clearly opt out.

  • We add a reject button so the user can clearly opt out of sharing address
  • We change "Copy" to "Connect" which more accurately describes the work flow, we are ultimately sharing this address with an app

I looked into getting the requester but in the webapp there is not a good way to do this, as it could be spoofed. So imo best to just not say where the request is from.

Test Plan

npm test, deploy to cashtab.io and test with webapp

check screenshot:

image.png (396×319 px, 21 KB)

Diff Detail

Repository
rABC Bitcoin ABC
Branch
webapp-connect-not-copy
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34387
Build 68242: Build Diffcashtab-tests
Build 68241: arc lint + arc unit