Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support alternative interfaces #621

Open
Uxio0 opened this issue Aug 4, 2022 · 0 comments
Open

Support alternative interfaces #621

Uxio0 opened this issue Aug 4, 2022 · 0 comments
Assignees

Comments

@Uxio0
Copy link
Member

Uxio0 commented Aug 4, 2022

Context
Currently web UI can show logos or information for some transactions that were trigered using a Safe app. We should extend config service to be able to store metadata also for transactions that were triggered in other places than the web UI (like Android/iOs apps, Safe CLI, MMI extension...) and are not Safe apps, so CGW can read it and choose depending on the transaction origin.

This way we would be able to show nice icons for Android, iOs, etc. generated transactions on the web UI.

Describe the solution you'd like
A new endpoint called /safe-interfaces (or something like that). At least a filter query parameter should exist for shortName, so we can use it on tx origin. Example of information returned:

[
{
    "id": 4,
    "url": "https://github.com/5afe/safe-cli",
    "name": "CLI - Command Line Interface for Safe",
    "shortname": "CLI",
    "iconUrl": "https://app.ens.domains/android-chrome-144x144.png",
    "description": "Command line utility for Gnosis Safe contracts. Use it to manage your Gnosis Safe easily from the command line.",
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants