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

Add "MINT_ICON_URL" Field for Mint Profile Images #539

Closed

Conversation

swedishfrenchpress
Copy link

@swedishfrenchpress swedishfrenchpress commented May 31, 2024

I have added the 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 propose MINT_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.
mint-profile-example

changed name from mint profile icon to mint icon url.
@swedishfrenchpress swedishfrenchpress changed the title Add "MINT_PROFILE_URL" Field for Mint Operator Profile Images Add "MINT_ICON_URL" Field for Mint Operator Profile Images May 31, 2024
@swedishfrenchpress swedishfrenchpress changed the title Add "MINT_ICON_URL" Field for Mint Operator Profile Images Add "MINT_ICON_URL" Field for Mint Profile Images May 31, 2024
@fernandofreamunde
Copy link

I can also see a need for a MINT_BRANDING for an optional array of colors, or just one for a possible background color...

can also see that being important for font color, if the mint maker is really into it... but both would end up being optional since the wallet developer will also have a say on how to style their app... but I see it as a good thing...

@callebtc
Copy link
Collaborator

callebtc commented Jun 2, 2024

This is a great idea, but adding this setting here in nutshell won't do anything. We would have to propose a change to NUT-06 so that the mint can communicate this setting at all, so I'd say it's best to start in the specs repository: https://github.com/cashubtc/nuts/blob/main/06.md

@callebtc callebtc closed this Jun 2, 2024
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

Successfully merging this pull request may close these issues.

3 participants