# Connect/disconnect dApp via WalletConnect

{% hint style="info" %}
WalletConnect is a protocol that securely connects users' cryptocurrency wallets with dApps, enabling convenient and secure interaction between the two. It eliminates the need for manual entry of wallet information and enhances security in transactions and account access.
{% endhint %}

## Connect dApp with WalletConnect

### Connect to dApp in-app

{% hint style="info" %}
If you want to connect dApp via WalletConnect directly from your device, follow the instructions below.
{% endhint %}

**Step 1**: On the SubWallet homepage, press the "dApps" tab at the bottom of the screen.

<figure><img src="/files/9kxO8eGnftyDFaZZQHVM" alt="" width="272"><figcaption></figcaption></figure>

**Step 2**: Search for the dApp you want to access by typing on the search bar or selecting a dApp in the Recommended section.

*In this example, we are connecting to Hydration DEX.*

<div><figure><img src="/files/lIZotARBXz5VtETUj2FH" alt="" width="272"><figcaption></figcaption></figure> <figure><img src="/files/ceTdnECE7CSf1OwaiRRs" alt="" width="272"><figcaption></figcaption></figure></div>

**Step 3**: After successfully accessing the dApp, find the Connect button to connect your account(s).

{% hint style="info" %}
Depending on each dApp, you will see different buttons, but they are mostly labeled "**Connect**" or "**Connect Wallet**".
{% endhint %}

*In this example, as we connect to Hydration DEX, the "**Connect Wallet**" button will be at the top right of the screen.*

<figure><img src="/files/vFc4UyZP8OfUoeQRYXpa" alt="" width="272"><figcaption></figcaption></figure>

**Step 4:** Choose "**WalletConnect**" as your connect method.

<figure><img src="/files/v5RwsDZ0hAuYOLjyWWbb" alt="" width="272"><figcaption></figcaption></figure>

**Step 5:** The WalletConnect modal popup will appear. Choose "SubWallet" as your desired wallet to connect.

<figure><img src="/files/hiknLHPexIeAFNTybIBL" alt="" width="272"><figcaption></figcaption></figure>

{% hint style="info" %}
If you can't find the SubWallet option, tap "View all" and type SubWallet in the search bar.
{% endhint %}

Once done, another popup will appear. Choose the account(s) you want to connect to and hit "**Approve**".

<div><figure><img src="/files/qCApSVJrIpt5E48ZqoLu" alt="" width="272"><figcaption></figcaption></figure> <figure><img src="/files/tDXY6c21l007NGLibnnK" alt="" width="272"><figcaption></figcaption></figure></div>

{% hint style="info" %}
Some dApps may require verifying your account ownership before you connect to them.&#x20;

In such instances, another popup will appear. Choose the "**Approve**" option to complete the process.

<img src="/files/JqLpWAymWoibFFf2j0I3" alt="" data-size="original">
{% endhint %}

**Step 6**: You have successfully connected your account(s) to a dApp via WalletConnect!&#x20;

<div><figure><img src="/files/ik2EQD6rHQHUfatKVLlq" alt="" width="271"><figcaption></figcaption></figure> <figure><img src="/files/GebrZwlcpcO2MFYWJ54K" alt="" width="272"><figcaption></figcaption></figure></div>

### Connect to dApp by scanning the QR code

{% hint style="info" %}
If you want to connect to dApp on another device, follow the instructions below.
{% endhint %}

**Step 1**: Open the dApp on another device.

