snaps icon indicating copy to clipboard operation
snaps copied to clipboard

Add support for explorer links in Address component

Open darioAnongba opened this issue 9 months ago • 0 comments

Currently the Address Snap UI component is used in the interfaces to display addresses and account names.

A requirement from Snaps is that they wrap this component around a Link to the explorer page. Yet, the explorer is defined in the extension/mobile app and the Snap is not aware of it. Duplicating this information in the Snap is problematic for maintainability and separation of concerns.

Requirement

  • Add a asExplorerLink boolean to the Address component wrapping the component in a Link to the explorer.
  • Avoid duplication between Snap and extension/mobile

darioAnongba avatar Jun 10 '25 13:06 darioAnongba