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 wallet:
First of all, you can enable an advanced feature that automatically detects tokens held by your address, and adds them to your wallet. 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 wallet 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.
- Keep informed about ways that scammers are trying to steal your funds. 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, and zkSync.
- Tiện ích mở rộng
- Di động
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. To do so, click on the three vertical dots in the upper right-hand corner of the wallet view, navigate to 'Settings', and then 'Security & Privacy', and make sure the toggle is on.
Hit the hamburger icon in the top left of the home screen, and then find 'settings'. Từ đây, đến mục "Nâng cao", rồi kéo xuống đến khi bạn thấy nút bật phát hiện token.
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.
Thêm token theo cách thủ công bằng tìm kiếm
- 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 I would like to look for DAI, I just type in "D” in the bar, and the search bar will return all the suggestions.
- Select token of interest, and click Next to proceed. (Ngay khi bạn chọn một token, đường viền của nút sẽ được tô sáng bằng màu xanh dương)
- Click Import to proceed. Sau đó, bạn sẽ được chuyển hướng đến trang tài khoản của mình. Token mà bạn vừa thêm sẽ hiển thị trong danh sách.
- Trên trang ví của bạn, hãy tìm liên kết "Nhập token" ở cuối màn hình.
- 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.
Cách thêm token tùy chỉnh
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. Lệnh nhắc sẽ xuất hiện để xác nhận bạn muốn thêm token vào ví.
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 wallet it automatically detects and displays the majority of tokens.
Bạn chỉ cần đi theo liên kết và kết nối ví của bạn. 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 wallet 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:
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 add a custom token (manually).