> For the complete documentation index, see [llms.txt](https://userguide.dcentwallet.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://userguide.dcentwallet.com/external-service/qrbasedmetamask.md).

# Connect with MetaMask (QR-based)

![D'CENT Wallet - MetaMask integration](/files/ZExCuzcLeg0NVXOcbBdw)

MetaMask supports **EVM-compatible blockchains** (those that run **smart contracts**) and is widely used across various **DApp platforms**. In addition to its built-in accounts, MetaMask also supports a **QR-based protocol** for integrating with **hardware wallets**.

The **D'CENT app** utilizes this **QR-based protocol** to enable seamless integration between **D'CENT accounts (EVM-compatible)** and **MetaMask**.

## Download and Install MetaMask

First, download the MetaMask Chrome extension from ([**https://metamask.io/download/**](https://metamask.io/download/)) and follow its instructions to install.

<div align="left"><figure><img src="/files/3aWJptFYYU1kh45FrwXy" alt="" width="375"><figcaption></figcaption></figure></div>

## How to connect D’CENT Wallet with MetaMask

{% hint style="danger" %}
This function is supported only in **Biometric Wallet** and **App Wallet(Software)** mode. Minimum supported version

* **Biometric Wallet** firmware version: **2.19.7 or higher**
* **D’CENT App** version: **Android (5.16.1 or higher) / iOS (5.16.2 or higher)**&#x20;
  {% endhint %}

{% hint style="danger" %}
The QR-based protocol supported by the MetaMask can only be used when a camera(webcam) is installed on the computer.

If you use an external camera device, please check if the camera supports the **auto focuing and QR code scanning function.**
{% endhint %}

### \[Step 1] Preparing to connect with MetaMask in the D’CENT App

<div align="left"><figure><img src="/files/phmR4uQa6vjgYVGmXJfF" alt=""><figcaption></figcaption></figure></div>

**1)** After running the D’CENT App, enter the **"Discovery"** tab.

{% hint style="info" %}
If you do not have an EVM account, please refer to user guide [‘**How to create a coin account**’](https://userguide.dcentwallet.com/mobile-app/create-account) to create an account and use it.
{% endhint %}

**2)** Select **"MetaMask Integration"** from the list.

**3)** Check the consent box, then click the **"Go to Service"** button.

<div align="left"><figure><img src="/files/UoEOGsqnjGTdDullMkg7" alt=""><figcaption></figcaption></figure></div>

**4)** Click on **"Select Account"** button.

**5)** From the list, select the **EVM-based account (e.g., Ethereum)** you wish to connect.

**6)** After confirming that the QR code is generated, Proceed to **\[Step 2]**.

{% hint style="danger" %}
**DO NOT** disclose QR code to others.
{% endhint %}

### \[Step 2] Connect the D'CENT Wallet by scanning the QR code on your computer

<div align="left"><figure><img src="/files/UDeIhIYH5h9AjsqoRJs5" alt=""><figcaption></figcaption></figure></div>

**1)** On the **MetaMask main screen**, click the **"Account"** button at the top center.

**2)** Select **"Add Account or Hardware Wallet"**, then click **"Add Hardware Wallet"**.

<div align="left"><figure><img src="/files/LtVV0zXOV5uOHMqXSJqZ" alt=""><figcaption></figcaption></figure></div>

**3)** After selecting **"QR-based"**, click the **"Continue"** button at the bottom.

**4)** It switches to the QR code scanning page.

<div align="left"><figure><img src="/files/WE26Fru1OhEruv5XCb7x" alt=""><figcaption></figcaption></figure></div>

**5)** Scan the QR code prepared in **\[Step 1]** using the camera on your computer.

**6)** When the QR code scan is completed normally, it will be converted to the account selection page.

<figure><img src="/files/0JctSiOCRE1JiIkJEhZE" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
If the camera on your computer is having difficulty reading the QR code, **please try again after adjusting the screen brightness to max on your phone.**
{% endhint %}

<div align="left"><figure><img src="/files/oRdImrXfyEuCrLtQIdyn" alt=""><figcaption></figcaption></figure></div>

**7)** On the account selection page, select **First account** and click **"Unlock"**.

*(In the case of a D’CENT account, it doesn’t matter which account you choose because all the accounts shown in the QR scan list are the same.)*

**8)** You can check the page where the account of the D’CENT wallet and the MetaMask are linked.

## Example of how to send ETH using MetaMask

### \[Step 1] Create ETH transaction with MetaMask

<div align="left"><figure><img src="/files/XyIa0ty0HgLPXcZq6q8v" alt=""><figcaption></figcaption></figure></div>

**1)** On the **MetaMask main screen**, click the **"Send"** button.

**2)** Enter the recipient’s **wallet address**, then click **"Continue"** button.

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

**3)** Input the **amount** you wish to send, then click **"Continue"** button and review the transaction details. Click **"Confirm"** to proceed. *(You can adjust the transaction fee limit by selecting the "Edit" option.)*

**4)** The screen will switch to a **QR code format** for the **signature request**.

### \[Step 2] Create a signature for the transaction using the D’CENT App

<div align="left"><figure><img src="/files/8bycZ0sFNY8KTEQs09iE" alt=""><figcaption></figcaption></figure></div>

There are **two ways** to scan the **signature request QR code**:

**1)** From D'CENT App, go to the **"Discovery"** tab and Click on **"MetaMask Integration > Select account to sign (e.g., Ethereum) > QR Scan"** button.

**2)** Alternatively, tap the **"QR Scan"** button in the **top left corner** of the **"Discovery"** tab.

<div align="left"><figure><img src="/files/9S4gi90Dn2o5OUyLu2s9" alt=""><figcaption></figcaption></figure></div>

**3)** When the **QR scanning screen** appears, scan the **signature request QR code** generated in **\[Step 1]**.

**4)** Verify the **recipient address**, then tap **"Sign"**.

<div align="left"><figure><img src="/files/K550ipPHU8PihXFUmu4L" alt=""><figcaption></figcaption></figure></div>

**5)** If you are using a **biometric cold wallet**, carefully review the displayed information once more. If everything is correct, press **"OK"**, then enter your **fingerprint or PIN**.

**6)** If you are using an **app wallet**, enter the **6-digit password** you set when you first launched the app.

<div align="left"><figure><img src="/files/BkasCywnddMnROF9jq53" alt="" width="389"><figcaption></figcaption></figure></div>

**7)** After signing, you can check the signature in QR code format.

### \[Step 3] Sending signed data to MetaMask

<div align="left"><figure><img src="/files/PwZGtHAnz5Gnaaox3uQf" alt=""><figcaption></figcaption></figure></div>

**1)** Click the **"Get Signature"** button on the signature request page completed in **\[Step 1]**.

**2)** Scan the QR code prepared in **\[Step 2]** using the camera on your computer.

<div align="left"><figure><img src="/files/HsUDira9D3YUwi3s4ArH" alt="" width="375"><figcaption></figcaption></figure></div>

**3)** Once the **QR code scan** is completed, go to the **Activity** tab in **MetaMask** to view the transaction details.
