# In-app Wallet

The application integrates a wallet that plays a crucial role in user authentication, transaction signing (non-repudiation), and secure token storage.&#x20;

<figure><img src="/files/ZNepti0DkVVwDW7nBS0y" alt="" width="188"><figcaption></figcaption></figure>

Additionally, the wallet serves as an interface between the external world and the application for token management. This means that tokens can be securely stored and managed directly within the app. Currently, tokens can be located in three different places:

1. **World**: This refers to external wallets, centralized exchanges, and other off-chain locations where users store their tokens.
2. **In-app Wallet**: This acts as a bridge between the external world and Ta-da. It is used for user authentication, with actions being signed using this wallet.
3. **On-chain Account**: This holds the tokens that are actively used within the application, such as for deposits, in-app purchases, and prize pool distribution.

The diagram below outlines the different interactions:

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

* **Receive**: Tokens are transferred from the external world to the in-app wallet.
* **Send**: Tokens are sent from the in-app wallet back to the external world.
* **Deposit**: Tokens are moved from the in-app wallet to the on-chain account for use within Ta-da.
* **Withdraw**: Tokens are transferred from the on-chain account back to the in-app wallet, making them available for external use again.


---

# 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.ta-da.io/white-paper/blockchain-integration/in-app-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.
