-
Notifications
You must be signed in to change notification settings - Fork 2
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
FR: add asset category tags, allow someone from product to manually add icons and add/remove such tags #26
Comments
Ideally the featured list would not be universal but capable of being optimized by each application. It also would be useful if we could tag one or more categories on an asset as well (such as security token, stablecoin, etc...) that applications could utilize. This would allow the most flexible behavior for future use. Ideally the API would allow admin users to do the following:
The API would allow any client to do the following:
The tags can also be key-value pairs, where an asset can be the data. We could also add other information such as a website or other information. |
Few Questions from @shesek
|
I'm not sure I understand the question.
This should be an admin feature of the registry. Users should not be able to set their own tags.
If we can reuse existing authentication services like devops already has in place for internal use we should use it.
No need for issuers to be involved.
Not yet. There are plans to modify the block explorer already, we can incorporate it in new plans, no sense in doing it before then.
That would be good to do, part of the motivation.
What I mean is there may be some tag, such as "icon" and some value which is the actual binary icon. Or another tag which is "asset category" and we tag it as "stablecoin" or "security token". No tags are required for any asset, but can be utilized by clients such as the explorer or wallets. An example of how to use this is like what you described above - I may want to have the explorer filter out NFTs by default since there are lots of them. Or I may want to view only stablecoins. The main use case in mind is to support having something like a wallet show certain assets with higher priority than others, since they are the most widely used. |
The question was basically whether we're going to build a GUI for tag management that someone from product could use, or have someone do this via the command line for now. For the icons we currently have, every update has to go through me, which is obviously not scalable.
Just to clarify, what I meant by "user" in this context is the administrator working on behalf of Blockstream, not the end-user. Are we expecting the administrator to hold the signing keys locally, or delegate this responsibility to a server?
Who can give me more detail on how that works? I'm not familiar with these systems.
Which plans?
I'm not sure having an arbitrary key-value map is worth the extra complexity. I would personally go with a simple list of tags (a set of arbitrary strings), and have a specialized (and typed/validated) implementation for fields that require a value like the icon. |
No need for GUI. Willing to have a dirty way to do this. Ideally not just needing you specifically, but an API with an access key or something to allow certain people to do it.
User in this case is issuer. Should not be able to add to these keys.
I think keep it simple for now, don't worry about this.
As long as its possible to add more later without too much effort, that's fine. |
I think this request fits into this issue: It would be great to have a way for users to flag an asset they have issued as having a default logo they have already provided. Possibly an approach is to add a 'default_logo' field to the registry. So if I own domain mydomianhere.com and I issue 3 assets: Asset 1 first and then register the logo generic.png against the asset id for Blockstream to add to the infra registry for icons. For assets 2 and 3 could we look to see if, for the same domain, we have a file named generic.png and auto-add that to assets 2 and 3 if so. Implementation aside - we require a way for an issuer to issue assets and have them inherit the icon from one that already exists for the issuer. |
Some assets registered on the asset registry are more relevant than others for end users. In the wallets UI and in the explorer assets section we already have several test issuances clogging the view with unrelevant asssets.
We need a way to flag a subset of the currently registered assets, as "featured_assets", so that they can be displayed in foreground on GUI clients.
Going forward, to scale a bit the operations of flagging such assets in the registry as more issuers will want their assets to be featured, we'd need someone from product to be able to:
The text was updated successfully, but these errors were encountered: