> For the complete documentation index, see [llms.txt](https://docs.heartgames.io/heartcoin-whitepaper-v1.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.heartgames.io/heartcoin-whitepaper-v1.0/connect-wallet.md).

# Connect Wallet

<mark style="color:blue;">Connect MetaMask</mark>&#x20;

Initially, we are exclusively supporting MetaMask Wallet. However, we plan to gradually expand our support to include other wallets in the future.

You can connect your MetaMask wallet either in-game or through the "My Page / Accounts / Connect Accounts" menu.

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

1\. After installing the MetaMask app or extension, create a wallet.

2\. When you visit the HeartCoin Protocol website, clicking the \[Connect] button at the bottom will redirect you to the MetaMask app.

3\. In the MetaMask app, after accessing the HeartCoin Protocol website and clicking the menu bar in the top right corner of the screen, click on "Connect MetaMask Wallet."

4\. Afterward, in the popup window, click on the "Connect to Site" and "Add Network" buttons to complete the connection.

5\. Once the connection is complete, click on the top right bar, then click on your wallet address to access the "My Wallet" screen.

6\. On this screen, you can add tokens to your wallet by clicking on the wallet icon next to the token. If you encounter any errors during this process, you can try logging out of MetaMask and then logging back in before attempting again.


---

# 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.heartgames.io/heartcoin-whitepaper-v1.0/connect-wallet.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.
