Cách hiển thị token trong MetaMask
Normally, MetaMask displays popular ERC-20 standard tokens (or standard tokens) you own on your account page. However, with the proliferation of tokens on Ethereum and other networks, MetaMask doesn't maintain an authoritative list of tokens — but you can add any ERC-20-compliant token you hold.
There are two different ways to add unlisted tokens to your MetaMask:
First of all, you can enable an advanced feature that automatically detects tokens held by your address, and adds them to your accounts. This will use lists of tokens aggregated from various community token lists; MetaMask doesn't keep a proprietary list of 'accepted' or 'valid' tokens. Nếu bạn chọn tùy chọn này, hãy nhớ rằng bạn cần phải luôn thận trọng với các token lạ:
- Don't interact with or connect your MetaMask to any website that you're not familiar with, you haven't researched and have no reason to believe to be trustworthy.
- Hãy luôn nghi ngờ một token lạ hoặc token được phát miễn phí và tìm hiểu kỹ lưỡng trước khi tương tác với token đó. See more on best practices for token safety here.
- If you attempt to transact using the token and your transaction fails, and the block explorer displays an error written by the scammer directing you to a website, this is likely a phishing site, so DO NOT click this link.
- Luôn cập nhật thông tin về những cách thức mà kẻ lừa đảo dùng để cố lấy cắp tiền của bạn. Realise there aren't always adequate safeguards in place for the information you're seeing around the web to be worth trusting.
Phát hiện token nâng cao
Enhanced token detection is available on Ethereum Mainnet, Linea, Avalanche, BNB Smart Chain, Polygon, Arbitrum, Optimism, Base, zkSync, and Solana.
If you're a new MetaMask user, token detection is enabled by default. If you're an existing user, you might have to turn it on:
- Tiện ích mở rộng
- Di động
Click on the menu in the upper right-hand corner of the wallet view, navigate to 'Settings', and then 'Security & Privacy'.
Make sure the 'Autodetect tokens' toggle is on.
Tap the gear icon in the bottom nav bar, tap 'Advanced', and scroll until you find the token detection toggle.
Một khi bạn đã bật phát hiện token, hãy trở lại danh sách tài sản của bạn, và F5 nó nếu cần, và nếu đúng thì bất cứ token nào bạn chưa thấy giờ sẽ được hiển thị.
Note that token detection takes place on Ethereum mainnet regardless of whether this setting is on or off; enhanced token detection just expands this function to cover the additional networks listed above.
Adding a token with search
This only works on EVM-networks, not Solana.
- Tiện ích mở rộng
- Di động
To see your tokens, click on the Tokens tab. Your tokens should be listed under this tab. If they're not, and automatic token detection isn't picking them up, then click on 'Import token' at the bottom.
Nhấp vào đây sẽ dẫn bạn đến thanh tìm kiếm:
- Hãy nhập các từ có trong token mà bạn muốn tìm kiếm. For example, if you would like to look for DAI, type in "D” in the bar, and the search bar will return all the suggestions.
- Select token of interest, and click Next to proceed.
- Click Import to proceed. You will then be redirected to your account page. Token mà bạn vừa thêm sẽ hiển thị trong danh sách.
- On your account page, find the '+' button at the top of the screen or the 'Import tokens' link at the bottom of the screen.
- Thanh tìm kiếm sẽ hiện ra. Nhập tên của token mà bạn muốn thêm.
- Khi tìm thấy token, hãy nhấn vào nó để chọn, sau đó kéo xuống và bạn sẽ thấy nút "Nhập".
The token will now be listed under your account's tokens.
If the token you search for is not among the most popular tokens, the search bar may not return the token you queried. In this case, you could manually add it with its token address. See steps below.
Adding a token with address
This only works on EVM-networks, not Solana.
From the main page of Extension or Mobile, under the 'Tokens' tab, click the three dots and then 'Import tokens':
From there, you can search for your token by name, or add a custom token with the token address.
To search for a token, enter the token name in the search box. If the token doesn't appear, make sure you have enabled the correct network. Click on 'All networks', and ensure you have added the network you're looking for. Once you find your token, click 'Import', and the token should appear in your MetaMask.
To add a custom token, select the 'Custom token' tab:
From there, click 'Select network', and then choose the network the token is on. Then, copy the token's address into 'Enter token contract address'. If you do not know the token's contract address, read more below. Once you have the token's address, click 'Import'.
How to find the token address
Take a look at this article to see a couple of different ways to find your token address.
Bạn cũng có thể hỏi địa chỉ hợp đồng của token từ người gửi các token cho bạn.
If someone told you they have sent you tokens, but they are unable to provide you:
- the token address, or
- the transaction hash (a unique transaction ID),
it's possible that they haven't in fact done so.
Cách thêm token bằng trình khám phá khối
In addition to Etherscan, this will work with most major block explorers, including BscScan, Polygonscan, Snowtrace, etc., as they generally share a similar design.
- Đi đến trình khám phá khối.
- Tìm kiếm token của bạn. Bạn cũng có thể đến đó bằng liên kết "Token" ở thanh menu.
- Nhấp vào nút "Thêm" ở góc trên bên phải của tổng quan hồ sơ token đó.
- Nhấp vào "Thêm token vào MetaMask (Web3)"
- MetaMask sẽ hiện lên để bạn xác nhận rằng bạn muốn thêm token.
Cách thêm token bằng cách sử dụng trang liệt kê đồng
Sites such as Coingecko or CoinMarketCap offer MetaMask integration that allows you to add a token to MetaMask directly from its entry on their site.
Để truy cập tính năng này, bạn chỉ cần truy cập một trong những trang trên và tìm loại token bạn muốn thêm bằng cách dùng thanh tìm kiếm. Sau đó tìm địa chỉ hợp đồng và nhấp vào hình chú cáo MetaMask. A prompt will appear to confirm that you want to add the token to your account.
On MetaMask Mobile, make sure you access the site using the in-app browser, rather than your device's standard browser. Đây là cách duy nhất để truy cập các liên kết web tích hợp với MetaMask như bạn có thể làm trên trình duyệt máy tính bằng cách sử dụng Tiện ích mở rộng.
Phương pháp này cũng cho phép bạn thêm token ở những mạng khác, tùy thuộc vào việc liệu có hợp đồng thông minh tương ứng được triển khai ở mạng đó bởi những chủ sở hữu token không. Click the three dots next to the contract address to select a different network, and then click the fox to add the token on that network.
Using MetaMask Portfolio
MetaMask Portfolio is a MetaMask-associated platform that aggregates and displays your token balances. Usefully, once you connect your MetaMask it automatically detects and displays the majority of tokens.
All you need to do is follow the link and connect your MetaMask. See our articles on how to use the dapp if you need more guidance.
Cách ẩn các token
Sau khi thêm, bạn có thể gỡ bỏ token ra khỏi danh sách tài sản của bạn.
- Tiện ích mở rộng
- Di động
On your account page, find the 'Tokens' tab and click on the token you want to remove.
Từ đây, nhấp vào biểu tượng ba chấm ở góc trên cùng bên phải và chọn "Ẩn".
Với cả iOS và Android, hãy nhấn và giữ vào token bạn chọn. Tùy chọn gỡ bỏ token sẽ hiện ra: