Skip to content

Show asset issuer in the Add a Token flow (consistency with Sign Transaction) #887

Description

@piyalbasu

Summary

We now surface the asset issuer when reviewing a changeTrust operation in the Sign Transaction flow (added in #876, closing #363), but the Add a Token flow does not show the issuer account. This is an inconsistency — the issuer is the canonical identifier for a classic asset (anyone can mint a token with code USDC), so a user adding a token can't easily verify they're trusting the intended issuer.

Current behavior

In the Add a Token confirmation sheet (src/components/screens/AddTokenScreen/AddTokenBottomSheetContent.tsx), the detail rows are:

  • Wallet
  • Network
  • Token Address — which renders truncateAddress(getTokenContractId()), i.e. the contract / SAC contract ID (for a classic asset it's the derived contract ID), not the classic issuer account (G…).

The search-result rows (src/components/screens/AddTokenScreen/TokenItem.tsx) show only the token code and domain — no issuer either.

Expected behavior

For classic assets, show the asset issuer (G…) — ideally with a copy affordance — in the Add a Token flow, consistent with how it's now shown for changeTrust ops in Sign Transaction (#876). Contract tokens (no classic issuer) can continue to show the contract ID.

References

Filed from manual QA of the v1.19.26 release candidate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions