> For the complete documentation index, see [llms.txt](https://docs.metaproprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.metaproprotocol.com/metapro-protocol/unity-plugin/guides/quick-start/3.-play-mode-mobile/login-with-web3.md).

# Login with Web3

To provide all functionalities users need also log in using web3 signature transaction. Login will happen automatically after scanning QR code. While the application is waiting for the user to login SDK will display a popup that allows the player to disconnect the wallet. That window will always appear whenever the user wallet is connected but not logged in.

<figure><img src="https://lh6.googleusercontent.com/nYK3zxZOPMtiVPMZKbkyciQuLLhg5ScgJmHTbkgvE9Lpwo1qulUJ7izOWctxflBSK8LDlHtwVXqeWzutuPe0c7NO2yhHpxB_UPM04Lg7CzkjsbMuG9CAQhtoWfxFUrGz7jzEhybGYfYciKt28npZwwE" alt=""><figcaption></figcaption></figure>

Now the player has to open it’s wallet manually in order to sign a transaction message. On the user wallet, transaction information will be displayed and requested to sign the login transaction. After clicking on the **Sign** button the player will be signed into Your game.

<div align="center"><figure><img src="https://lh5.googleusercontent.com/9c1WuaLEUqGL2fS8vBJlJAoYH53QCc5Pk6lzIObGmvXSXwMMaGyp5-STQZotP5aM3Sl_5bJ6obDv-CoGH6yv-6ZRZdyWkkhT63fcNaOOTR0eIuq__BCvO5xFU-XvlKbHob4GoCman7cE6UcLZQRDKcc" alt="" width="375"><figcaption></figcaption></figure></div>


---

# 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.metaproprotocol.com/metapro-protocol/unity-plugin/guides/quick-start/3.-play-mode-mobile/login-with-web3.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.
