# MetaMask 钱包

推荐使用小狐狸钱包 ([MetaMask](https://metamask.io/))。如果您从未使用过该钱包，可参考网上教程根据需要使用[浏览器插件](https://medium.com/@alias_73214/guide-how-to-setup-metamask-d2ee6e212a3e)或[移动端 app](https://medium.com/@rvk_rishikesh/setting-up-metamask-mobile-application-on-android-device-da279f2c30f1)。

## 添加网络

下面将以 [CORE ](https://bitgert.com/)区块链为例说明添加过程，可[自动添加](#method-1-auto-add-bitgert-network-to-metamask)或[手动输入](#method-2-manually-add-bitgert-network-to-metamask)，基本步骤同样适用于其他的区块链。

### 直接添加

请参考如下步骤从[冰淇淋官网 (https://icecreamswap.com)](https://icecreamswap.com) 直接添加 CORE 网络，非常方便。 如果当前您的小狐狸钱包已有别的 CORE 网络，该选项不会出现。此时平台会询问是否切换到现有的 CORE 网络。

<div><figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2F9rOfBpvoyM1gON6chc2u%2Fapp-mm-bsc-not-connected.jpg?alt=media&#x26;token=9d07801f-6def-4dd3-88cb-1f22e98006ff" alt=""><figcaption><p>在小狐狸钱包中打开冰淇淋官网</p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2Fydrv8X9GcVtDaQZtVQGC%2Fapp-mm-select-core.jpg?alt=media&#x26;token=0da3ab60-05c4-4708-b7a4-89361899c7d6" alt=""><figcaption><p>从网络列表中选择 <strong>CORE</strong></p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FFtCE2hLVnRLLY0z5fx6A%2Fapp-mm-select-wallet.jpg?alt=media&#x26;token=a490335a-f2c0-4195-bc93-51abe864c26d" alt=""><figcaption><p>选择<strong>小狐狸</strong>进行连接</p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FKJ1YJL82PNAUpcLw0l4Y%2Fapp-mm-add-core.jpg?alt=media&#x26;token=fc0dda98-db04-41b5-ae93-0c33a509555a" alt=""><figcaption><p>点击“<strong>批准</strong>”以授权添加 CORE 网络</p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FGysyqUjGZZPdbL8dIcwy%2Fapp-mm-switch-core.jpg?alt=media&#x26;token=416a25a6-1e20-43ff-a06a-a82afa6b3f5a" alt=""><figcaption><p>点击“<strong>切换网络</strong>”来切换到 CORE 网络</p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FjiSgrYHbfnnOpe6pljVJ%2Fapp-mm-core-connected.jpg?alt=media&#x26;token=b82ea55d-8a60-44de-adf9-cbdbd19c7f72" alt=""><figcaption><p>CORE 网络添加成功，且小狐狸钱包已连接到冰淇淋</p></figcaption></figure></div>

### 手动添加

如果您需要手动添加 CORE 网络，建议使用[冰淇淋 RPC](https://wiki.icecreamswap.com/zh/get-started/rpc) 节点。请参考下面的步骤完成添加，成功后钱包会自动切换到 CORE 网络。

<div><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2F9eEP6LhcRK672d6TXZ1J%2Fapp-mm-bsc.jpg?alt=media&#x26;token=cd02558c-5416-4c9b-b169-fd64af86b62b" alt="步骤1：在钱包中打开网络选择器"> <img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FGnbbsSdXoyis9RDASnLN%2Fapp-mm-add-network.jpg?alt=media&#x26;token=512ef668-663f-4356-b5cf-50364200c0a4" alt="步骤2：点击添加网络"> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FrHHJgTsEfMvfdo4s3rhL%2Fapp-mm-custom-network.jpg?alt=media&#x26;token=1c2200ba-d40a-4146-bb4f-441231e11b04" alt=""><figcaption><p>步骤3：切换至<strong>自定义网络</strong>，输入冰淇淋 RPC 信息，点击<strong>添加</strong></p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FGZUCpMRCoD3bc8KDQtMJ%2Fapp-mm-core-added.jpg?alt=media&#x26;token=a03cc8c9-6438-4c02-a347-feb40d2e1828" alt=""><figcaption><p>步骤4：成功添加并切换至 CORE 网络</p></figcaption></figure></div>

## 连接冰淇淋 <a href="#connect" id="connect"></a>

我们强烈建议使用小狐狸钱包内置的浏览器来连接冰淇淋，兼容性最好。以下示例使用的是 CORE 网络。

### 切换网络

如果您当前连接不是 CORE 网络，参考下面步骤进行切换。注意在步骤2中 "**CORE (冰淇淋)**" 实际就是我们上面[手动添加](#shou-dong-tian-jia)的 CORE 网络。

<div><figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2F9eEP6LhcRK672d6TXZ1J%2Fapp-mm-bsc.jpg?alt=media&#x26;token=cd02558c-5416-4c9b-b169-fd64af86b62b" alt=""><figcaption><p>步骤1：打开<strong>网络选择器</strong> (当前连接为币安智能链 BSC)</p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FQhgCBjDcKNbbLacDX8Qt%2Fapp-mm-network-selector.jpg?alt=media&#x26;token=10728ed3-6eb1-4f08-a15e-a2b12b62ddb3" alt=""><figcaption><p>步骤2：从中选择 <strong>CORE (冰淇淋)</strong></p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FGZUCpMRCoD3bc8KDQtMJ%2Fapp-mm-core-added.jpg?alt=media&#x26;token=a03cc8c9-6438-4c02-a347-feb40d2e1828" alt=""><figcaption><p>步骤3：已切换到 CORE 网络</p></figcaption></figure></div>

### 使用冰淇淋

打开小狐狸钱包内置浏览器，输入这个网址：`https://icecreamswap.com`\
现在您可以使用冰淇淋平台的所有功能包括[兑换](https://wiki.icecreamswap.com/zh/dex/swap)，[流动性](https://wiki.icecreamswap.com/zh/dex/liquidity)，[农场](https://wiki.icecreamswap.com/zh/dex/farm)，[跨链桥](https://wiki.icecreamswap.com/zh/dex/bridge)等。

<div><figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2F4kTP3k3z0nLFC2it8J1L%2Fapp-mm-core-browser.jpg?alt=media&#x26;token=2f153d96-bfeb-4634-b26a-7658c53e9a81" alt=""><figcaption><p>步骤1：确认当前网络为 CORE，点击左上方<strong>抽屉</strong>按钮</p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2Fs8Rzpwgie6p7OUebKuQ8%2Fapp-mm-select-browser.jpg?alt=media&#x26;token=df93a6fb-d03c-4fa7-be15-7c49b02056ad" alt=""><figcaption><p>步骤2：选择<strong>浏览器</strong></p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2F55tNxu0JBJHEPnW29gTn%2Fapp-mm-browser-url.jpg?alt=media&#x26;token=35ace567-1282-4ee0-b84a-7575170c17ce" alt=""><figcaption><p>步骤3：打开浏览器的<strong>地址栏</strong></p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FZ1WRX6QmGAC0yEC4eX2P%2Fapp-mm-browser-url-ice.jpg?alt=media&#x26;token=f4356e51-6ecc-4d34-9ab0-d941d94d8696" alt=""><figcaption><p>步骤4：在<strong>地址栏</strong>输入冰淇淋网址</p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FE2EAIpo6gptqgUF8UAWs%2Fapp-mm-core-connected-ice-rpc.jpg?alt=media&#x26;token=f18e3c9d-f3d3-48e5-879b-f58a985e4462" alt=""><figcaption><p>步骤5：已连接冰淇淋</p></figcaption></figure></div>

### 收藏冰淇淋 <a href="#import-token" id="import-token"></a>

为了方便今后使用，建议将冰淇淋加入收藏夹。请参考如下步骤。

<div><figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2F44lXTFUjkIM0L0KGzAlp%2Fapp-mm-add-favorites.jpg?alt=media&#x26;token=87a699bd-7fed-4c9d-b1a4-165c3b17043c" alt=""><figcaption><p>步骤1：点击<strong>省略号</strong>，选择<strong>添加到收藏夹</strong></p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FRMEUe886ehDV7ULPXblp%2Fapp-mm-save-favorites.jpg?alt=media&#x26;token=ea05d55e-4889-4f44-9d6b-1ab965d12cef" alt=""><figcaption><p>步骤2：点击<strong>添加</strong>进行收藏，<strong>名称</strong>可任选</p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FHtt8hschFNYVlU1SgH8j%2Fapp-mm-favorites-added.jpg?alt=media&#x26;token=4975e052-a5a5-4b93-8306-b822fbaed336" alt=""><figcaption><p>步骤3：收藏成功</p></figcaption></figure></div>

## 导入代币 <a href="#import-token" id="import-token"></a>

如果您新创建了一个钱包账户，或者使用了[跨链桥](https://wiki.icecreamswap.com/zh/dex/bridge)，又或者您的代币刚发行不久，这些时候您往往需要在钱包中导入代币。

下面演示如何在 CORE 链上导入 [ICE 代币](https://wiki.icecreamswap.com/zh/intro/ice)，请确认当前已[切换至 CORE 网络](#qie-huan-wang-luo)。您可以选择[自动导入](#zi-dong-dao-ru-dai-bi)或[手动导入](#shou-dong-dao-ru-dai-bi)，过程比较简单，也适用于其他区块链的其他代币。

### 自动导入代币

如果您的代币在冰淇淋官方支持列表中，那么可以按照下面的步骤自动导入。请参考上面的步骤先[连接冰淇淋](#connect)。

<div><figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FW6ikCUqr8zMmGb3a6oN0%2Fapp-mm-wallet-core.jpg?alt=media&#x26;token=8a9af6e1-7072-4a64-81c9-506a6bb9395f" alt=""><figcaption><p>步骤1：钱包中没有 ICE 代币</p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2F3NMoRvP5sihOMWYexT2R%2Fapp-mm-add-ice-from-swap.jpg?alt=media&#x26;token=abb37aa1-03e1-40ed-a958-aa683c2d6726" alt=""><figcaption><p>步骤2：选择<strong>交易</strong>，进入<strong>兑换</strong>界面，点击<strong>小狐狸图标</strong></p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FwiL7kEWiI2MaQdYMzvuS%2Fapp-mm-add-ice-auto.jpg?alt=media&#x26;token=ccb3f357-841e-4e21-b15f-dde02382def4" alt=""><figcaption><p>步骤3：点击<strong>添加代币</strong></p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2F4GPqUg5WQ2OmA6p2R9rk%2Fapp-mm-core-ice-added.jpg?alt=media&#x26;token=51cbf357-3ce1-4b09-aa28-095f6ef6bb1f" alt=""><figcaption><p>步骤4：成功导入 ICE 代币</p></figcaption></figure></div>

### 手动导入代币

打开小狐狸钱包，点击最下方的**添加代币**链接。步骤2需要用到 ICE 代币在 CORE 区块链上的合约地址：`0xc0E49f8C615d3d4c245970F6Dc528E4A47d69a44`

<div><figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2FX3yUi4RDCt9KxPxtvKmi%2Fapp-mm-wallet-core-add-token.jpg?alt=media&#x26;token=8a36b2b1-3e1b-442d-b788-989b75cec728" alt=""><figcaption><p>步骤1：切换到 CORE 网络，并点击最下方的<strong>添加代币</strong>链接</p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2F7JnzleT8t94AJM1qWI9r%2Fapp-mm-add-ice-manual.jpg?alt=media&#x26;token=8bbdfda5-db23-4046-82fa-58f6846faf0c" alt=""><figcaption><p>步骤2：输入 ICE 在 CORE 链的合约地址，然后点击<strong>添加代币</strong>按钮</p></figcaption></figure> <figure><img src="https://1191173763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVb8cKf1OG6jP5IlOmP6N%2Fuploads%2F4GPqUg5WQ2OmA6p2R9rk%2Fapp-mm-core-ice-added.jpg?alt=media&#x26;token=51cbf357-3ce1-4b09-aa28-095f6ef6bb1f" alt=""><figcaption><p>步骤3：成功导入 ICE 代币</p></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.icecreamswap.com/zh/get-started/setup-wallet/metamask.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
