Hi everyone,
Please help me find the correct repo to use for adding a logo/icon to a new EVM-based blockchain in MetaMask. Also updating the native currency logo in that network please!
Hi everyone,
Please help me find the correct repo to use for adding a logo/icon to a new EVM-based blockchain in MetaMask. Also updating the native currency logo in that network please!
Here is an article on our Knowledge Base for adding a token logo https://support.metamask.io/hc/en-us/articles/360059582151-How-to-add-a-token-logo
At the time, adding a network icon is not available.
It doesn’t, it shows a question mark icon next to it, from what I’m seeing from the screenshot you shared
sorry for the confusion - these logos/icons are what I mean:
Those are token logos, which can be added with the article I shared
The article you have shared is for ERC20 token, we have done that in the past.
What I’m saying, is that I want to add native currency logo/icon to be displayed in a different EVM network (Not Ethereum Mainnet), just like Binance smart chain in this screenshot:
Try submitting through this GitHub repo:
Since MetaMask is an open source wallet, we can go to Github and see where the app is loading the network/native token logo from, the getNetworkImageSource method is used for this:
In the same directory there is a file with a list of popular networks for which the chain icon changes:
How can I get my logo
thanks but this is also ERC20 as far as I can see
thanks! this looks like it. However, do you think a new chain can be added to the “popular list”? will the devs be okay with it?
Most likely not, maybe you need to look towards Snaps (Extend the functionality
of MetaMask):
Hello, have you found a way to add a native coin logo to the Custom chain? I looked at your chat history above, but in the end it doesn’t seem to say a conclusion? I want to add a logo for wanchain.
Check out the two links @nakedwinnie shared above.
I have a doubt, I created the mechanism so that the logo and currency are added to the user’s wallet when he clicks on the button, but I noticed a problem, the token is only added with the logo and etc in the browser’s MetaMask, in the application cell phone doesn’t work.
Does anyone have a solution and why doesn’t it work on the mobile extension?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.