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

# How to connect

Before you start, it's important to understand what a crypto wallet is and why you need one.

A crypto wallet is an app that stores your blockchain assets and lets you send or receive tokens.\
To use the wallet inside the Hattori Telegram Mini App, you must already have a TON wallet installed on your phone. For example, TonKeeper, Telegram @Wallet, Trust Wallet or another supported wallet.

Once your TON wallet is ready, you can connect it to the Mini App by following the steps below.

{% stepper %}
{% step %}

### **Open the Wallet page**

On the Wallet page, you'll see a large button called **Connect TON Wallet**. Tap this button.
{% endstep %}

{% step %}

### **Choose your wallet app**

A small window will appear on your screen. Choose the wallet app that’s already installed on your phone.
{% endstep %}

{% step %}

### **Confirm the connection**

If the wallet is installed, your phone will open the app automatically, there you'll see a request to connect. Confirm it, then return to the Hattori Mini App.
{% endstep %}

{% step %}

### **Check that the connection worked**

If everything is correct, you'll see the beginning of your TON address in the top right corner. You’ll also see two new tabs: **Swap** and **Claim**. This means your wallet is connected.
{% endstep %}

{% step %}

### **How to disconnect**

If you want to disconnect your wallet, tap your wallet address in the top right corner and confirm the disconnect.
{% endstep %}
{% endstepper %}

{% tabs %}
{% tab title="Start" %}

<figure><img src="/files/jnZKPctGQt8J3DJJ1FAm" alt="" width="279"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Choose wallet" %}

<figure><img src="/files/WSZ1fi1t6QXQylKH9YCx" alt="" width="375"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Confirm" %}

<figure><img src="/files/RzKso4oAEQ7WHiQbawjg" alt="" width="364"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Check" %}

<figure><img src="/files/z92SzaTZH7BQHZcIwWBi" alt="" width="353"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Disconnect" %}

<figure><img src="/files/bQX78HeNaeDCpCPue1BM" alt="" width="355"><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

After successfull connection you can swap or claim your $HATTORI:

{% content-ref url="/pages/ybAfi5myrLENFGuGVcwf" %}
[How to claim](/wallet/how-to-claim.md)
{% endcontent-ref %}

{% content-ref url="/pages/EPdao9nEbDLJWrlIp5XD" %}
[How to swap](/wallet/how-to-swap.md)
{% endcontent-ref %}


---

# 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:

```
GET https://docs.playhattori.io/wallet/how-to-connect.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.