* If the device is a desktop/PC, check out this [guide](/main/extension-user-guide/connect-dapps-and-manage-website-access/connect-disconnect-dapp-via-walletconnect.md)
* If the device is mobile, follow the instructions [above](https://app.gitbook.com/o/CyPU0v2iA12ILmupTKub/s/-Lh39Kwxa1xxZM9WX_Bs/~/changes/714/mobile-app-user-guide/connect-dapps-and-manage-website-access/connect-disconnect-dapp-via-walletconnect#connect-to-dapp-in-app). In step 5, press the QR icon at the upper right of the popup.

Once the QR code from WalletConnect is displayed, you can scan it from your device. Choose one of the following methods that suited best for you:

{% tabs %}
{% tab title="Scan from homepage" %}
**Step 2**: From your device, open the SubWallet app. On the homepage, tap the QR icon at the top right corner.

<figure><img src="/files/z6vbrwD0HavIUbVrBAU6" alt="" width="267"><figcaption></figcaption></figure>

**Step 3**: Connect to dApp by pointing your camera towards the QR code to scan.

<figure><img src="/files/vpHkgozxCoM2hkDQotNN" alt="" width="267"><figcaption></figcaption></figure>

**Step 4**: A popup will appear. Choose the account(s) you want to connect to and hit "**Approve**".

<div><figure><img src="/files/m9qhzWK5AxNeq6mXdUwW" alt="" width="267"><figcaption></figcaption></figure> <figure><img src="/files/5NhLzmCZzRg1OkaTnFpq" alt="" width="266"><figcaption></figcaption></figure></div>

**Step 5**: You have successfully connected your account(s) to a dApp via WalletConnect!

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

{% tab title="Scan from WalletConnect screen" %}
Step 2: From your device, open the SubWallet app. On the homepage, tap the <img src="/files/1uRzp7m32wdALzhlss7N" alt="" data-size="line"> icon at the top left corner of the screen to get to the Settings section.

<figure><img src="/files/jbsNdCH3I8uVsJIqPNMU" alt="" width="267"><figcaption></figcaption></figure>

**Step 3:** In the Settings screen, select "**WalletConnect**".

<figure><img src="/files/gIRgmXm39ap0gRE0Je1y" alt="" width="267"><figcaption></figcaption></figure>

**Step 4**: Connect to dApp by pointing your camera towards the QR code to scan.

<figure><img src="/files/vpHkgozxCoM2hkDQotNN" alt="" width="267"><figcaption></figcaption></figure>

{% hint style="info" %}
If you see a list of dApps/sites connected to SubWallet in the WalletConnect screen, hit "**New connection**" to connect to your dApp.

<img src="/files/eVszkdM3pHI9ISLApsui" alt="" data-size="original">
{% endhint %}

**Step 5**: A popup will appear. Choose the account(s) you want to connect to and hit "**Approve**".

<div><figure><img src="/files/m9qhzWK5AxNeq6mXdUwW" alt="" width="267"><figcaption></figcaption></figure> <figure><img src="/files/jeU4TwO2phdyJLOosnaj" alt="" width="266"><figcaption></figcaption></figure></div>

**Step 6**: You have successfully connected your account(s) to a dApp via WalletConnect!&#x20;

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

## Disconnect dApp with WalletConnect

**Step 1**: On the SubWallet homepage, tap the <img src="/files/1uRzp7m32wdALzhlss7N" alt="" data-size="line"> icon at the top left corner of the screen to get to the Settings section.

<figure><img src="/files/i8iKkZj1F8PBkhVAEpcy" alt="" width="272"><figcaption></figcaption></figure>

**Step 2**: In the Settings screen, select "**WalletConnect**".

<figure><img src="/files/O7ehSnvLKRxZikLEamAo" alt="" width="272"><figcaption></figcaption></figure>

**Step 3**: You will see a list of websites connected to SubWallet and the corresponding number of accounts connecting. Select the dApp you want to disconnect, then click "**Disconnect**".

<figure><img src="/files/fHmqJhXqUFVG9hI9Igbv" alt="" width="272"><figcaption></figcaption></figure>

**Step 4**: A popup will appear, asking you to confirm the action. Hit "**Disconnect**" to complete the process.

<figure><img src="/files/q5S92iQVzhRh6ywe25LC" alt="" width="272"><figcaption></figcaption></figure>

You have successfully disconnected your account(s) via WalletConnect!&#x20;


---

# 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.subwallet.app/main/mobile-app-user-guide/connect-dapps-and-manage-website-access/connect-disconnect-dapp-via-walletconnect.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.
