safe-config-service
safe-config-service copied to clipboard
Support alternative interfaces
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.",
}
]