Panda Academy
  • Solana
  • Sui Network
  • TON Network
  • Ethereum
  • BSC
  • TRON
  • Q&A Community
    • Ask
  • English English
    • 中文 (中国) 中文 (中国)
    • 中文 (繁體) 中文 (繁體)
Sign in Sign up
  1. Panda AcademyHome
  2. Knowledge

How to Add Token Logo in MetaMask?

pandatool • 2 days ago • Knowledge

By following the user manual and developer integration approaches above, you can ensure your token—and its logo—appear correctly in MetaMask.

If a token is already indexed by major platforms (e.g. CoinGecko, CoinMarketCap, Etherscan), you can use their “Add to MetaMask” buttons to import both the token and its official logo. If the token isn’t yet indexed—or you want full control over the appearance—integrate MetaMask’s wallet_watchAsset API in your own website or DApp to prompt users to add the token with your custom logo.

如何在小狐狸钱包里给代币添加logo?

I. Quick Manual Methods for Users

1. Via CoinGecko

  1. Open the token’s page on CoinGecko.

  2. Click the “Add to MetaMask” (fox icon) button.

  3. Confirm in the MetaMask popup to import the token and its logo.

Tip: Supported on both desktop and mobile; on mobile, open CoinGecko in MetaMask’s built‑in browser.

2. Via CoinMarketCap

  1. Visit the token’s detail page on CoinMarketCap.

  2. Click the fox icon next to the token name.

  3. Confirm in the wallet popup to add the token and logo.

如何在小狐狸钱包里给代币添加logo?

3. Via Block Explorers (Etherscan, BscScan, Polygonscan, etc.)

  1. Navigate to the token’s contract page on the relevant explorer.

  2. From the “More” menu, select “Add token to MetaMask.”

  3. Confirm in the MetaMask dialog to import the logo along with the token.

如何在小狐狸钱包里给代币添加logo?

Note: If the explorer itself doesn’t yet display a logo, you must first submit the logo (via PR or support request) to that explorer.

II. Automatic Integration for Developers (EIP‑747)

Token issuers or DApp developers can leverage MetaMask’s wallet_watchAsset RPC to trigger an “Add Asset” popup with your custom logo.

1. API Overview

  • Method: wallet_watchAsset

  • Standard: EIP‑747 (Ethereum Improvement Proposal)

  • Purpose: Prompts MetaMask to add a specified token (with logo) to the user’s asset list.

2. Example Code

const tokenAddress = “0xYourTokenContractAddress”;
const tokenSymbol = “SYM”; // ≤5 characters
const tokenDecimals= 18; // decimals
const tokenImage = “https://yourdomain/logo.png”; // must use HTTPS

try {
const wasAdded = await window.ethereum.request({
method: “wallet_watchAsset”,
params: {
type: “ERC20”, // or other supported types
options: {
address: tokenAddress,
symbol: tokenSymbol,
decimals: tokenDecimals,
image: tokenImage,
},
},
});
if (wasAdded) {
console.log(“Token successfully added to MetaMask!”);
} else {
console.log(“User rejected the request.”);
}
} catch (error) {
console.error(“Failed to add token:”, error);
}

This also works for experimental NFT support and other EVM‑based tokens.

III. Important Notes

  • HTTPS Logo: The image URL must use HTTPS.

  • Network Matching: Ensure the user’s network matches the token’s chain ID.

  • Centralized Indexing: MetaMask’s built‑in search relies on its own database; unlisted tokens still require manual or API methods.

  • Security Reminder: Only add tokens from trusted sources to avoid phishing or fake logos.

By following the user manual and developer integration approaches above, you can ensure your token—and its logo—appear correctly in MetaMask.

© Original content by PandaAcademy
Unauthorized reproduction prohibited. Credit required when sharing.
PandaAcademy, a Web3 educational brand by PandaTool, positions as an open skills academy for the Web3 era.

本文由PandaAcademy原创,如若转载,请注明出处:https://academy.pandatool.org/en_US/kn/974

