> For the complete documentation index, see [llms.txt](https://docs.pancakeswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pancakeswap.finance/chinese/wan-le/prediction/prediction-mini-app.md).

# 预测小程序

### 什么是小程序？

Telegram 小程序让你能够在 Telegram 内快速访问 PancakeSwap 功能。

### 如何连接我的钱包？

{% tabs %}
{% tab title="桌面端" %}
**使用 MetaMask**

你可以使用二维码将你的移动端 MetaMask 钱包连接到桌面端 Telegram 小程序。要连接，选择 "MetaMask"，点击 "Mobile"，然后用手机上的 MetaMask 扫描二维码。

**使用 WalletConnect**

你可以使用二维码将任何移动端钱包连接到桌面端 Telegram 小程序。要连接，选择 "WalletConnect"，点击二维码，然后用手机上的移动端钱包扫描二维码。

{% hint style="warning" %}
MetaMask 的 "Desktop"（桌面端）选项不可用。你只能将移动端 MetaMask 连接到桌面端 Telegram 小程序。
{% endhint %}
{% endtab %}

{% tab title="iPhone" %}
**使用 MetaMask**

你可以将你的 MetaMask 钱包连接到你的 Telegram 小程序。要连接，选择 "MetaMask"。如果出现提示询问你是否要前往 MetaMask 应用，点击 Open（打开）。然后按照 MetaMask 应用中的说明进行连接。

**使用 WalletConnect**

你可以将任何受支持的移动端钱包连接到你的 Telegram 小程序。要连接，选择 "WalletConnect"，点击 "View All"（查看全部），然后选择你的钱包。如果出现提示询问你是否要前往钱包应用，点击 Open（打开）。然后按照钱包应用中的说明进行连接。
{% endtab %}

{% tab title="Android" %}
**使用 MetaMask**

你可以将你的 MetaMask 钱包连接到你的 Telegram 小程序。要连接，选择 "MetaMask"。你将被重定向到 MetaMask，然后只需按照 MetaMask 应用中的说明进行连接。

**使用 WalletConnect**

你可以将任何受支持的移动端钱包连接到你的 Telegram 小程序。要连接，选择 "WalletConnect"，点击 "View All"（查看全部），然后选择你的钱包。你将被重定向到钱包应用，然后按照钱包应用中的说明进行连接。

{% hint style="warning" %}
Wallet Connect 在某些 Android 手机上可能无法使用。在这种情况下，请通过其他方式连接。
{% endhint %}
{% endtab %}
{% endtabs %}

### 支持哪个 PancakeSwap 市场？

目前小程序支持 BNB Chain 上的 BNBUSD 市场。

### 我如何为小程序签署和确认交易？

你需要在你连接的钱包应用中签署并执行交易。

{% hint style="warning" %}
在 iPhone 上，你可能需要在钱包应用和 Telegram 之间手动切换。请按照屏幕上的说明操作。
{% endhint %}

### 我可以在桌面端使用我的扩展程序钱包吗？

很遗憾，Telegram 小程序目前仅支持移动端钱包。

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.pancakeswap.finance/chinese/wan-le/prediction/prediction-mini-app.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
