# Connect

{% hint style="danger" %}
The following information is deprecated and may limit its use. Please refer to the WalletConnect 2.0 tab for the latest version of NEOPIN wallet integration: [WalletConnect 2.0](/developers/walletconnect-2.0.md)
{% endhint %}

## **Pre-Work**

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

Pre-Work is required before connecting with DApp Sample.

1. Enter Klaytn PrivateKey
   1. You must enter your PrivateKey with a total of 66 digits including 0x.
2. Select Klaytn Network
   1. By default, the Testnet environment, Baobab, is selected.
   2. To test on the Mainnet, you can test by entering Mainnet PrivateKey and then selecting the Mainnet.

## Connecting

There are two ways to connect Wallet Sample and DApp Sample.

1. Connection Request (DApp -> Wallet)
   1. [DeepLink](#deeplink)
   2. [QR Code](#qr-code)
2. Connection Request Screen (This is the screen that appears in Wallet Sample)

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

3\. To use the Android Wallet Sample, you must allow the "Display Over Other apps" permission.

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

## DeepLink

After connecting from DApp Sample, open Wallet Sample with DeepLink.\
Check [Functions](broken://pages/BELyo7ARgVhxuPo85jDd) to connect DApp and Wallet.

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

## QR Code

If you press QR Connect in DApp Sample, a QR Code is generated. \
Connect the QR Code generated above through the QR Scan function in Wallet Sample. \
The QR Code Scan function only works on different devices.

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

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


---

# 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.neopin.io/developers/deprecated/deprecated-neopin-connect-1.0/wallets/android/usage/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.