。PandaAcademy是PandaTool旗下的Web3学习中心,专注于向普通用户提供区块链和加密货币知识输出
LogoMetamask
Like (0)
pandatool's avatarpandatool
0 0
Generate poster
What is LetsBonk?How to launch tokens?
Previous 3 days ago
如何在Tonkeeper钱包显示代币?
Next 1 day ago

相关推荐

  • A Beginner’s Guide to Token Launch Costs Across Top Blockchains Knowledge

    A Beginner’s Guide to Token Launch Costs Across Top Blockchains

    Why is the cost of creating a token on Ethereum 30 times that of Polygon? In-depth comparison of the fuel and tool fees between Layer 1 and Layer 2 chains, and the trade-off between the popularity of public chains and the formality of projects.

    pandatool's avatar pandatool
    2025年5月10日
  • What is a liquidity pool? How does it work? Knowledge

    What is a liquidity pool? How does it work?

    Defi Learning: How Liquidity Pools Work

    pandatool's avatar pandatool
    2025年4月30日
  • 如何在imToken钱包显示代币logo和价格? Knowledge

    How to Submit Your Token Profile to imToken: Requirements & Best Practices

    ERC20 Token Profile Submission Guide: Step-by-Step Tutorial for imToken Listing

    pandatool's avatar pandatool
    2025年4月19日
  • PandaTool聊币圈:代币价格涨跌的逻辑与市值计算的方法 Knowledge

    PandaTool Chats:How to Make Your Token "Moon"?

    token price and market cap are driven by sentiment in the short term

    pandatool's avatar pandatool
    2025年4月30日
  • 新手必读:给代币设置初始价格的教程 Knowledge

    Decoding Initial Token Pricing: A Scientific Guide from Liquidity Mechanics to Market Strategy

    After creating a token, you don’t know how to set the initial price of the token.

    pandatool's avatar pandatool
    2025年4月23日
  • 发币后能上架交易所吗?要多少钱? Knowledge

    CEX vs DEX Guide: Compliance Path from Coin Creation to Listing

    Listing is not the goal but a validation of value.

    pandatool's avatar pandatool
    2025年4月23日
  • Ave代币风险太高?一文读懂如何降低合约检测评分 Knowledge

    4 Core Strategies to Reduce Ave.ai & GoPlus Risk Scores

    Is your token flagged as high-risk on Ave.ai? This definitive guide explains how to lower your token’s risk score using PandaTool templates, renouncing contract ownership, locking LP, appealing, and getting professional audits for an “all-green” rating.

    pandatool's avatar pandatool
    2025年5月9日
  • PandaTool: The best no-code token creation tool Knowledge

    PandaTool: The best no-code token creation tool

    Token creation tools like PandaTool are undoubtedly significant drivers in the wave of blockchain technology popularization.

    pandatool's avatar pandatool
    4 days ago
  • 在大陆创建代币是否违法?详细解读法律问题 Knowledge

    Is Token Creation Legal? A Jurisdiction-Specific Guide for the US, EU, and UK

    Europe and the United States have their own different laws and regulations

    pandatool's avatar pandatool
    2025年4月17日
  • 币圈套利搬砖深度解读:概念、类型与实战策略 Knowledge

    Technical Principles and Operational Guidelines of Blockchain Arbitrage

    Blockchain arbitrage refers to profiting from price discrepancies across markets, platforms, or protocols by buying low and selling high, typically with minimal risk.

    pandatool's avatar pandatool
    2025年4月23日

Leave a Reply

Your email address will not be published. Required fields are marked *

Tags

Ave believe BONK Brun GoPlus Honeypot imToken LetsBonk Logo LP MEME Metamask PancakeSwap PandaTool PTBs Pump Raydium Solana SPL Sui TON Tonkeeper Uniswap 交易所 以太坊 套利 教程 混币器 貔貅币 量子计算机
Panda Academy
  • Ethereum
  • Solana
  • BSC
  • Sui
  • TRON
  • TON

Copyright © 2025 PandaAcamey Powered by PandaTool