-
Notifications
You must be signed in to change notification settings - Fork 52
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
NUT-06: Add "MINT_ICON_URL" Field for Mint Profile Images #130
NUT-06: Add "MINT_ICON_URL" Field for Mint Profile Images #130
Conversation
Maybe another feasible way to serve icons would be as base64 encoded webp ("MINT_ICON_B64"). This is the way Robosats currently implements icons in the frontend:
There is also a script to generate the webp icons here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 51ca292
implemented in CDK cashubtc/cdk#282 |
To avoid making this a breaking change we should note that this is an optional field that may not be included. |
Their naming conventions prefix all fields with |
Co-authored-by: Pavol Rusnak <[email protected]>
Co-authored-by: Pavol Rusnak <[email protected]>
Suggestion to add a
mint_icon_url
field to allow mint operators to include a profile image. This feature enables applications to index and display the image, making it easier for users to identify the mint.The Fedimint protocol provides a similar feature with the
federation_icon_url.
Following their naming convention, I proposemint_icon_url
as the metadata field.Below is a visual example of how an app might index and display the mint metadata fields. The profile icon can be a useful addition to the existing options.