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 • 2025年5月15日 16:02 • 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 (1)
pandatool's avatarpandatool
0
Generate poster
What is LetsBonk?How to launch tokens?
Previous 2025年5月14日 20:52
How to display tokens in Tonkeeper wallet?
Next 2025年5月16日 19:55

相关推荐

  • PandaTool一步步教你查代币权限:不懂代码也能防止被增发、拉黑与蜜罐 Knowledge

    Crypto Self-Defense: A No-Code Contract Check Guide

    Stop Being a Victim! The Essential Pre-Checklist for Crypto Investors: A Practical Guide to Smart Contract “Permission Auditing”.

    pandatool's avatar pandatool
    2025年9月25日
  • 什么是0U转账钓鱼?如何防止转错地址?一篇文章教会你 Knowledge

    When ‘Recent Interactions’ Lie: How 0-Value Lookalikes Steal Funds

    The “0-value + similar tail” phishing pattern is a social-engineering attack amplified by visible on-chain traces.

    pandatool's avatar pandatool
    2025年9月25日
  • 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日
  • 新手必读:给代币设置初始价格的教程 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日
  • Panda Academy 深度测评:哪家Web3安全审计公司最可靠? Knowledge

    The Smart Contract Audit Gauntlet: A Panda Academy Deep Dive into Top Web3 Security Firms

    Panda Academy compares and evaluates major smart contract auditing and Web3 security firms, analyzing technical depth, toolchain, emergency response capabilities, pricing, and applicable scenarios, and providing purchasing recommendations based on project type.

    pandatool's avatar pandatool
    2025年9月26日
  • PandaTool Demystifying Liquidity Pools: A Beginner’s Guide Knowledge

    PandaTool Demystifying Liquidity Pools: A Beginner’s Guide

    Liquidity pools power decentralized trading through smart contract-enabled token swaps.

    pandatool's avatar pandatool
    2025年5月20日
  • Trust Wallet钱包申请代币logo详细教程 Knowledge

    Add Token Logo to Trust Wallet: Easy Step-by-Step Instructions

    This article details how to add tokens to the Trust Wallet Token Repository, covering the process, audit requirements, fee payment, and common problems. You need to ensure the legality of the assets, the correct format of the logo, and submit it through GitHub PR.

    pandatool's avatar pandatool
    2025年5月27日
  • OKB链怎么发币?PandaTool提供一键发币支持 Knowledge

    Create Your Token on OKB/X Layer — Complete PandaTool Tutorial

    Through this article, you will learn how to use PandaTool to create tokens in X Layer

    pandatool's avatar pandatool
    2025年8月19日
  • 美股代币化风潮:用PandaTool直接购买特斯拉代币xTSLA Knowledge

    Tokenization of US stocks: Trading Tesla token xTSLA with PandaTool

    Tokenized U.S. stocks like Apple and Tesla are now tradable on-chain. xStock enables non-KYC access via Solana wallets. Use PandaTool’s Solana Swap to buy instantly—no middlemen, fast settlement.

    pandatool's avatar pandatool
    2025年7月4日
  • 用户加池前必看:LP代币数量到底怎么算? Knowledge

    Must-Read for Liquidity Providers: How Are LP Tokens Calculated?

    LP tokens represent your ownership share in an AMM liquidity pool.,The quantity minted for you depends on your contribution proportion

    pandatool's avatar pandatool
    2025年10月24日

Tags

BNB BSC Jetton LetsBonk Logo LP MEME NFT OKX PandaTool Pump PumpFun Raydium RWA Solana Sui Token2022 TON Tron xStock 代理 以太坊 加池教程 流动性 混币器 滑点 税率 稳定池 资金池 靓号
Panda Academy
  • Ethereum
  • Solana
  • BSC
  • Sui
  • TRON
  • TON

Copyright © 2025 PandaAcamey Powered by PandaTool