# Connect wallet

To play the MemeDice game, you need to connect an EVM-compatible wallet first.

***

## Supported wallets

* **MetaMask**(recommended)
* OneKey
* Trust Wallet
* Other EVM wallets that support EIP-1193

***

## Connection steps

### 1. Open the game page

Visit the game link, for example `mydice.dapp.meme`.

### 2. Click Connect

Click the **"Connect Wallet"** button in the upper-right corner of the page (orange gradient button).

<figure><img src="/files/3c891b6e892f5f5a8a78673c34c03e0b4d3bf192" alt=""><figcaption></figcaption></figure>

### 3. Confirm connection

In the pop-up wallet window, confirm the connection request.

### 4. Connected successfully

After a successful connection, the button will change to show your wallet address (e.g. `0x1234...5678`), and the current network name will also be shown (e.g. `BSC`).

<figure><img src="/files/d60c2addc5861059333732d5cd5ac8bb59cdc3e8" alt=""><figcaption></figcaption></figure>

***

## Switch network

Each game is deployed on a specific blockchain network. If your wallet's current network does not match the game's network, the following prompt will appear:

### Wrong network popup

The system will pop up a modal prompting you that the current network is incorrect and providing a one-click switch button.

<figure><img src="/files/f091a2ed4da4f4286fca0cbeb936a7f4c4032512" alt=""><figcaption></figcaption></figure>

### Navigation bar prompt

The navigation bar will also show a yellow **"Switch Network"** button, which you can click to switch to the correct network.

{% hint style="warning" %}
On the wrong network, you cannot place bets, invest, or perform other actions. Please make sure to switch to the network where the game is deployed.
{% endhint %}

***

## Disconnect

Click the wallet address button shown in the navigation bar to disconnect.

***

## FAQ

### MetaMask didn't pop up?

* Make sure the MetaMask extension is installed and unlocked
* Try refreshing the page and then reconnecting
* Check whether the browser is blocking pop-ups

### Failed to switch networks?

* Make sure the target network has been added to your wallet
* For the BSC network, MetaMask may require you to add the network configuration manually


---

# 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://docs.dapp.meme/dapp.meme-en/play-games/connect-wallet.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.
